Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRowTest.java159 when(row.isMenuOnLeft()).thenReturn(true); in testIsSnappedAndOnSameSide()
165 when(row.isMenuOnLeft()).thenReturn(false); in testIsSnappedAndOnSameSide()
169 when(row.isMenuOnLeft()).thenReturn(true); in testIsSnappedAndOnSameSide()
173 when(row.isMenuOnLeft()).thenReturn(true); in testIsSnappedAndOnSameSide()
189 when(row.isMenuOnLeft()).thenReturn(true); in testGetMenuSnapTarget()
195 when(row.isMenuOnLeft()).thenReturn(false); in testGetMenuSnapTarget()
205 when(row.isMenuOnLeft()).thenReturn(true); in testIsSwipedEnoughToShowMenu()
214 when(row.isMenuOnLeft()).thenReturn(false); in testIsSwipedEnoughToShowMenu()
234 when(row.isMenuOnLeft()).thenReturn(true); in testIsWithinSnapMenuThreshold()
247 when(row.isMenuOnLeft()).thenReturn(false); in testIsWithinSnapMenuThreshold()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java152 protected boolean isMenuOnLeft() { in isMenuOnLeft() method in NotificationMenuRow
381 mMenuSnappedOnLeft = isMenuOnLeft(); in onSnapOpen()
431 && ((isMenuOnLeft() && movement <= 0) in isTowardsMenu()
432 || (!isMenuOnLeft() && movement >= 0)); in isTowardsMenu()
517 if ((isMenuOnLeft() && onRight) || (!isMenuOnLeft() && onLeft)) { in isMenuLocationChange()
525 if ((mIconsPlaced && showOnLeft == isMenuOnLeft()) || isSnapping() || mMenuContainer == null
652 if (isMenuOnLeft()) { in getRevealAnimationOrigin()
743 return isMenuOnLeft() in isWithinSnapMenuThreshold()
752 return isMenuVisible() && (isMenuOnLeft() ? in isSwipedEnoughToShowMenu()
759 return isMenuOnLeft() ? getSpaceForMenu() : -getSpaceForMenu(); in getMenuSnapTarget()
[all …]