diff options
author | Vishnu Nair <vishnun@google.com> | 2018-12-13 09:28:11 -0800 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2018-12-13 09:28:11 -0800 |
commit | 1899955c1c273d87388830f312c341e966c31e03 (patch) | |
tree | f40c0608bd62bd143fefc9c4f80ac61b52ecbf89 /rs/java/android/renderscript/ProgramStore.java | |
parent | 691f5a71a2fe0234fc37c4465aee7bab67ee8464 (diff) |
Pip: Use raw input coordiates when calculating pip movement offsets
* Recently the pip_input_consumer changed to move with the pinned stack bounds.
* Change the touch logic to use raw input coordinates so that we do not have to
account for the pip_input_consumer position.
* Add workaround for velocity tracker to support moving input frame.
* Use getActionMasked instead of getAction for MotionEvents. This fixes b/120942892.
Test: Test moving pip window in YouTube and Chrome
Bug: 120663157, 120942892
Change-Id: I0a8b2eea7ee5930a6651ad037eaa0f898fe8635d
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions