Searched refs:VIEW_BOTTOM (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/ |
D | SwipeChipbarAwayGestureHandlerTest.kt | 54 val motionEvent = createMotionEvent(y = VIEW_BOTTOM - 100f) in <lambda>() 64 val motionEvent = createMotionEvent(y = VIEW_BOTTOM + 20f) in <lambda>() 74 val motionEvent = createMotionEvent(y = VIEW_BOTTOM * 4f) in <lambda>() 84 val motionEvent = createMotionEvent(y = VIEW_BOTTOM - 100f) in <lambda>() 99 out.set(0, 0, 0, VIEW_BOTTOM) in <lambda>() 108 const val VIEW_BOTTOM = 455 in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/view/ |
D | ViewUtilTest.kt | 43 view.setLeftTopRightBottom(VIEW_LEFT, VIEW_TOP, VIEW_RIGHT, VIEW_BOTTOM) in <lambda>() 73 assertThat(viewUtil.touchIsWithinView(view, VIEW_RIGHT.toFloat(), VIEW_BOTTOM.toFloat())) in <lambda>() 94 assertThat(viewUtil.touchIsWithinView(view, VIEW_LEFT + 1f, VIEW_BOTTOM + 1f)).isFalse() in <lambda>() 106 assertThat(outRect.bottom).isEqualTo(VIEW_BOTTOM) in <lambda>() 113 private const val VIEW_BOTTOM = 100 constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationShadeWindowViewControllerTest.kt | 174 whenever(view.bottom).thenReturn(VIEW_BOTTOM) in setUp() 260 val ev = MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_DOWN, 0f, VIEW_BOTTOM + 4f, 0) in handleDispatchTouchEvent_downTouchBelowView_sendsTouchToSb() 274 MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_DOWN, 0f, VIEW_BOTTOM + 4f, 0) in handleDispatchTouchEvent_downTouchBelowViewThenAnotherTouch_sendsTouchToSb() 278 MotionEvent.obtain(0L, 0L, MotionEvent.ACTION_MOVE, 0f, VIEW_BOTTOM + 5f, 0) in handleDispatchTouchEvent_downTouchBelowViewThenAnotherTouch_sendsTouchToSb() 671 private const val VIEW_BOTTOM = 100 constant
|