Searched refs:isMenuOnLeft (Results 1 – 2 of 2) sorted by relevance
147 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 …]
156 protected boolean isMenuOnLeft() { in isMenuOnLeft() method in NotificationMenuRow373 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 == null644 if (isMenuOnLeft()) { in getRevealAnimationOrigin()735 return isMenuOnLeft() in isWithinSnapMenuThreshold()744 return isMenuVisible() && (isMenuOnLeft() ? in isSwipedEnoughToShowMenu()751 return isMenuOnLeft() ? getSpaceForMenu() : -getSpaceForMenu(); in getMenuSnapTarget()[all …]