Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DRelativeTouchListener.kt100 val dx = ev.rawX - touchDown.x in onDown()
113 touchDown.set(ev.rawX, ev.rawY) in onDown()
158 val deltaX = event.rawX - event.x in addMovement()
/frameworks/base/core/java/android/view/
DVerifiedMotionEvent.java174 float rawX, in VerifiedMotionEvent() argument
182 this.mRawX = rawX;
343 float rawX = in.readFloat(); in VerifiedMotionEvent() local
351 this.mRawX = rawX; in VerifiedMotionEvent()
/frameworks/base/core/jni/
Dandroid_view_VerifiedMotionEvent.cpp36 event.eventTimeNanos, event.source, event.displayId, event.rawX, in android_view_VerifiedMotionEvent()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp353 float rawX = x * scaleX; in mapCorrectedToRawImplSimple() local
356 rawX = std::min(mArrayWidth - 1, std::max(0.f, rawX)); in mapCorrectedToRawImplSimple()
359 coordPairs[i] = static_cast<T>(std::round(rawX)); in mapCorrectedToRawImplSimple()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp44 const float rawX = entry.pointerCoords[0].getAxisValue(AMOTION_EVENT_AXIS_X); in verifiedMotionEventFromMotionEntry() local
49 rawX, in verifiedMotionEventFromMotionEntry()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp95 ASSERT_EQ(event.getRawX(0), verified.rawX); 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
617 int containerCoordsX = rawX - mContainerRawLocation[0]; in findViewForTouch()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3863 float toCookedX(float rawX, float rawY);
3864 float toCookedY(float rawX, float rawY);
3865 float toDisplayX(int32_t rawX);
3866 float toDisplayX(int32_t rawX, int32_t displayWidth);
3945 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
3946 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
3947 return rawX; in toCookedX()
3950 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
3951 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
3955 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX() argument
[all …]
DInputDispatcher_test.cpp1716 EXPECT_EQ(motionArgs.pointerCoords[0].getX(), verifiedMotion.rawX); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java659 float rawX = x + r.left; in obtainTouchEvent() local
662 MotionEvent.obtain(downTime, eventTime, action, rawX, rawY, 0); in obtainTouchEvent()
672 float rawX = x + r.left; in obtainTouchEventWithPointerId() local
675 coordinates.x = rawX; in obtainTouchEventWithPointerId()
/frameworks/native/libs/input/
DInput.cpp396 const float rawX = getRawXCursorPosition(); in getXCursorPosition() local
397 return rawX * mXScale + mXOffset; in getXCursorPosition()
/frameworks/native/include/input/
DInput.h813 float rawX; member