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.java147 when(row.isMenuOnLeft()).thenReturn(true); in testIsSnappedAndOnSameSide()
153 when(row.isMenuOnLeft()).thenReturn(false); in testIsSnappedAndOnSameSide()
157 when(row.isMenuOnLeft()).thenReturn(true); in testIsSnappedAndOnSameSide()
161 when(row.isMenuOnLeft()).thenReturn(true); in testIsSnappedAndOnSameSide()
177 when(row.isMenuOnLeft()).thenReturn(true); in testGetMenuSnapTarget()
183 when(row.isMenuOnLeft()).thenReturn(false); in testGetMenuSnapTarget()
193 when(row.isMenuOnLeft()).thenReturn(true); in testIsSwipedEnoughToShowMenu()
202 when(row.isMenuOnLeft()).thenReturn(false); in testIsSwipedEnoughToShowMenu()
222 when(row.isMenuOnLeft()).thenReturn(true); in testIsWithinSnapMenuThreshold()
235 when(row.isMenuOnLeft()).thenReturn(false); in testIsWithinSnapMenuThreshold()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java156 protected boolean isMenuOnLeft() { in isMenuOnLeft() method in NotificationMenuRow
373 mMenuSnappedOnLeft = isMenuOnLeft(); in onSnapOpen()
423 && ((isMenuOnLeft() && movement <= 0) in isTowardsMenu()
424 || (!isMenuOnLeft() && movement >= 0)); in isTowardsMenu()
509 if ((isMenuOnLeft() && onRight) || (!isMenuOnLeft() && onLeft)) { in isMenuLocationChange()
517 if ((mIconsPlaced && showOnLeft == isMenuOnLeft()) || isSnapping() || mMenuContainer == null
644 if (isMenuOnLeft()) { in getRevealAnimationOrigin()
735 return isMenuOnLeft() in isWithinSnapMenuThreshold()
744 return isMenuVisible() && (isMenuOnLeft() ? in isSwipedEnoughToShowMenu()
751 return isMenuOnLeft() ? getSpaceForMenu() : -getSpaceForMenu(); in getMenuSnapTarget()
[all …]