Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DRelativeTouchListener.kt101 val dy = ev.rawY - touchDown.y in onDown()
113 touchDown.set(ev.rawX, ev.rawY) in onDown()
159 val deltaY = event.rawY - event.y in addMovement()
/frameworks/base/core/java/android/view/
DVerifiedMotionEvent.java175 float rawY, in VerifiedMotionEvent() argument
183 this.mRawY = rawY;
344 float rawY = in.readFloat(); in VerifiedMotionEvent() local
352 this.mRawY = rawY; in VerifiedMotionEvent()
/frameworks/base/core/jni/
Dandroid_view_VerifiedMotionEvent.cpp37 event.rawY, event.actionMasked, event.downTimeNanos, event.flags, in android_view_VerifiedMotionEvent()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp354 float rawY = y * scaleY; in mapCorrectedToRawImplSimple() local
357 rawY = std::min(mArrayHeight - 1, std::max(0.f, rawY)); in mapCorrectedToRawImplSimple()
360 coordPairs[i + 1] = static_cast<T>(std::round(rawY)); in mapCorrectedToRawImplSimple()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java632 int rawY = 0; in dragDownUntilLineChange() local
642 rawY = (int) ev.getRawY(); in dragDownUntilLineChange()
652 return rawY; in dragDownUntilLineChange()
660 float rawY = y + r.top; in obtainTouchEvent() local
662 MotionEvent.obtain(downTime, eventTime, action, rawX, rawY, 0); in obtainTouchEvent()
673 float rawY = y + r.top; in obtainTouchEventWithPointerId() local
676 coordinates.y = rawY; in obtainTouchEventWithPointerId()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp45 const float rawY = entry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_Y); in verifiedMotionEventFromMotionEntry() local
50 rawY, in verifiedMotionEventFromMotionEntry()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp96 ASSERT_EQ(event.getRawY(0), verified.rawY); in TEST()
DStructLayout_test.cpp127 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/native/services/inputflinger/tests/
DInputReader_test.cpp3863 float toCookedX(float rawX, float rawY);
3864 float toCookedY(float rawX, float rawY);
3867 float toDisplayY(int32_t rawY);
3868 float toDisplayY(int32_t rawY, int32_t displayHeight);
3945 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
3946 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
3950 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
3951 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
3952 return rawY; in toCookedY()
3963 float TouchInputMapperTest::toDisplayY(int32_t rawY) { in toDisplayY() argument
[all …]
DInputDispatcher_test.cpp1717 EXPECT_EQ(motionArgs.pointerCoords[0].getY(), verifiedMotion.rawY); in TEST_F()
/frameworks/native/libs/input/
DInput.cpp401 const float rawY = getRawYCursorPosition(); in getYCursorPosition() local
402 return rawY * mYScale + mYOffset; in getYCursorPosition()
/frameworks/native/include/input/
DInput.h814 float rawY; member