/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PinnedStackListenerForwarder.java | 67 private void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument 69 listener.onImeVisibilityChanged(imeVisible, imeHeight); in onImeVisibilityChanged() 89 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument 91 PinnedStackListenerForwarder.this.onImeVisibilityChanged(imeVisible, imeHeight); in onImeVisibilityChanged() 110 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) {} in onImeVisibilityChanged() argument
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | PinnedTaskController.java | 344 void setAdjustedForIme(boolean adjustedForIme, int imeHeight) { in setAdjustedForIme() argument 349 final boolean imeShowing = adjustedForIme && imeHeight > 0; in setAdjustedForIme() 350 imeHeight = imeShowing ? imeHeight : 0; in setAdjustedForIme() 351 if (imeShowing == mIsImeShowing && imeHeight == mImeHeight) { in setAdjustedForIme() 356 mImeHeight = imeHeight; in setAdjustedForIme() 357 notifyImeVisibilityChanged(imeShowing, imeHeight); in setAdjustedForIme() 364 private void notifyImeVisibilityChanged(boolean imeVisible, int imeHeight) { in notifyImeVisibilityChanged() argument 367 mPinnedTaskListener.onImeVisibilityChanged(imeVisible, imeHeight); in notifyImeVisibilityChanged()
|
H A D | DisplayContent.java | 3411 final int imeHeight = getInputMethodWindowVisibleHeight(); in adjustForImeIfNeeded() local 3412 mPinnedTaskController.setAdjustedForIme(imeVisible, imeHeight); in adjustForImeIfNeeded()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
H A D | PipBoundsAlgorithmTest.java | 187 final int imeHeight = 30; in getDefaultBounds_imeShowing_offsetByImeHeight() local 191 mPipBoundsState.setImeVisibility(true, imeHeight); in getDefaultBounds_imeShowing_offsetByImeHeight() 194 assertEquals(imeHeight, defaultBounds.top - defaultBoundsWithIme.top); in getDefaultBounds_imeShowing_offsetByImeHeight() 211 final int imeHeight = 30; in getDefaultBounds_imeAndShelfShowing_offsetByTallest() local 217 mPipBoundsState.setImeVisibility(true, imeHeight); in getDefaultBounds_imeAndShelfShowing_offsetByTallest() 401 final int imeHeight = 100; in onImeVisibilityChanged_offsetBounds() local 405 mPipBoundsState.setImeVisibility(true, imeHeight); in onImeVisibilityChanged_offsetBounds() 408 oldPosition.offset(0, -imeHeight); in onImeVisibilityChanged_offsetBounds()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | IPinnedTaskListener.aidl | 44 void onImeVisibilityChanged(boolean imeVisible, int imeHeight); in onImeVisibilityChanged() argument
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | MenuViewAppearance.java | 164 final int imeHeight = (int) (draggableBounds.bottom - mImeTop); in getMenuDraggableBoundsWith() local 165 draggableBounds.bottom -= (imeHeight + mImeShiftingSpace); in getMenuDraggableBoundsWith()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipController.java | 636 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in registerWmShellPinnedStackListener() 639 TAG, imeVisible, imeHeight); in registerWmShellPinnedStackListener() 642 && (!imeVisible || imeHeight == mTvPipBoundsState.getImeHeight())) { in registerWmShellPinnedStackListener() 647 mTvPipBoundsState.setImeVisibility(imeVisible, imeHeight); in registerWmShellPinnedStackListener()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
H A D | PipBoundsState.java | 351 public void setImeVisibility(boolean imeShowing, int imeHeight) { in setImeVisibility() argument 353 mImeHeight = imeHeight; in setImeVisibility()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
H A D | BubblePositioner.java | 718 final int imeHeight = getImeHeight(); 725 allowableRegion.bottom -= imeHeight + bottomPadding + mBubbleSize;
|
H A D | BubbleController.java | 2066 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument 2067 mBubblePositioner.setImeVisible(imeVisible, imeHeight); in onImeVisibilityChanged()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipController.java | 351 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument 352 mPipBoundsState.setImeVisibility(imeVisible, imeHeight); in onImeVisibilityChanged() 353 mTouchHandler.onImeVisibilityChanged(imeVisible, imeHeight); in onImeVisibilityChanged()
|
H A D | PipTouchHandler.java | 344 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument 346 mImeHeight = imeHeight; in onImeVisibilityChanged()
|