Searched refs:touchIsWithinView (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/view/ |
D | ViewUtilTest.kt | 62 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT + 1f, VIEW_TOP + 1f)).isTrue() in <lambda>() 67 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT.toFloat(), VIEW_TOP.toFloat())) in <lambda>() 73 assertThat(viewUtil.touchIsWithinView(view, VIEW_RIGHT.toFloat(), VIEW_BOTTOM.toFloat())) in <lambda>() 79 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT - 1f, VIEW_TOP + 1f)).isFalse() in <lambda>() 84 assertThat(viewUtil.touchIsWithinView(view, VIEW_RIGHT + 1f, VIEW_TOP + 1f)).isFalse() in <lambda>() 89 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT + 1f, VIEW_TOP - 1f)).isFalse() in <lambda>() 94 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT + 1f, VIEW_BOTTOM + 1f)).isFalse() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/view/ |
D | ViewUtil.kt | 35 fun touchIsWithinView(view: View, x: Float, y: Float): Boolean { in touchIsWithinView() method in com.android.systemui.util.view.ViewUtil
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewControllerTest.kt | 293 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_downAndPanelCollapsedAndInSbBoundAndSbWindowShow_sendsTouchToSb() 308 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_panelNotCollapsed_returnsNull() 326 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_touchNotInSbBounds_returnsNull() 340 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_sbWindowNotShowing_noSendTouchToSbAndReturnsTrue() 357 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_downEventSentToSbThenAnotherEvent_sendsTouchToSb()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarViewController.kt | 165 fun touchIsWithinView(x: Float, y: Float): Boolean { in <lambda>() method 166 return viewUtil.touchIsWithinView(mView, x, y) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewController.java | 420 if (mStatusBarViewController.touchIsWithinView(x, y)) { in setupExpandedStatusBar()
|