Lines Matching refs:rawX
5205 float toCookedX(float rawX, float rawY);
5206 float toCookedY(float rawX, float rawY);
5207 float toDisplayX(int32_t rawX);
5208 float toDisplayX(int32_t rawX, int32_t displayWidth);
5295 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX() argument
5296 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedX()
5297 return rawX; in toCookedX()
5300 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY() argument
5301 AFFINE_TRANSFORM.applyTo(rawX, rawY); in toCookedY()
5305 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX() argument
5306 return toDisplayX(rawX, DISPLAY_WIDTH); in toDisplayX()
5309 float TouchInputMapperTest::toDisplayX(int32_t rawX, int32_t displayWidth) { in toDisplayX() argument
5310 return float(rawX - RAW_X_MIN) * displayWidth / (RAW_X_MAX - RAW_X_MIN + 1); in toDisplayX()
6215 int32_t rawX = 100; in TEST_F() local
6223 float x = toDisplayX(rawX); in TEST_F()
6237 processDown(mapper, rawX, rawY); in TEST_F()
6259 int32_t rawX = 100; in TEST_F() local
6262 float x = toDisplayX(toCookedX(rawX, rawY)); in TEST_F()
6263 float y = toDisplayY(toCookedY(rawX, rawY)); in TEST_F()
6265 processDown(mapper, rawX, rawY); in TEST_F()
7923 int32_t rawX = 100; in TEST_F() local
7934 float x = toDisplayX(rawX); in TEST_F()
7945 processPosition(mapper, rawX, rawY); in TEST_F()
7973 int32_t rawX = 100; in TEST_F() local
7980 float x = toDisplayX(rawX); in TEST_F()
7988 processPosition(mapper, rawX, rawY); in TEST_F()
8015 int32_t rawX = 100; in TEST_F() local
8022 float x = toDisplayX(rawX); in TEST_F()
8030 processPosition(mapper, rawX, rawY); in TEST_F()
8063 int32_t rawX = 100; in TEST_F() local
8068 float x = toDisplayX(rawX); in TEST_F()
8074 processPosition(mapper, rawX, rawY); in TEST_F()
8101 int32_t rawX = 100; in TEST_F() local
8105 float x = toDisplayX(rawX); in TEST_F()
8109 processPosition(mapper, rawX, rawY); in TEST_F()