Home
last modified time | relevance | path

Searched refs:isTowardsMenu (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRowTest.java295 assertTrue("menu on left, movement is negative", row.isTowardsMenu(-30f)); in testIsTowardsMenu()
296 assertFalse("menu on left, movement is positive", row.isTowardsMenu(30f)); in testIsTowardsMenu()
297 assertTrue("menu on left, movement is 0", row.isTowardsMenu(0f)); in testIsTowardsMenu()
300 assertTrue("menu on right, movement is positive", row.isTowardsMenu(30f)); in testIsTowardsMenu()
301 assertFalse("menu on right, movement is negative", row.isTowardsMenu(-30f)); in testIsTowardsMenu()
302 assertTrue("menu on right, movement is 0", row.isTowardsMenu(0f)); in testIsTowardsMenu()
306 row.isTowardsMenu(-30f)); in testIsTowardsMenu()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationMenuRowPlugin.java161 public boolean isTowardsMenu(float movement); in isTowardsMenu() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java332 if (!isTowardsMenu(delta) && isMenuLocationChange()) { in onTouchMove()
424 public boolean isTowardsMenu(float movement) { in isTowardsMenu() method in NotificationMenuRow
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java199 final boolean gestureTowardsMenu = menuRow.isTowardsMenu(velocity); in handleSwipeFromClosedState()