Searched refs:rawX (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 2507 float toCookedX(float rawX, float rawY); 2508 float toCookedY(float rawX, float rawY); 2509 float toDisplayX(int32_t rawX); 2570 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument 2571 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX() 2572 return rawX; in toCookedX() 2575 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument 2576 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY() 2580 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX() argument 2581 return float(rawX - RAW_X_MIN) * DISPLAY_WIDTH / (RAW_X_MAX - RAW_X_MIN + 1); in toDisplayX() [all …]
|
/frameworks/native/libs/input/ |
D | Input.cpp | 396 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/ |
D | ZoomButtonsController.java | 612 private View findViewForTouch(int rawX, int rawY) { in findViewForTouch() argument 614 int containerCoordsX = rawX - mContainerRawLocation[0]; in findViewForTouch()
|