Searched refs:shelfHeight (Results 1 – 7 of 7) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackSizeCalculatorTest.kt | 61 private val shelfHeight = px(R.dimen.notification_shelf_height) regex 86 shelfHeight = 0f 102 shelfHeight 113 val spaceForShelf = gapHeight + dividerHeight + shelfHeight 147 val shelfHeight = shelfHeight + dividerHeight regex 163 shelfHeight 181 val shelfSpace = dividerHeight + gapHeight + shelfHeight 200 val spaceForShelf = dividerHeight + shelfHeight 210 shelfHeight 341 shelfHeight: Float = this.shelfHeight [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackSizeCalculator.kt | 154 shelfHeight: Float, 161 "\n\tshelfIntrinsicHeight $shelfHeight" 169 val stackHeightSequence = computeHeightPerNotificationLimit(stack, shelfHeight) 234 " shelfHeight=$shelfHeight) -> $maxNotifications$sequence" 253 shelfHeight: Float 258 val stackHeightSequence = computeHeightPerNotificationLimit(stack, shelfHeight) 269 "--- computeHeight(maxNotifs=$maxNotifs, shelfHeight=$shelfHeight)" + 276 "--- computeHeight(maxNotifs=$maxNotifs, shelfHeight=$shelfHeight)" + 313 shelfHeight: Float, 326 shelfHeightWithSpaceBefore = shelfHeight [all …]
|
H A D | StackScrollAlgorithm.java | 485 final float shelfHeight = showingShelf ? ambientState.getShelf().getIntrinsicHeight() : 0f; in getExpansionFractionWithoutShelf() local 490 final float stackHeight = ambientState.getStackHeight() - shelfHeight - scrimPadding; in getExpansionFractionWithoutShelf() 491 final float stackEndHeight = ambientState.getStackEndHeight() - shelfHeight - scrimPadding; in getExpansionFractionWithoutShelf() 967 int shelfHeight = ambientState.getShelf() == null ? 0 : in updateChildZValue() local 970 - shelfHeight + ambientState.getTopPadding() in updateChildZValue() 979 float factor = (notificationEnd - shelfStart) / shelfHeight; in updateChildZValue()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
H A D | PipBoundsAlgorithmTest.java | 199 final int shelfHeight = 30; in getDefaultBounds_shelfShowing_offsetByShelfHeight() local 203 mPipBoundsState.setShelfVisibility(true, shelfHeight); in getDefaultBounds_shelfShowing_offsetByShelfHeight() 206 assertEquals(shelfHeight, defaultBounds.top - defaultBoundsWithShelf.top); in getDefaultBounds_shelfShowing_offsetByShelfHeight() 212 final int shelfHeight = 40; in getDefaultBounds_imeAndShelfShowing_offsetByTallest() local 218 mPipBoundsState.setShelfVisibility(true, shelfHeight); in getDefaultBounds_imeAndShelfShowing_offsetByTallest() 221 assertEquals(shelfHeight, defaultBounds.top - defaultBoundsWithIme.top); in getDefaultBounds_imeAndShelfShowing_offsetByTallest() 388 final int shelfHeight = 100; in setShelfHeight_offsetBounds() local 392 mPipBoundsState.setShelfVisibility(true, shelfHeight); in setShelfHeight_offsetBounds() 395 oldPosition.offset(0, -shelfHeight); in setShelfHeight_offsetBounds()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | IPip.aidl | 75 oneway void setShelfHeight(boolean visible, int shelfHeight) = 5; in setShelfHeight() argument
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipTouchHandler.java | 349 public void onShelfVisibilityChanged(boolean shelfVisible, int shelfHeight) { in onShelfVisibilityChanged() argument 351 mShelfHeight = shelfHeight; in onShelfVisibilityChanged()
|
H A D | PipController.java | 952 final int shelfHeight = visible ? height : 0; in setShelfHeightLocked() local 953 mPipBoundsState.setShelfVisibility(visible, shelfHeight); in setShelfHeightLocked()
|