Home
last modified time | relevance | path

Searched refs:stackEndHeight (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DStackScrollAlgorithmTest.kt333 ambientState.stackEndHeight = 0f // no space for the footer in the stack
346 ambientState.stackEndHeight = 1000f // plenty space for the footer in the stack
360 ambientState.stackEndHeight = 1000f // plenty space for the footer in the stack
372 ambientState.stackEndHeight = 1000f // plenty space for the footer in the stack
984 ambientState.stackEndHeight = 100f
985 ambientState.stackHeight = ambientState.stackEndHeight * fraction
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DAmbientState.java177 public void setStackEndHeight(float stackEndHeight) { in setStackEndHeight() argument
178 mStackEndHeight = stackEndHeight; in setStackEndHeight()
H A DStackScrollAlgorithm.java491 final float stackEndHeight = ambientState.getStackEndHeight() - shelfHeight - scrimPadding; in getExpansionFractionWithoutShelf() local
492 if (stackEndHeight == 0f) { in getExpansionFractionWithoutShelf()
497 return stackHeight / stackEndHeight; in getExpansionFractionWithoutShelf()
H A DNotificationStackScrollLayout.java1403 final float stackEndHeight;
1407 stackEndHeight = mIntrinsicContentHeight;
1409 stackEndHeight = Math.max(0f, height - bottomMargin - topPadding);
1411 mAmbientState.setStackEndHeight(stackEndHeight);
1412 return stackEndHeight;