summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-04-24 15:25:41 -0700
committer Ikram Gabiyev <gabiyev@google.com> 2024-04-30 17:18:41 -0700
commitb027fca2951f16d77f9d92126c903a4f22bb203c (patch)
tree856a9bb99d1f8c2001fbd6e248dbe0ba6560e798 /libs/input/SpriteController.cpp
parent54019790819e65a345c532df3fa8bdcf0623700f (diff)
Add PipTransitionState into pip2
Create a new PipTransitionState class to dispatch state updates for PiP specifically guided by transitions. Also connect scheduling expand-pip to onActivityRestartAttempt(). But remove the usages of onActivityPinned/Unpinned() since we can now rely on PipTraansitionStateChanged listener updates instead which are in sync with diffferent stages of running Transitions. The plan is to use these state changes to enable and disable touches in pip2.PipTouchHandler in a follow up CL (a substitute for onAct(Un)Pinned). Bug: 336870419 Test: swipe-up to enter PiP then tap icon to expand Change-Id: Ica297920fbf4ace1c18b17e92341e179dcce22d3
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions