Searched refs:isTowardsMenu (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationMenuRowTest.java | 295 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/ |
D | NotificationMenuRowPlugin.java | 161 public boolean isTowardsMenu(float movement); in isTowardsMenu() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationMenuRow.java | 332 if (!isTowardsMenu(delta) && isMenuLocationChange()) { in onTouchMove() 425 public boolean isTowardsMenu(float movement) { in isTowardsMenu() method in NotificationMenuRow
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 196 final boolean gestureTowardsMenu = menuRow.isTowardsMenu(velocity); in handleSwipeFromClosedState()
|