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.java306 assertTrue("menu on left, movement is negative", row.isTowardsMenu(-30f)); in testIsTowardsMenu()
307 assertFalse("menu on left, movement is positive", row.isTowardsMenu(30f)); in testIsTowardsMenu()
308 assertTrue("menu on left, movement is 0", row.isTowardsMenu(0f)); in testIsTowardsMenu()
311 assertTrue("menu on right, movement is positive", row.isTowardsMenu(30f)); in testIsTowardsMenu()
312 assertFalse("menu on right, movement is negative", row.isTowardsMenu(-30f)); in testIsTowardsMenu()
313 assertTrue("menu on right, movement is 0", row.isTowardsMenu(0f)); in testIsTowardsMenu()
317 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.java328 if (!isTowardsMenu(delta) && isMenuLocationChange()) { in onTouchMove()
429 public boolean isTowardsMenu(float movement) { in isTowardsMenu() method in NotificationMenuRow
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java237 final boolean gestureTowardsMenu = menuRow.isTowardsMenu(velocity); in handleSwipeFromClosedState()