summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-07-17 15:58:20 -0700
committer Ikram Gabiyev <gabiyev@google.com> 2024-07-25 05:48:59 -0700
commitfc197f12ef9255c68e00a502965ef4a935aab6c9 (patch)
tree54f27f8929c520f47ab8297f1e5f4d214a1b305b /libs/androidfw/misc.cpp
parentc32f9542f400809fd0575c55a660c8413077cff1 (diff)
Use insets updates to get IME changes [1/N]
Use DisplayInsetsController's OnInsetsChangedListener to get callbacks into PiP upon IME visibility and height changes. This is accomplished through querying the stable bounds of the display cached by PipDisplayLayoutState and through querying the InsetsSource with the id of ID_IME. This is done as a part of PiP2's implementation of task being moved upon IME appearing/disappearing. Bug: 352596856 Flag: com.android.wm.shell.enable_pip2_implementation Test: atest ImeListenerTest Change-Id: I49ff24a3f7b0bdfee11fed01ab4d747ef3435b1f
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions