Home
last modified time | relevance | path

Searched refs:RAW_X_MAX (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2758 static const int32_t RAW_X_MAX; member in android::TouchInputMapperTest
2817 const int32_t TouchInputMapperTest::RAW_X_MAX = 1019; member in android::TouchInputMapperTest
2836 const float TouchInputMapperTest::X_PRECISION = float(RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH;
2839 float(RAW_X_MAX - RAW_X_MIN + 1) / VIRTUAL_DISPLAY_WIDTH;
2846 avg(float(DISPLAY_WIDTH) / (RAW_X_MAX - RAW_X_MIN + 1),
2875 return int32_t(displayX * (RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH + RAW_X_MIN); in toRawX()
2897 return float(rawX - RAW_X_MIN) * displayWidth / (RAW_X_MAX - RAW_X_MIN + 1); in toDisplayX()
2934 RAW_X_MIN, RAW_X_MAX, 0, 0); in prepareAxes()
3603 processDown(mapper, RAW_X_MAX - toRawX(75) + RAW_X_MIN, toRawY(50)); in TEST_F()
3616 processDown(mapper, RAW_X_MAX - toRawX(50) + RAW_X_MIN, RAW_Y_MAX - toRawY(75) + RAW_Y_MIN); in TEST_F()
[all …]