Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3809 static const int32_t RAW_X_MIN; member in android::TouchInputMapperTest
3872 const int32_t TouchInputMapperTest::RAW_X_MIN = 25; 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 …]