Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DInput.cpp447 float rawX = getRawX(0); in transform() local
449 matrix->mapXY(SkFloatToScalar(rawX + oldXOffset), SkFloatToScalar(rawY + oldYOffset), in transform()
453 float newXOffset = newX - rawX; in transform()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java613 private View findViewForTouch(int rawX, int rawY) { in findViewForTouch() argument
615 int containerCoordsX = rawX - mContainerRawLocation[0]; in findViewForTouch()
DEditor.java3159 final float rawX = ev.getRawX(); in onTouchEvent() local
3175 final float newPosX = rawX - mTouchToWindowOffsetX + mHotspotX; in onTouchEvent()
/frameworks/base/services/input/tests/
DInputReader_test.cpp2477 float toDisplayX(int32_t rawX);
2532 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX() argument
2533 return float(rawX - RAW_X_MIN) * DISPLAY_WIDTH / (RAW_X_MAX - RAW_X_MIN + 1); in toDisplayX()
3183 int32_t rawX = 100; in TEST_F() local
3191 float x = toDisplayX(rawX); in TEST_F()
3205 processDown(mapper, rawX, rawY); in TEST_F()
4436 int32_t rawX = 100; in TEST_F() local
4447 float x = toDisplayX(rawX); in TEST_F()
4458 processPosition(mapper, rawX, rawY); in TEST_F()
4487 int32_t rawX = 100; in TEST_F() local
[all …]