Searched refs:getSpeedBumpIndex (Results 1 – 4 of 4) sorted by relevance
682 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()
231 viewState.belowSpeedBump = getSpeedBumpIndex() == 0; in updateState()275 private int getSpeedBumpIndex() { in getSpeedBumpIndex() method in NotificationShelf277 return mHostLayout.getSpeedBumpIndex(); in getSpeedBumpIndex()498 mShelfIcons.setSpeedBumpIndex(getSpeedBumpIndex()); in updateAppearance()
1084 public int getSpeedBumpIndex() { in getSpeedBumpIndex() method in NotificationStackScrollLayoutController1085 return mView.getSpeedBumpIndex(); in getSpeedBumpIndex()
1032 public int getSpeedBumpIndex() { in getSpeedBumpIndex() method in NotificationStackScrollLayout1291 mStackScrollAlgorithm.resetViewStates(mAmbientState, getSpeedBumpIndex());