Searched refs:RAW_X_MAX (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 2457 static const int32_t RAW_X_MAX; member in android::TouchInputMapperTest 2510 const int32_t TouchInputMapperTest::RAW_X_MAX = 1019; member in android::TouchInputMapperTest 2529 const float TouchInputMapperTest::X_PRECISION = float(RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH; 2535 avg(float(DISPLAY_WIDTH) / (RAW_X_MAX - RAW_X_MIN + 1), 2559 return int32_t(displayX * (RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH + RAW_X_MIN); in toRawX() 2577 return float(rawX - RAW_X_MIN) * DISPLAY_WIDTH / (RAW_X_MAX - RAW_X_MIN + 1); in toDisplayX() 2610 RAW_X_MIN, RAW_X_MAX, 0, 0); in prepareAxes() 3180 processDown(mapper, RAW_X_MAX - toRawX(75) + RAW_X_MIN, toRawY(50)); in TEST_F() 3193 processDown(mapper, RAW_X_MAX - toRawX(50) + RAW_X_MIN, RAW_Y_MAX - toRawY(75) + RAW_Y_MIN); in TEST_F() 3755 RAW_X_MIN, RAW_X_MAX, 0, 0); in prepareAxes()
|