Home
last modified time | relevance | path

Searched refs:touchIsWithinView (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/view/
DViewUtilTest.kt62 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/
DViewUtil.kt35 fun touchIsWithinView(view: View, x: Float, y: Float): Boolean { in touchIsWithinView() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationShadeWindowViewControllerTest.kt315 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_downAndPanelCollapsedAndInSbBoundAndSbWindowShow_sendsTouchToSb()
330 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_panelNotCollapsed_returnsNull()
348 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_touchNotInSbBounds_returnsNull()
362 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_sbWindowNotShowing_noSendTouchToSbAndReturnsTrue()
379 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat())) in handleDispatchTouchEvent_downEventSentToSbThenAnotherEvent_sendsTouchToSb()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarViewController.kt231 fun touchIsWithinView(x: Float, y: Float): Boolean { in <lambda>() method
232 return viewUtil.touchIsWithinView(mView, x, y) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowViewController.java472 if (mStatusBarViewController.touchIsWithinView(x, y)) { in setupExpandedStatusBar()