Home
last modified time | relevance | path

Searched refs:imeHeight (Results 1 – 12 of 12) sorted by relevance

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPinnedStackListenerForwarder.java67 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 DPinnedTaskController.java344 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 DDisplayContent.java3411 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 DPipBoundsAlgorithmTest.java187 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 DIPinnedTaskListener.aidl44 void onImeVisibilityChanged(boolean imeVisible, int imeHeight); in onImeVisibilityChanged() argument
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuViewAppearance.java164 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 DTvPipController.java636 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 DPipBoundsState.java351 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 DBubblePositioner.java718 final int imeHeight = getImeHeight();
725 allowableRegion.bottom -= imeHeight + bottomPadding + mBubbleSize;
H A DBubbleController.java2066 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 DPipController.java351 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 DPipTouchHandler.java344 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument
346 mImeHeight = imeHeight; in onImeVisibilityChanged()