Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPinnedStackListenerForwarder.java69 private void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument
71 listener.onImeVisibilityChanged(imeVisible, imeHeight); in onImeVisibilityChanged()
103 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument
105 PinnedStackListenerForwarder.this.onImeVisibilityChanged(imeVisible, imeHeight); in onImeVisibilityChanged()
138 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) {} in onImeVisibilityChanged() argument
H A DPipBoundsState.java333 public void setImeVisibility(boolean imeShowing, int imeHeight) { in setImeVisibility() argument
335 mImeHeight = imeHeight; in setImeVisibility()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DPinnedTaskController.java345 void setAdjustedForIme(boolean adjustedForIme, int imeHeight) { in setAdjustedForIme() argument
350 final boolean imeShowing = adjustedForIme && imeHeight > 0; in setAdjustedForIme()
351 imeHeight = imeShowing ? imeHeight : 0; in setAdjustedForIme()
352 if (imeShowing == mIsImeShowing && imeHeight == mImeHeight) { in setAdjustedForIme()
357 mImeHeight = imeHeight; in setAdjustedForIme()
358 notifyImeVisibilityChanged(imeShowing, imeHeight); in setAdjustedForIme()
394 private void notifyImeVisibilityChanged(boolean imeVisible, int imeHeight) { in notifyImeVisibilityChanged() argument
397 mPinnedTaskListener.onImeVisibilityChanged(imeVisible, imeHeight); in notifyImeVisibilityChanged()
H A DDisplayContent.java3158 final int imeHeight = getInputMethodWindowVisibleHeight(); in adjustForImeIfNeeded() local
3159 mPinnedTaskController.setAdjustedForIme(imeVisible, imeHeight); in adjustForImeIfNeeded()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A DPipBoundsAlgorithmTest.java168 final int imeHeight = 30; in getDefaultBounds_imeShowing_offsetByImeHeight() local
172 mPipBoundsState.setImeVisibility(true, imeHeight); in getDefaultBounds_imeShowing_offsetByImeHeight()
175 assertEquals(imeHeight, defaultBounds.top - defaultBoundsWithIme.top); in getDefaultBounds_imeShowing_offsetByImeHeight()
192 final int imeHeight = 30; in getDefaultBounds_imeAndShelfShowing_offsetByTallest() local
198 mPipBoundsState.setImeVisibility(true, imeHeight); in getDefaultBounds_imeAndShelfShowing_offsetByTallest()
382 final int imeHeight = 100; in onImeVisibilityChanged_offsetBounds() local
386 mPipBoundsState.setImeVisibility(true, imeHeight); in onImeVisibilityChanged_offsetBounds()
389 oldPosition.offset(0, -imeHeight); in onImeVisibilityChanged_offsetBounds()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipController.java382 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in registerWmShellPinnedStackListener()
385 + ", height=" + imeHeight); in registerWmShellPinnedStackListener()
389 && (!imeVisible || imeHeight == mPipBoundsState.getImeHeight())) { in registerWmShellPinnedStackListener()
394 mPipBoundsState.setImeVisibility(imeVisible, imeHeight); in registerWmShellPinnedStackListener()
/aosp12/frameworks/base/core/java/android/view/
H A DIPinnedTaskListener.aidl44 void onImeVisibilityChanged(boolean imeVisible, int imeHeight); in onImeVisibilityChanged() argument
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipController.java236 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument
237 mPipBoundsState.setImeVisibility(imeVisible, imeHeight); in onImeVisibilityChanged()
238 mTouchHandler.onImeVisibilityChanged(imeVisible, imeHeight); in onImeVisibilityChanged()
H A DPipTouchHandler.java325 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument
327 mImeHeight = imeHeight; in onImeVisibilityChanged()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DStackAnimationController.java579 final int imeHeight = mPositioner.getImeHeight();
586 allowableRegion.bottom -= imeHeight + bottomPadding + mBubbleSize;
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleController.java1382 public void onImeVisibilityChanged(boolean imeVisible, int imeHeight) { in onImeVisibilityChanged() argument
1383 mBubblePositioner.setImeVisible(imeVisible, imeHeight); in onImeVisibilityChanged()