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) {
2563 AFFINE_TRANSFORM.applyTo(rawX, rawY);
2564 return rawX;
2567 float TouchInputMapperTest::toCookedY(float rawX, float rawY) {
2568 AFFINE_TRANSFORM.applyTo(rawX, rawY);
2572 float TouchInputMapperTest::toDisplayX(int32_t rawX) {
2573 return float(rawX - RAW_X_MIN) * DISPLAY_WIDTH / (RAW_X_MAX - RAW_X_MIN + 1);
3223 int32_t rawX = 100;
3231 float x = toDisplayX(rawX);
3245 processDown(mapper, rawX, rawY);
3268 int32_t rawX = 100;
3271 float x = toDisplayX(toCookedX(rawX, rawY));
3272 float y = toDisplayY(toCookedY(rawX, rawY));
3274 processDown(mapper, rawX, rawY);
4500 int32_t rawX = 100;
4511 float x = toDisplayX(rawX);
4522 processPosition(mapper, rawX, rawY);
4551 int32_t rawX = 100;
4558 float x = toDisplayX(rawX);
4566 processPosition(mapper, rawX, rawY);
4594 int32_t rawX = 100;
4601 float x = toDisplayX(rawX);
4609 processPosition(mapper, rawX, rawY);
4644 int32_t rawX = 100;
4649 float x = toDisplayX(rawX);
4655 processPosition(mapper, rawX, rawY);
4677 int32_t rawX = 100;
4681 float x = toDisplayX(rawX);
4685 processPosition(mapper, rawX, rawY);