summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBill Lin <lbill@google.com>2021-04-19 20:09:27 +0800
committerBill Lin <lbill@google.com>2021-04-21 16:33:01 +0800
commit3e208562150aed2dfcacd3ebe9c50b5c04a67c0f (patch)
treec09bb98fa6ab2588de92aced8bb89ac00619522f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1027fb5c21b9ae931feff81c29427cccb3d8d77b (diff)
1/ Add onStartTransition() callback for SYSUI_STATE_ONE_HANDED_ACTIVE
Previously in launcher quick steps, when one handed mode trigger the gesture is easy to conflict "swipe up Recents" and "swipe horizontal for quick switch", we only consume gesture when SYSUI_STATE_ONE_HANDED_ACTIVE=true, however, user have a bad experience when one handed transitioning conflict to "swipe up to launch recents". Legacy design : onStartFinished() : SYSUI_STATE_ONE_HANDED_ACTIVE -> true onStopFinished() : SYSUI_STATE_ONE_HANDED_ACTIVE -> false New design : onTransition() : SYSUI_STATE_ONE_HANDED_ACTIVE -> true onStartFinished() : SYSUI_STATE_ONE_HANDED_ACTIVE -> true onStopFinished() : SYSUI_STATE_ONE_HANDED_ACTIVE -> false Test: atest WMShellUnitTests Bug: 177978035 Change-Id: Iac9612b2eb07606712a4ab3eb036ac6fd3d12ae3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions