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 D | ViewUtilTest.kt | 57 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 D | NotificationShadeWindowViewControllerTest.kt | 256 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 D | ViewUtil.kt | 35 fun touchIsWithinView(view: View, x: Float, y: Float): Boolean { regex
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarViewController.kt | 145 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 D | NotificationShadeWindowViewController.java | 368 if (mStatusBarViewController.touchIsWithinView(x, y)) { in setupExpandedStatusBar()
|