Searched refs:isMenuOnLeft (Results 1 – 2 of 2) sorted by relevance
159 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 …]
152 protected boolean isMenuOnLeft() { in isMenuOnLeft() method in NotificationMenuRow381 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 == null652 if (isMenuOnLeft()) { in getRevealAnimationOrigin()743 return isMenuOnLeft() in isWithinSnapMenuThreshold()752 return isMenuVisible() && (isMenuOnLeft() ? in isSwipedEnoughToShowMenu()759 return isMenuOnLeft() ? getSpaceForMenu() : -getSpaceForMenu(); in getMenuSnapTarget()[all …]