Lines Matching refs:rawX

2499     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()
3223 int32_t rawX = 100; in TEST_F() local
3231 float x = toDisplayX(rawX); in TEST_F()
3245 processDown(mapper, rawX, rawY); in TEST_F()
3268 int32_t rawX = 100; in TEST_F() local
3271 float x = toDisplayX(toCookedX(rawX, rawY)); in TEST_F()
3272 float y = toDisplayY(toCookedY(rawX, rawY)); in TEST_F()
3274 processDown(mapper, rawX, rawY); in TEST_F()
4500 int32_t rawX = 100; in TEST_F() local
4511 float x = toDisplayX(rawX); in TEST_F()
4522 processPosition(mapper, rawX, rawY); in TEST_F()
4551 int32_t rawX = 100; in TEST_F() local
4558 float x = toDisplayX(rawX); in TEST_F()
4566 processPosition(mapper, rawX, rawY); in TEST_F()
4594 int32_t rawX = 100; in TEST_F() local
4601 float x = toDisplayX(rawX); in TEST_F()
4609 processPosition(mapper, rawX, rawY); in TEST_F()
4644 int32_t rawX = 100; in TEST_F() local
4649 float x = toDisplayX(rawX); in TEST_F()
4655 processPosition(mapper, rawX, rawY); in TEST_F()
4677 int32_t rawX = 100; in TEST_F() local
4681 float x = toDisplayX(rawX); in TEST_F()
4685 processPosition(mapper, rawX, rawY); in TEST_F()