Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java682 assertEquals(0, mStackScroller.getSpeedBumpIndex()); in testAddNotificationUpdatesSpeedBumpIndex()
692 assertEquals(1, mStackScroller.getSpeedBumpIndex()); in testAddNotificationUpdatesSpeedBumpIndex()
698 assertEquals(0, mStackScroller.getSpeedBumpIndex()); in testAddAmbientNotificationNoSpeedBumpUpdate()
708 assertEquals(0, mStackScroller.getSpeedBumpIndex()); in testAddAmbientNotificationNoSpeedBumpUpdate()
714 assertEquals(0, mStackScroller.getSpeedBumpIndex()); in testRemoveNotificationUpdatesSpeedBump()
724 assertEquals(1, mStackScroller.getSpeedBumpIndex()); in testRemoveNotificationUpdatesSpeedBump()
730 assertEquals(0, mStackScroller.getSpeedBumpIndex()); in testRemoveNotificationUpdatesSpeedBump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java231 viewState.belowSpeedBump = getSpeedBumpIndex() == 0; in updateState()
275 private int getSpeedBumpIndex() { in getSpeedBumpIndex() method in NotificationShelf
277 return mHostLayout.getSpeedBumpIndex(); in getSpeedBumpIndex()
498 mShelfIcons.setSpeedBumpIndex(getSpeedBumpIndex()); in updateAppearance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutController.java1084 public int getSpeedBumpIndex() { in getSpeedBumpIndex() method in NotificationStackScrollLayoutController
1085 return mView.getSpeedBumpIndex(); in getSpeedBumpIndex()
DNotificationStackScrollLayout.java1032 public int getSpeedBumpIndex() { in getSpeedBumpIndex() method in NotificationStackScrollLayout
1291 mStackScrollAlgorithm.resetViewStates(mAmbientState, getSpeedBumpIndex());