Lines Matching refs:rawX
2940 float toCookedX(float rawX, float rawY);
2941 float toCookedY(float rawX, float rawY);
2942 float toDisplayX(int32_t rawX);
2943 float toDisplayX(int32_t rawX, int32_t displayWidth);
3015 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
3016 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
3017 return rawX; in toCookedX()
3020 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
3021 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
3025 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX() argument
3026 return toDisplayX(rawX, DISPLAY_WIDTH); in toDisplayX()
3029 float TouchInputMapperTest::toDisplayX(int32_t rawX, int32_t displayWidth) { in toDisplayX() argument
3030 return float(rawX - RAW_X_MIN) * displayWidth / (RAW_X_MAX - RAW_X_MIN + 1); in toDisplayX()
3783 int32_t rawX = 100; in TEST_F() local
3791 float x = toDisplayX(rawX); in TEST_F()
3805 processDown(mapper, rawX, rawY); in TEST_F()
3828 int32_t rawX = 100; in TEST_F() local
3831 float x = toDisplayX(toCookedX(rawX, rawY)); in TEST_F()
3832 float y = toDisplayY(toCookedY(rawX, rawY)); in TEST_F()
3834 processDown(mapper, rawX, rawY); in TEST_F()
5148 int32_t rawX = 100; in TEST_F() local
5159 float x = toDisplayX(rawX); in TEST_F()
5170 processPosition(mapper, rawX, rawY); in TEST_F()
5199 int32_t rawX = 100; in TEST_F() local
5206 float x = toDisplayX(rawX); in TEST_F()
5214 processPosition(mapper, rawX, rawY); in TEST_F()
5242 int32_t rawX = 100; in TEST_F() local
5249 float x = toDisplayX(rawX); in TEST_F()
5257 processPosition(mapper, rawX, rawY); in TEST_F()
5292 int32_t rawX = 100; in TEST_F() local
5297 float x = toDisplayX(rawX); in TEST_F()
5303 processPosition(mapper, rawX, rawY); in TEST_F()
5331 int32_t rawX = 100; in TEST_F() local
5335 float x = toDisplayX(rawX); in TEST_F()
5339 processPosition(mapper, rawX, rawY); in TEST_F()