Home
last modified time | relevance | path

Searched refs:stackY (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationShelfTest.kt365 whenever(ambientState.stackY).thenReturn(100f)
392 whenever(ambientState.stackY).thenReturn(100f)
419 whenever(ambientState.stackY).thenReturn(100f)
446 whenever(ambientState.stackY).thenReturn(100f)
H A DStackScrollAlgorithmTest.kt148 val fullHeight = ambientState.layoutMaxHeight + marginBottom - ambientState.stackY
149 val centeredY = ambientState.stackY + fullHeight / 2f - emptyShadeView.height / 2f
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DAmbientState.java184 public void setStackY(float stackY) { in setStackY() argument
185 mStackY = stackY; in setStackY()
H A DStackScrollAlgorithm.java871 float computeCornerRoundnessForPinnedHun(float hostViewHeight, float stackY, in computeCornerRoundnessForPinnedHun() argument
879 final float distToOriginalRoundness = Math.max(0f, stackY - originalRoundnessY); in computeCornerRoundnessForPinnedHun()
H A DNotificationStackScrollLayout.java1376 final float stackY = MathUtils.lerp(0, endTopPosition, fraction);
1377 mAmbientState.setStackY(stackY);