Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2807 float toCookedX(float rawX, float rawY);
2808 float toCookedY(float rawX, float rawY);
2809 float toDisplayX(int32_t rawX);
2810 float toDisplayX(int32_t rawX, int32_t displayWidth);
2882 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
2883 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
2884 return rawX; in toCookedX()
2887 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
2888 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
2892 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX() argument
[all …]
/frameworks/native/libs/input/
DInput.cpp396 float rawX = getRawX(0); in transform() local
398 transformPoint(matrix, rawX + oldXOffset, rawY + oldYOffset, &newX, &newY); in transform()
399 mXOffset = newX - rawX; in transform()
/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()