Home
last modified time | relevance | path

Searched refs:shelfHeight (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A DPipBoundsAlgorithmTest.java180 final int shelfHeight = 30; in getDefaultBounds_shelfShowing_offsetByShelfHeight() local
184 mPipBoundsState.setShelfVisibility(true, shelfHeight); in getDefaultBounds_shelfShowing_offsetByShelfHeight()
187 assertEquals(shelfHeight, defaultBounds.top - defaultBoundsWithShelf.top); in getDefaultBounds_shelfShowing_offsetByShelfHeight()
193 final int shelfHeight = 40; in getDefaultBounds_imeAndShelfShowing_offsetByTallest() local
199 mPipBoundsState.setShelfVisibility(true, shelfHeight); in getDefaultBounds_imeAndShelfShowing_offsetByTallest()
202 assertEquals(shelfHeight, defaultBounds.top - defaultBoundsWithIme.top); in getDefaultBounds_imeAndShelfShowing_offsetByTallest()
369 final int shelfHeight = 100; in setShelfHeight_offsetBounds() local
373 mPipBoundsState.setShelfVisibility(true, shelfHeight); in setShelfHeight_offsetBounds()
376 oldPosition.offset(0, -shelfHeight); in setShelfHeight_offsetBounds()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DIPip.aidl45 int launcherRotation, int shelfHeight) = 1; in startSwipePipToHome() argument
65 oneway void setShelfHeight(boolean visible, int shelfHeight) = 4; in setShelfHeight() argument
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DSystemUiProxy.java488 public void setShelfHeight(boolean visible, int shelfHeight) { in setShelfHeight() argument
489 boolean changed = visible != mLastShelfVisible || shelfHeight != mLastShelfHeight; in setShelfHeight()
492 mLastShelfHeight = shelfHeight; in setShelfHeight()
494 mPip.setShelfHeight(visible, shelfHeight); in setShelfHeight()
497 + " height: " + shelfHeight, e); in setShelfHeight()
517 PictureInPictureParams pictureInPictureParams, int launcherRotation, int shelfHeight) { in startSwipePipToHome() argument
521 pictureInPictureParams, launcherRotation, shelfHeight); in startSwipePipToHome()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipController.java560 final int shelfHeight = visible ? height : 0; in setShelfHeightLocked() local
561 mPipBoundsState.setShelfVisibility(visible, shelfHeight); in setShelfHeightLocked()
585 int launcherRotation, int shelfHeight) { in startSwipePipToHome() argument
586 setShelfHeightLocked(shelfHeight > 0 /* visible */, shelfHeight); in startSwipePipToHome()
915 int shelfHeight) { in startSwipePipToHome() argument
920 pictureInPictureParams, launcherRotation, shelfHeight); in startSwipePipToHome()
H A DPipTouchHandler.java330 public void onShelfVisibilityChanged(boolean shelfVisible, int shelfHeight) { in onShelfVisibilityChanged() argument
332 mShelfHeight = shelfHeight; in onShelfVisibilityChanged()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DStackScrollAlgorithm.java372 final float shelfHeight = showingShelf ? ambientState.getShelf().getIntrinsicHeight() : 0f; in getExpansionFractionWithoutShelf() local
377 final float stackHeight = ambientState.getStackHeight() - shelfHeight - scrimPadding; in getExpansionFractionWithoutShelf()
378 final float stackEndHeight = ambientState.getStackEndHeight() - shelfHeight - scrimPadding; in getExpansionFractionWithoutShelf()
741 int shelfHeight = ambientState.getShelf() == null ? 0 : in updateChildZValue() local
744 - shelfHeight + ambientState.getTopPadding() in updateChildZValue()
751 float factor = (notificationEnd - shelfStart) / shelfHeight; in updateChildZValue()