Home
last modified time | relevance | path

Searched refs:rawY (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DMagnificationGestureDetector.java115 final float rawY = event.getRawY(); in onTouch() local
119 mPointerDown.set(rawX, rawY); in onTouch()
122 handled |= mOnGestureListener.onStart(rawX, rawY); in onTouch()
128 stopSingleTapDetectionIfNeeded(rawX, rawY); in onTouch()
129 handled |= notifyDraggingGestureIfNeeded(view, rawX, rawY); in onTouch()
132 stopSingleTapDetectionIfNeeded(rawX, rawY); in onTouch()
138 handled |= mOnGestureListener.onFinish(rawX, rawY); in onTouch()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt338 touchDown.set(ev.rawX, ev.rawY) in <lambda>()
347 val dragDistance = hypot(ev.rawX - touchDown.x, ev.rawY - touchDown.y) in <lambda>()
360 ev.rawY - target.centerOnDisplayY()) in <lambda>()
443 isForcefulFlingTowardsTarget(target, ev.rawX, ev.rawY, velX, velY) in <lambda>()
481 val deltaY = event.rawY - event.y in <lambda>()
539 rawY: Float, in <lambda>()
550 if (rawY < target.centerOnDisplayY()) velY > flingToTargetMinVelocity in <lambda>()
565 val yIntercept = rawY - slope * rawX in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DRelativeTouchListener.kt105 val dy = touchDown?.let { ev.rawY - it.y } ?: 0f in onTouch()
117 touchDown = PointF(ev.rawX, ev.rawY) in onTouch()
175 val deltaY = event.rawY - event.y in addMovement()
/frameworks/base/core/java/android/view/
DVerifiedMotionEvent.java179 float rawY, in VerifiedMotionEvent() argument
187 this.mRawY = rawY;
341 float rawY = in.readFloat(); in VerifiedMotionEvent() local
349 this.mRawY = rawY; in VerifiedMotionEvent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragDetector.java83 float rawY = ev.getRawY(0); in onMotionEvent() local
84 mInputDownPoint.set(rawX, rawY); in onMotionEvent()
DMoveToDesktopAnimator.kt87 mostRecentInput.set(ev.rawX, ev.rawY) in updatePosition()
93 setTaskPosition(ev.rawX, ev.rawY) in updatePosition()
DDragResizeInputListener.java407 float rawY = e.getRawY(0); in handleMotionEvent() local
413 rawX, rawY); in handleMotionEvent()
438 final float rawY = e.getRawY(dragPointerIndex); in handleMotionEvent() local
439 final Rect taskBounds = mCallback.onDragPositioningMove(rawX, rawY); in handleMotionEvent()
DMaximizeMenu.kt188 val y = ev.rawY in isValidMenuInput()
/frameworks/base/core/tests/coretests/src/android/view/
DVerifiedMotionEventTest.kt52 assertEquals(RAW_Y, event.rawY, 0f) in testConstructor()
183 assertEquals(event1.rawY, event2.rawY, 0f) in compareVerifiedMotionEvents()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/ui/view/
DMotionEventExt.kt35 return MathUtils.dist(this.rawX, this.rawY, xOnDisplay, yOnDisplay) in rawDistanceFrom()
/frameworks/base/core/jni/
Dandroid_view_VerifiedMotionEvent.cpp37 event.rawY, event.actionMasked, event.downTimeNanos, event.flags, in android_view_VerifiedMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSettingsButtonOnTouchListener.kt36 downPositionDisplayCoords.set(motionEvent.rawX, motionEvent.rawY) in onTouch()
DKeyguardQuickAffordanceOnTouchListener.kt51 downDisplayCoords.set(event.rawX, event.rawY) in onTouch()
/frameworks/native/services/inputflinger/tests/
DTestEventMatchers.h340 explicit WithRawCoordsMatcher(size_t pointerIndex, float rawX, float rawY) in WithRawCoordsMatcher() argument
341 : mPointerIndex(pointerIndex), mRawX(rawX), mRawY(rawY) {} in WithRawCoordsMatcher()
372 inline WithRawCoordsMatcher WithRawCoords(float rawX, float rawY) { in WithRawCoords() argument
373 return WithRawCoordsMatcher(0, rawX, rawY); in WithRawCoords()
376 inline WithRawCoordsMatcher WithPointerRawCoords(size_t pointerIndex, float rawX, float rawY) { in WithPointerRawCoords() argument
377 return WithRawCoordsMatcher(pointerIndex, rawX, rawY); in WithPointerRawCoords()
DInputReader_test.cpp4366 float toCookedX(float rawX, float rawY);
4367 float toCookedY(float rawX, float rawY);
4370 float toDisplayY(int32_t rawY);
4371 float toDisplayY(int32_t rawY, int32_t displayHeight);
4456 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
4457 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
4461 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
4462 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
4463 return rawY; in toCookedY()
4474 float TouchInputMapperTest::toDisplayY(int32_t rawY) { in toDisplayY() argument
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java664 int rawY = 0; in dragDownUntilLineChange() local
674 rawY = (int) ev.getRawY(); in dragDownUntilLineChange()
684 return rawY; in dragDownUntilLineChange()
692 float rawY = y + r.top; in obtainTouchEvent() local
694 MotionEvent.obtain(downTime, eventTime, action, rawX, rawY, 0); in obtainTouchEvent()
705 float rawY = y + r.top; in obtainTouchEventWithPointerId() local
708 coordinates.y = rawY; in obtainTouchEventWithPointerId()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp426 float rawY = y * scaleY; in mapCorrectedToRawImplSimple() local
429 rawY = std::min(mapperInfo->mArrayHeight - 1, std::max(0.f, rawY)); in mapCorrectedToRawImplSimple()
432 coordPairs[i + 1] = static_cast<T>(std::round(rawY)); in mapCorrectedToRawImplSimple()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DUdfpsOverlayInteractor.kt71 udfpsOverlayParams.value.overlayBounds.contains(ev.rawX.toInt(), ev.rawY.toInt()) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarExpandedViewDragController.kt115 pinController.onDragUpdate(ev.rawX, ev.rawY) in <lambda>()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp100 ASSERT_EQ(event.getRawY(0), verified.rawY); in TEST()
DStructLayout_test.cpp189 sizeof(VerifiedMotionEvent::rawX) + sizeof(VerifiedMotionEvent::rawY) + in TestVerifiedEventSize()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java615 private View findViewForTouch(int rawX, int rawY) { in findViewForTouch() argument
618 int containerCoordsY = rawY - mContainerRawLocation[1]; in findViewForTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DScreenshotShelfView.kt66 tmpRect.contains(ev2.rawX.toInt(), ev2.rawY.toInt()) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotShelfViewProxy.kt335 !getTouchRegion().contains(ev.rawX.toInt(), ev.rawY.toInt()) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt718 y: Float = this.rawY, in copy()

12