Home | History | Annotate | Download | only in tests

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) {
3016 AFFINE_TRANSFORM.applyTo(rawX, rawY);
3017 return rawX;
3020 float TouchInputMapperTest::toCookedY(float rawX, float rawY) {
3021 AFFINE_TRANSFORM.applyTo(rawX, rawY);
3025 float TouchInputMapperTest::toDisplayX(int32_t rawX) {
3026 return toDisplayX(rawX, DISPLAY_WIDTH);
3029 float TouchInputMapperTest::toDisplayX(int32_t rawX, int32_t displayWidth) {
3030 return float(rawX - RAW_X_MIN) * displayWidth / (RAW_X_MAX - RAW_X_MIN + 1);
3783 int32_t rawX = 100;
3791 float x = toDisplayX(rawX);
3805 processDown(mapper, rawX, rawY);
3828 int32_t rawX = 100;
3831 float x = toDisplayX(toCookedX(rawX, rawY));
3832 float y = toDisplayY(toCookedY(rawX, rawY));
3834 processDown(mapper, rawX, rawY);
5148 int32_t rawX = 100;
5159 float x = toDisplayX(rawX);
5170 processPosition(mapper, rawX, rawY);
5199 int32_t rawX = 100;
5206 float x = toDisplayX(rawX);
5214 processPosition(mapper, rawX, rawY);
5242 int32_t rawX = 100;
5249 float x = toDisplayX(rawX);
5257 processPosition(mapper, rawX, rawY);
5292 int32_t rawX = 100;
5297 float x = toDisplayX(rawX);
5303 processPosition(mapper, rawX, rawY);
5331 int32_t rawX = 100;
5335 float x = toDisplayX(rawX);
5339 processPosition(mapper, rawX, rawY);