Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2499 float toCookedX(float rawX, float rawY);
2500 float toCookedY(float rawX, float rawY);
2501 float toDisplayX(int32_t rawX);
2562 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
2563 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
2564 return rawX; in toCookedX()
2567 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
2568 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
2572 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX() argument
2573 return float(rawX - RAW_X_MIN) * DISPLAY_WIDTH / (RAW_X_MAX - RAW_X_MIN + 1); in toDisplayX()
[all …]
/frameworks/native/libs/input/
DInput.cpp393 float rawX = getRawX(0); in transform() local
395 transformPoint(matrix, rawX + oldXOffset, rawY + oldYOffset, &newX, &newY); in transform()
396 mXOffset = newX - rawX; in transform()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java612 private View findViewForTouch(int rawX, int rawY) { in findViewForTouch() argument
614 int containerCoordsX = rawX - mContainerRawLocation[0]; in findViewForTouch()
DEditor.java3461 final float rawX = ev.getRawX();
3477 final float newPosX = rawX - mTouchToWindowOffsetX + mHotspotX;