Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3812 static const int32_t RAW_Y_MAX; member in android::TouchInputMapperTest
3875 const int32_t TouchInputMapperTest::RAW_Y_MAX = 1009; member in android::TouchInputMapperTest
3893 const float TouchInputMapperTest::Y_PRECISION = float(RAW_Y_MAX - RAW_Y_MIN + 1) / DISPLAY_HEIGHT;
3897 float(RAW_Y_MAX - RAW_Y_MIN + 1) / VIRTUAL_DISPLAY_HEIGHT;
3903 float(DISPLAY_HEIGHT) / (RAW_Y_MAX - RAW_Y_MIN + 1));
3942 return int32_t(displayY * (RAW_Y_MAX - RAW_Y_MIN + 1) / DISPLAY_HEIGHT + RAW_Y_MIN); in toRawY()
3968 return float(rawY - RAW_Y_MIN) * displayHeight / (RAW_Y_MAX - RAW_Y_MIN + 1); in toDisplayY()
3997 mFakeEventHub->addAbsoluteAxis(EVENTHUB_ID, ABS_Y, RAW_Y_MIN, RAW_Y_MAX, 0, 0); in prepareAxes()
4661 processDown(mapper, RAW_X_MAX - toRawX(50) + RAW_X_MIN, RAW_Y_MAX - toRawY(75) + RAW_Y_MIN); in TEST_F()
4675 processDown(mapper, toRawX(75), RAW_Y_MAX - toRawY(50) + RAW_Y_MIN); in TEST_F()
[all …]