summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-07-29 09:15:39 -0700
committer Ikram Gabiyev <gabiyev@google.com> 2024-07-29 09:29:32 -0700
commitbe1fd970b87dcf0af0598e17c43d21370b2996e8 (patch)
tree76c57e40c810c74a93b9bb1770423d4db39a277e /api/api_test.go
parentfc197f12ef9255c68e00a502965ef4a935aab6c9 (diff)
Adjust PiP bounds upon IME visibility change
We are implementing two CUJs: 1. If IME is occluded by PiP, change the PiP bounds 2. If PiP hasn't been interacted with, IME becoming invisible should return PiP to original bounds. We are also now caching the movement bounds in PipBoundsState, which acts a source of truth for this. We are also implementing a scheduling mechanism in PipTransitionState waiting for a valid PiP idle state to run a new transition for example. This is helpful for dealing with trigger paths from outside PipComponent. Bug: 352596856 Flag: com.android.wm.shell.enable_pip2_implementation Test: atest ImeListenerTest Test: enter PiP and open an IME Change-Id: I27fa96bddd2181df0957e7d83edd52457c54d6d8
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions