Home
last modified time | relevance | path

Searched refs:shelfState (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationShelfTest.kt355 val shelfState = shelf.viewState as NotificationShelf.ShelfState in updateState_withNullLastVisibleBackgroundChild_hideShelf() constant
356 assertEquals(true, shelfState.hidden) in updateState_withNullLastVisibleBackgroundChild_hideShelf()
357 assertEquals(endOfStack, shelfState.yTranslation) in updateState_withNullLastVisibleBackgroundChild_hideShelf()
381 val shelfState = shelf.viewState as NotificationShelf.ShelfState in updateState_withNullFirstViewInShelf_hideShelf() constant
382 assertEquals(true, shelfState.hidden) in updateState_withNullFirstViewInShelf_hideShelf()
383 assertEquals(endOfStack, shelfState.yTranslation) in updateState_withNullFirstViewInShelf_hideShelf()
407 val shelfState = shelf.viewState as NotificationShelf.ShelfState in updateState_withCollapsedShade_hideShelf() constant
408 assertEquals(true, shelfState.hidden) in updateState_withCollapsedShade_hideShelf()
409 assertEquals(endOfStack, shelfState.yTranslation) in updateState_withCollapsedShade_hideShelf()
446 val shelfState = shelf.viewState as NotificationShelf.ShelfState in updateState_withHiddenSectionBeforeShelf_hideShelf() constant
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java193 final ViewState shelfState = shelf.getViewState(); in updateAlphaState() local
199 if (shelfState.hidden) { in updateAlphaState()
204 final float shelfTop = shelfState.getYTranslation(); in updateAlphaState()