commit | 64f21d2f1ddb14a398812ede860bfc37ea550900 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Tue Nov 28 21:19:42 2023 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Mon Dec 04 19:55:22 2023 +0000 |
tree | aa365d292be73412811b8f21f8a088bbce20b81a | |
parent | 521f4fc77cddbce468a557325e8f359e70777e26 [diff] |
InputDispatcher: Add hit test method isPointerInWindow Before an app can successfully change the pointer icon, we want to determine whether its windows are actually receiving the pointer. To do this, we need to be able to do a hit test for a pointer in a window, so we add a hit test method to InputDispatcher. Bug: 293587049 Test: atest inputflinger_tests Change-Id: I8ff103052f8ba58e411b3456f189eab020d49ef1