Home
last modified time | relevance | path

Searched refs:shelfStart (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DStackScrollAlgorithm.java411 final float shelfStart = ambientState.getStackEndHeight() in initAlgorithmState() local
414 if (currentY >= shelfStart in initAlgorithmState()
611 final float shelfStart = stackBottom local
614 updateViewWithShelf(view, viewState, shelfStart);
635 void updateViewWithShelf(ExpandableView view, ExpandableViewState viewState, float shelfStart) { in updateViewWithShelf() argument
636 viewState.setYTranslation(Math.min(viewState.getYTranslation(), shelfStart)); in updateViewWithShelf() local
637 if (viewState.getYTranslation() >= shelfStart) { in updateViewWithShelf()
969 float shelfStart = ambientState.getInnerHeight() in updateChildZValue() local
974 if (shelfStart > notificationEnd) { in updateChildZValue()
979 float factor = (notificationEnd - shelfStart) / shelfHeight; in updateChildZValue()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationShelf.java381 float shelfStart = getTranslationY(); in updateAppearance() local
421 notificationClipEnd = shelfStart + getIntrinsicHeight(); in updateAppearance()
423 notificationClipEnd = shelfStart - mPaddingBetweenElements; in updateAppearance()
434 if (viewStart >= shelfStart && mNotGoneIndex == -1) { in updateAppearance()
469 && mAmbientState.isOnKeyguard() ? notificationClipEnd : shelfStart; in updateAppearance()
536 float shelfStart) {
546 final boolean shouldUpdateCornerRoundness = viewStart < shelfStart
561 final float cornerAnimationTop = shelfStart - cornerAnimationDistance;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DStackScrollAlgorithmTest.kt405 val shelfStart = 1f regex
414 stackScrollAlgorithm.updateViewWithShelf(expandableView, expandableViewState, shelfStart)
420 val shelfStart = 0f regex
430 stackScrollAlgorithm.updateViewWithShelf(expandableView, expandableViewState, shelfStart)
436 val shelfStart = 0f regex
446 stackScrollAlgorithm.updateViewWithShelf(expandableView, expandableViewState, shelfStart)