diff options
author | RyanlwLin <ryanlwlin@google.com> | 2019-07-04 15:37:55 +0800 |
---|---|---|
committer | Ryan Lin <ryanlwlin@google.com> | 2019-07-04 08:15:04 +0000 |
commit | 983a9969dfeddc92b2df5c63169eb987b296376a (patch) | |
tree | 2b0162ba3ab3200b5aec2d976d9aa3bb0ef3a0a4 /startop/scripts/lib/cmd_utils.py | |
parent | 4b5df9e2746af6b97ca820e6c0d34c35a753327e (diff) |
Use DisplayContext to replace default context
When detecting gesturs, the threshold is based on the display metrics.
To get correct display metrics, we replace default context with displayContext.
Bug: 136425762
Test: atest TouchExploreTest
Test: atest MagnificationGestureHandlerTest
Change-Id: I2d6c5a0ef00966d9164e117fc65dac8131f7a175
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions