Home
last modified time | relevance | path

Searched refs:rawY (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);
2502 float toDisplayY(int32_t rawY);
2562 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
2563 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
2567 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
2568 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
2569 return rawY; in toCookedY()
2576 float TouchInputMapperTest::toDisplayY(int32_t rawY) { in toDisplayY() argument
2577 return float(rawY - RAW_Y_MIN) * DISPLAY_HEIGHT / (RAW_Y_MAX - RAW_Y_MIN + 1); in toDisplayY()
[all …]
/frameworks/native/libs/input/
DInput.cpp394 float rawY = getRawY(0); in transform() local
395 transformPoint(matrix, rawX + oldXOffset, rawY + oldYOffset, &newX, &newY); in transform()
397 mYOffset = newY - rawY; in transform()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java612 private View findViewForTouch(int rawX, int rawY) { in findViewForTouch() argument
615 int containerCoordsY = rawY - mContainerRawLocation[1]; in findViewForTouch()
DEditor.java3462 final float rawY = ev.getRawY();
3466 final float currentVerticalOffset = rawY - mPositionY - mLastParentY;
3478 final float newPosY = rawY - mTouchToWindowOffsetY + mTouchOffsetY;