Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/view/
H A DViewUtilTest.kt57 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT + 1f, VIEW_TOP + 1f)).isTrue()
62 assertThat(viewUtil.touchIsWithinView(
69 assertThat(viewUtil.touchIsWithinView(view, VIEW_RIGHT.toFloat(), VIEW_BOTTOM.toFloat()))
75 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT - 1f, VIEW_TOP + 1f)).isFalse()
80 assertThat(viewUtil.touchIsWithinView(view, VIEW_RIGHT + 1f, VIEW_TOP + 1f)).isFalse()
85 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT + 1f, VIEW_TOP - 1f)).isFalse()
90 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT + 1f, VIEW_BOTTOM + 1f)).isFalse()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DNotificationShadeWindowViewControllerTest.kt256 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat()))
271 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat()))
289 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat()))
303 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat()))
320 whenever(phoneStatusBarViewController.touchIsWithinView(anyFloat(), anyFloat()))
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/view/
H A DViewUtil.kt35 fun touchIsWithinView(view: View, x: Float, y: Float): Boolean { regex
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarViewController.kt145 fun touchIsWithinView(x: Float, y: Float): Boolean { regex
146 return viewUtil.touchIsWithinView(mView, x, y)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DNotificationShadeWindowViewController.java368 if (mStatusBarViewController.touchIsWithinView(x, y)) { in setupExpandedStatusBar()