Home
last modified time | relevance | path

Searched refs:isXInView (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationShelfTest.kt100 val isXInView = in testX_inViewForClick() constant
101 shelf.isXInView(/* localX */ 5f, /* slop */ 5f, /* left */ 0f, /* right */ 10f) in testX_inViewForClick()
102 assertTrue(isXInView) in testX_inViewForClick()
108 shelf.isXInView(/* localX */ -3f, /* slop */ 5f, /* left */ 0f, /* right */ 10f) in testXSlop_inViewForClick()
112 shelf.isXInView(/* localX */ 13f, /* slop */ 5f, /* left */ 0f, /* right */ 10f) in testXSlop_inViewForClick()
119 shelf.isXInView(/* localX */ -10f, /* slop */ 5f, /* left */ 0f, /* right */ 10f) in testX_notInViewForClick()
123 shelf.isXInView(/* localX */ 20f, /* slop */ 5f, /* left */ 0f, /* right */ 10f) in testX_notInViewForClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java332 public boolean isXInView(float localX, float slop, float left, float right) { in isXInView() method in NotificationShelf
365 return isXInView(localX, slop, left, right) in pointInView()