/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackSizeCalculatorTest.kt | 62 private val shelfHeight = px(R.dimen.notification_shelf_height) in <lambda>() constant 88 shelfHeight = 0f in <lambda>() 104 shelfHeight in <lambda>() 113 val shelfHeight = rowHeight / 2 // Shelf absence won't leave room for another row. in <lambda>() constant 115 val spaceForShelf = gapHeight + dividerHeight + shelfHeight in <lambda>() 119 computeMaxKeyguardNotifications(rows, spaceForNotifications, spaceForShelf, shelfHeight) in <lambda>() 149 val shelfHeight = shelfHeight + dividerHeight in <lambda>() constant 156 val spaceForShelf = gapHeight + dividerHeight + shelfHeight in <lambda>() 165 shelfHeight in <lambda>() 183 val shelfSpace = dividerHeight + gapHeight + shelfHeight in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackSizeCalculator.kt | 173 shelfHeight: Float, in <lambda>() 180 "\n\tshelfIntrinsicHeight $shelfHeight" in <lambda>() 188 val stackHeightSequence = computeHeightPerNotificationLimit(stack, shelfHeight) in <lambda>() 261 " shelfHeight=$shelfHeight) -> $maxNotifications$sequence" in <lambda>() 280 shelfHeight: Float in <lambda>() 285 val stackHeightSequence = computeHeightPerNotificationLimit(stack, shelfHeight) in <lambda>() 296 "--- computeHeight(maxNotifs=$maxNotifs, shelfHeight=$shelfHeight)" + in <lambda>() 303 "--- computeHeight(maxNotifs=$maxNotifs, shelfHeight=$shelfHeight)" + in <lambda>() 343 shelfHeight: Float, in <lambda>() 358 shelfHeightWithSpaceBefore = shelfHeight, in <lambda>() [all …]
|
D | StackScrollAlgorithm.java | 565 final float shelfHeight = showingShelf ? ambientState.getShelf().getIntrinsicHeight() : 0f; in getExpansionFractionWithoutShelf() local 570 final float stackHeight = ambientState.getStackHeight() - shelfHeight - scrimPadding; in getExpansionFractionWithoutShelf() 571 final float stackEndHeight = ambientState.getStackEndHeight() - shelfHeight - scrimPadding; in getExpansionFractionWithoutShelf() 1107 int shelfHeight = ambientState.getShelf() == null ? 0 : in updateChildZValue() local 1110 - shelfHeight + ambientState.getTopPadding() in updateChildZValue() 1119 float factor = (notificationEnd - shelfStart) / shelfHeight; in updateChildZValue()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
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() 390 final int shelfHeight = 100; in setShelfHeight_offsetBounds() local 394 mPipBoundsState.setShelfVisibility(true, shelfHeight); in setShelfHeight_offsetBounds() 397 oldPosition.offset(0, -shelfHeight); in setShelfHeight_offsetBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/ |
D | SharedNotificationContainerBinder.kt | 120 val shelfHeight = controller.getShelfHeight().toFloat() in <lambda>() constant 124 if (extraShelfSpace) shelfHeight else 0f, in <lambda>() 125 shelfHeight, in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | IPip.aidl | 78 oneway void setShelfHeight(boolean visible, int shelfHeight) = 5; in setShelfHeight() argument
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipTouchHandler.java | 352 public void onShelfVisibilityChanged(boolean shelfVisible, int shelfHeight) { in onShelfVisibilityChanged() argument 354 mShelfHeight = shelfHeight; in onShelfVisibilityChanged()
|
D | PipController.java | 951 final int shelfHeight = visible ? height : 0; in setShelfHeightLocked() local 952 mPipBoundsState.setShelfVisibility(visible, shelfHeight); in setShelfHeightLocked()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipTouchHandler.java | 361 void onShelfVisibilityChanged(boolean shelfVisible, int shelfHeight) { in onShelfVisibilityChanged() argument 363 mShelfHeight = shelfHeight; in onShelfVisibilityChanged()
|