Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationShelfTest.kt366 whenever(ambientState.stackHeight).thenReturn(100f)
393 whenever(ambientState.stackHeight).thenReturn(100f)
420 whenever(ambientState.stackHeight).thenReturn(100f)
447 whenever(ambientState.stackHeight).thenReturn(100f)
H A DStackScrollAlgorithmTest.kt985 ambientState.stackHeight = ambientState.stackEndHeight * fraction
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationStackSizeCalculator.kt86 stackHeight: StackHeight,
90 val (notifHeight, notifHeightSaveSpace, shelfHeightWithSpaceBefore) = stackHeight
H A DAmbientState.java241 public void setStackHeight(float stackHeight) { in setStackHeight() argument
242 mStackHeight = stackHeight; in setStackHeight()
H A DNotificationStackScrollLayout.java1461 int stackHeight;
1469 stackHeight = mTopPadding + mShelf.getIntrinsicHeight();
1474 stackHeight = stackEndPosition;
1478 stackHeight = (int) height;
1480 stackHeight = (int) NotificationUtils.interpolate(stackStartPosition,
1485 stackHeight = (int) (skipHeightUpdate ? mExpandedHeight : height);
1497 stackHeight = (int) (height - translationY);
1506 if (stackHeight != mCurrentStackHeight && !skipHeightUpdate) {
1507 mCurrentStackHeight = stackHeight;
H A DStackScrollAlgorithm.java490 final float stackHeight = ambientState.getStackHeight() - shelfHeight - scrimPadding; in getExpansionFractionWithoutShelf() local
497 return stackHeight / stackEndHeight; in getExpansionFractionWithoutShelf()