Lines Matching refs:rawX
3233 float toCookedX(float rawX, float rawY);
3234 float toCookedY(float rawX, float rawY);
3235 float toDisplayX(int32_t rawX);
3236 float toDisplayX(int32_t rawX, int32_t displayWidth);
3315 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
3316 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
3317 return rawX; in toCookedX()
3320 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
3321 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
3325 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX() argument
3326 return toDisplayX(rawX, DISPLAY_WIDTH); in toDisplayX()
3329 float TouchInputMapperTest::toDisplayX(int32_t rawX, int32_t displayWidth) { in toDisplayX() argument
3330 return float(rawX - RAW_X_MIN) * displayWidth / (RAW_X_MAX - RAW_X_MIN + 1); in toDisplayX()
4087 int32_t rawX = 100; in TEST_F() local
4095 float x = toDisplayX(rawX); in TEST_F()
4109 processDown(mapper, rawX, rawY); in TEST_F()
4132 int32_t rawX = 100; in TEST_F() local
4135 float x = toDisplayX(toCookedX(rawX, rawY)); in TEST_F()
4136 float y = toDisplayY(toCookedY(rawX, rawY)); in TEST_F()
4138 processDown(mapper, rawX, rawY); in TEST_F()
5452 int32_t rawX = 100; in TEST_F() local
5463 float x = toDisplayX(rawX); in TEST_F()
5474 processPosition(mapper, rawX, rawY); in TEST_F()
5503 int32_t rawX = 100; in TEST_F() local
5510 float x = toDisplayX(rawX); in TEST_F()
5518 processPosition(mapper, rawX, rawY); in TEST_F()
5546 int32_t rawX = 100; in TEST_F() local
5553 float x = toDisplayX(rawX); in TEST_F()
5561 processPosition(mapper, rawX, rawY); in TEST_F()
5596 int32_t rawX = 100; in TEST_F() local
5601 float x = toDisplayX(rawX); in TEST_F()
5607 processPosition(mapper, rawX, rawY); in TEST_F()
5635 int32_t rawX = 100; in TEST_F() local
5639 float x = toDisplayX(rawX); in TEST_F()
5643 processPosition(mapper, rawX, rawY); in TEST_F()