Searched refs:RAW_X_MAX (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 3810 static const int32_t RAW_X_MAX; member in android::TouchInputMapperTest 3873 const int32_t TouchInputMapperTest::RAW_X_MAX = 1019; member in android::TouchInputMapperTest 3892 const float TouchInputMapperTest::X_PRECISION = float(RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH; 3895 float(RAW_X_MAX - RAW_X_MIN + 1) / VIRTUAL_DISPLAY_WIDTH; 3902 avg(float(DISPLAY_WIDTH) / (RAW_X_MAX - RAW_X_MIN + 1), 3938 return int32_t(displayX * (RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH + RAW_X_MIN); in toRawX() 3960 return float(rawX - RAW_X_MIN) * displayWidth / (RAW_X_MAX - RAW_X_MIN + 1); in toDisplayX() 3996 mFakeEventHub->addAbsoluteAxis(EVENTHUB_ID, ABS_X, RAW_X_MIN, RAW_X_MAX, 0, 0); in prepareAxes() 4647 processDown(mapper, RAW_X_MAX - toRawX(75) + RAW_X_MIN, toRawY(50)); in TEST_F() 4661 processDown(mapper, RAW_X_MAX - toRawX(50) + RAW_X_MIN, RAW_Y_MAX - toRawY(75) + RAW_Y_MIN); in TEST_F() [all …]
|