Searched refs:isMenuOnLeft (Results 1 – 2 of 2) sorted by relevance
154 when(row.isMenuOnLeft()).thenReturn(true); in testIsSnappedAndOnSameSide()160 when(row.isMenuOnLeft()).thenReturn(false); in testIsSnappedAndOnSameSide()164 when(row.isMenuOnLeft()).thenReturn(true); in testIsSnappedAndOnSameSide()168 when(row.isMenuOnLeft()).thenReturn(true); in testIsSnappedAndOnSameSide()183 when(row.isMenuOnLeft()).thenReturn(true); in testGetMenuSnapTarget()189 when(row.isMenuOnLeft()).thenReturn(false); in testGetMenuSnapTarget()198 when(row.isMenuOnLeft()).thenReturn(true); in testIsSwipedEnoughToShowMenu()207 when(row.isMenuOnLeft()).thenReturn(false); in testIsSwipedEnoughToShowMenu()226 when(row.isMenuOnLeft()).thenReturn(true); in testIsWithinSnapMenuThreshold()239 when(row.isMenuOnLeft()).thenReturn(false); in testIsWithinSnapMenuThreshold()[all …]
159 protected boolean isMenuOnLeft() { in isMenuOnLeft() method in NotificationMenuRow377 mMenuSnappedOnLeft = isMenuOnLeft(); in onSnapOpen()427 && ((isMenuOnLeft() && movement <= 0) in isTowardsMenu()428 || (!isMenuOnLeft() && movement >= 0)); in isTowardsMenu()513 if ((isMenuOnLeft() && onRight) || (!isMenuOnLeft() && onLeft)) { in isMenuLocationChange()521 if ((mIconsPlaced && showOnLeft == isMenuOnLeft()) || isSnapping() || mMenuContainer == null648 if (isMenuOnLeft()) { in getRevealAnimationOrigin()730 return isMenuOnLeft() in isWithinSnapMenuThreshold()739 return isMenuVisible() && (isMenuOnLeft() ? in isSwipedEnoughToShowMenu()746 return isMenuOnLeft() ? getSpaceForMenu() : -getSpaceForMenu(); in getMenuSnapTarget()[all …]