summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2024-04-12 16:24:06 -0700
committer Mady Mellor <madym@google.com> 2024-05-16 13:41:33 -0700
commit010a105a99d46e9a5b3485a2d5435285183d51ac (patch)
tree78128ece04e65b01fedf944e9b23b1797e623dec /libs/input/PointerController.cpp
parentd13062605eca2d2672390648e123a8b801837be5 (diff)
Support hiding / showing the bubble overflow on BubbleStackView
Adds BubbleStackView#showOverflow which handles adding or removing the bubble overflow view from the stack. - BubbleOverflow always exists, but it's only added / shown when the flag is on and we have overflow contents - Can't assume that we have an overflow all the time so need to be careful with counting views on the stack - We "naturally" have an animation when views get added while expanded Flag: ACONFIG com.android.wm.shell.enable_optional_bubble_overflow DEVELOPMENT Test: manual - enable the flag, have no bubbles in the overflow - add some bubbles, check that there's no overflow - dismiss a bubble => observe that the overflow appears - collapse / expand stack, overflow is still there - dismiss another bubble - tap on the overflow, add a bubble, tap on the overflow add the last bubble => observe the overflow disappears - turn off the flag and check that the overflow is always visible even when empty Bug: 334175587 Change-Id: I9458827047230c4b0f4da624ff8fa83c41bf399f
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions