Searched refs:isYInView (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationShelfTest.kt | 129 val isYInView = in testY_inViewForClick() constant 130 shelf.isYInView(/* localY */ 5f, /* slop */ 5f, /* top */ 0f, /* bottom */ 10f) in testY_inViewForClick() 131 assertTrue(isYInView) in testY_inViewForClick() 137 shelf.isYInView(/* localY */ -3f, /* slop */ 5f, /* top */ 0f, /* bottom */ 10f) in testYSlop_inViewForClick() 141 shelf.isYInView(/* localY */ 13f, /* slop */ 5f, /* top */ 0f, /* bottom */ 10f) in testYSlop_inViewForClick() 148 shelf.isYInView(/* localY */ -10f, /* slop */ 5f, /* top */ 0f, /* bottom */ 5f) in testY_notInViewForClick() 152 shelf.isYInView(/* localY */ 15f, /* slop */ 5f, /* top */ 0f, /* bottom */ 5f) in testY_notInViewForClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShelf.java | 344 public boolean isYInView(float localY, float slop, float top, float bottom) { in isYInView() method in NotificationShelf 366 && isYInView(localY, slop, top, bottom); in pointInView()
|