Home
last modified time | relevance | path

Searched refs:getRawY (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DExpandHelper.java315 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
334 final float yDiff = ev.getRawY() - mInitialTouchY; in onInterceptTouchEvent()
341 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
342 mInitialTouchY = ev.getRawY(); in onInterceptTouchEvent()
360 mInitialTouchY = ev.getRawY(); in onInterceptTouchEvent()
372 mLastMotionY = ev.getRawY(); in onInterceptTouchEvent()
449 mLastMotionY = ev.getRawY(); in onTouchEvent()
458 mInitialTouchY = ev.getRawY(); in onTouchEvent()
462 final float yDiff = ev.getRawY() - mInitialTouchY; in onTouchEvent()
469 mInitialTouchY = ev.getRawY(); in onTouchEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowView.java77 if (ev.getAction() == ACTION_DOWN && ev.getRawY() > getHeight()) { in dispatchTouchEvent()
78 mTouchDownY = ev.getRawY(); in dispatchTouchEvent()
81 ev.setLocation(ev.getRawX(), mTopInset + ev.getRawY() - mTouchDownY); in dispatchTouchEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchState.java127 mLastTouch.set(ev.getRawX(), ev.getRawY()); in onTouchEvent()
158 float y = ev.getRawY(pointerIndex); in onTouchEvent()
194 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
218 mLastTouch.set(ev.getRawX(pointerIndex), ev.getRawY(pointerIndex)); in onTouchEvent()
388 float deltaY = event.getRawY() - event.getY();
DPipResizeGestureHandler.java234 if (!pipBounds.contains((int) mv.getRawX(), (int) mv.getRawY()) in onInputEvent()
307 && pipBounds.contains((int) ev.getRawX(0), (int) ev.getRawY(0)) in onPinchResize()
308 && pipBounds.contains((int) ev.getRawX(1), (int) ev.getRawY(1))) { in onPinchResize()
312 mDownPoint.set(ev.getRawX(mFirstIndex), ev.getRawY(mFirstIndex)); in onPinchResize()
313 mDownSecondPoint.set(ev.getRawX(mSecondIndex), ev.getRawY(mSecondIndex)); in onPinchResize()
334 float y0 = ev.getRawY(mFirstIndex); in onPinchResize()
336 float y1 = ev.getRawY(mSecondIndex); in onPinchResize()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTouchState.java127 mLastTouch.set(ev.getRawX(), ev.getRawY()); in onTouchEvent()
158 float y = ev.getRawY(pointerIndex); in onTouchEvent()
194 mLastTouch.set(ev.getRawX(newPointerIndex), ev.getRawY(newPointerIndex)); in onTouchEvent()
218 mLastTouch.set(ev.getRawX(pointerIndex), ev.getRawY(pointerIndex)); in onTouchEvent()
386 float deltaY = event.getRawY() - event.getY();
DPipResizeGestureHandler.java246 if (!pipBounds.contains((int) mv.getRawX(), (int) mv.getRawY()) in onInputEvent()
316 && pipBounds.contains((int) ev.getRawX(0), (int) ev.getRawY(0)) in onPinchResize()
317 && pipBounds.contains((int) ev.getRawX(1), (int) ev.getRawY(1))) { in onPinchResize()
321 mDownPoint.set(ev.getRawX(mFirstIndex), ev.getRawY(mFirstIndex)); in onPinchResize()
322 mDownSecondPoint.set(ev.getRawX(mSecondIndex), ev.getRawY(mSecondIndex)); in onPinchResize()
343 float y0 = ev.getRawY(mFirstIndex); in onPinchResize()
345 float y1 = ev.getRawY(mSecondIndex); in onPinchResize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuListViewTouchHandler.java62 final float dy = motionEvent.getRawY() - mDown.y; in onInterceptTouchEvent()
68 mDown.set(motionEvent.getRawX(), motionEvent.getRawY()); in onInterceptTouchEvent()
145 final float deltaY = motionEvent.getRawY() - motionEvent.getY(); in addMovement()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/
DUdfpsUtils.java88 touch = new Point((int) event.getRawX(idx), (int) event.getRawY(idx)); in getTouchInNativeCoordinates()
122 touch = new Point((int) event.getRawX(idx), (int) event.getRawY(idx)); in isWithinSensorArea()
228 Point portraitTouch = new Point((int) event.getRawX(idx), (int) event.getRawY(idx)); in getPortraitTouch()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java83 float rawY = ev.getRawY(0); in onMotionEvent()
95 float dy = ev.getRawY(dragPointerIndex) - mInputDownPoint.y; in onMotionEvent()
DDesktopModeWindowDecorViewModel.java518 (int) e.getRawX(), (int) e.getRawY()); in onTouch()
642 e.getRawY(0)); in handleMotionEvent()
658 e.getRawX(dragPointerIdx), e.getRawY(dragPointerIdx)); in handleMotionEvent()
681 (int) (e.getRawY(dragPointerIdx) - e.getY(dragPointerIdx))); in handleMotionEvent()
683 e.getRawX(dragPointerIdx), e.getRawY(dragPointerIdx)); in handleMotionEvent()
685 new PointF(e.getRawX(dragPointerIdx), e.getRawY(dragPointerIdx)), in handleMotionEvent()
888 relevantDecor.mTaskSurface, ev.getRawX(), ev.getRawY()); in handleCaptionThroughStatusBar()
895 new PointF(ev.getRawX(), ev.getRawY()), relevantDecor.mTaskInfo); in handleCaptionThroughStatusBar()
916 if (ev.getRawY() < 2 * layout.stableInsets().top in handleCaptionThroughStatusBar()
923 relevantDecor.mTaskSurface, ev.getRawX(), ev.getRawY()); in handleCaptionThroughStatusBar()
DCaptionWindowDecorViewModel.java321 0 /* ctrlType */, e.getRawX(0), e.getRawY(0)); in handleMotionEvent()
334 e.getRawX(dragPointerIdx), e.getRawY(dragPointerIdx)); in handleMotionEvent()
345 e.getRawX(dragPointerIdx), e.getRawY(dragPointerIdx)); in handleMotionEvent()
DDragResizeInputListener.java407 float rawY = e.getRawY(0); in handleMotionEvent()
438 final float rawY = e.getRawY(dragPointerIndex); in handleMotionEvent()
456 e.getRawX(dragPointerIndex), e.getRawY(dragPointerIndex)); in handleMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSimpleMirrorWindowControl.java155 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragState()
159 int yDiff = (int) (event.getRawY() - mLastDrag.y); in handleDragState()
161 mLastDrag.set(event.getRawX(), event.getRawY()); in handleDragState()
DMagnificationGestureDetector.java115 final float rawY = event.getRawY(); in onTouch()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DBackdropBlurActivity.java104 mDownOffsetY = event.getRawY() - getTranslationY(); in onTouchEvent()
113 setTranslationY(event.getRawY() - mDownOffsetY); in onTouchEvent()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp460 ASSERT_NEAR(RAW_Y_OFFSET + 211 * RAW_Y_SCALE, event->getRawY(0), EPSILON); in assertEqualsEventWithHistory()
461 ASSERT_NEAR(RAW_Y_OFFSET + 221 * RAW_Y_SCALE, event->getRawY(1), EPSILON); in assertEqualsEventWithHistory()
725 ASSERT_EQ(splitMove.getRawY(0), event.getRawY(0)); in TEST_F()
730 ASSERT_EQ(splitMove.getRawY(1), event.getRawY(2)); in TEST_F()
758 ASSERT_NEAR((RAW_Y_OFFSET + 211 * RAW_Y_SCALE) * 2, event.getRawY(0), EPSILON); in TEST_F()
839 ASSERT_NEAR(originalRawY, event.getRawY(0), 0.001); in TEST_F()
846 ASSERT_NEAR(originalRawY, event.getRawY(0), 0.001); in TEST_F()
871 ASSERT_NEAR(originalRawY, event.getRawY(0), 0.001); in TEST_F()
910 ASSERT_EQ(60, event.getRawY(0)); in TEST_F()
912 ASSERT_NE(event.getRawY(0), event.getY(0)); in TEST_F()
[all …]
DVerifiedInputEvent_test.cpp100 ASSERT_EQ(event.getRawY(0), verified.rawY); in TEST()
/frameworks/base/core/java/com/android/internal/policy/
DWearGestureInterceptionDetector.java93 float deltaY = ev.getRawY() - mDownY; in updateSwiping()
135 mDownY = ev.getRawY();
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java67 final float newY = motionEvent.getRawY(); in onInputEvent()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java166 mTouchDownY = (int) ev.getRawY(); in onTouchEvent()
179 y = (int) ev.getRawY(); in onTouchEvent()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewPager.java162 mActivatedY = ev.getRawY(); in onInterceptTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessor.kt174 val touchPoint = PointF(getRawX(pointerIndex), getRawY(pointerIndex)) in rotateToNaturalOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DGestureRecorder.java71 this.event.getRawY(), in toJson()
/frameworks/base/core/java/android/view/
DVerifiedMotionEvent.java215 public float getRawY() { in getRawY() method in VerifiedMotionEvent
DGestureDetector.java947 mCurrentMotionEvent.getRawY() - mCurrentDownEvent.getRawY())); in recordGestureClassification()

123