Lines Matching refs:TouchInputMapperTest
4308 class TouchInputMapperTest : public InputMapperTest { class
4375 const int32_t TouchInputMapperTest::RAW_X_MIN = 25;
4376 const int32_t TouchInputMapperTest::RAW_X_MAX = 1019;
4377 const int32_t TouchInputMapperTest::RAW_Y_MIN = 30;
4378 const int32_t TouchInputMapperTest::RAW_Y_MAX = 1009;
4379 const int32_t TouchInputMapperTest::RAW_TOUCH_MIN = 0;
4380 const int32_t TouchInputMapperTest::RAW_TOUCH_MAX = 31;
4381 const int32_t TouchInputMapperTest::RAW_TOOL_MIN = 0;
4382 const int32_t TouchInputMapperTest::RAW_TOOL_MAX = 15;
4383 const int32_t TouchInputMapperTest::RAW_PRESSURE_MIN = 0;
4384 const int32_t TouchInputMapperTest::RAW_PRESSURE_MAX = 255;
4385 const int32_t TouchInputMapperTest::RAW_ORIENTATION_MIN = -7;
4386 const int32_t TouchInputMapperTest::RAW_ORIENTATION_MAX = 7;
4387 const int32_t TouchInputMapperTest::RAW_DISTANCE_MIN = 0;
4388 const int32_t TouchInputMapperTest::RAW_DISTANCE_MAX = 7;
4389 const int32_t TouchInputMapperTest::RAW_TILT_MIN = 0;
4390 const int32_t TouchInputMapperTest::RAW_TILT_MAX = 150;
4391 const int32_t TouchInputMapperTest::RAW_ID_MIN = 0;
4392 const int32_t TouchInputMapperTest::RAW_ID_MAX = 9;
4393 const int32_t TouchInputMapperTest::RAW_SLOT_MIN = 0;
4394 const int32_t TouchInputMapperTest::RAW_SLOT_MAX = 9;
4395 const float TouchInputMapperTest::X_PRECISION = float(RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH;
4396 const float TouchInputMapperTest::Y_PRECISION = float(RAW_Y_MAX - RAW_Y_MIN + 1) / DISPLAY_HEIGHT;
4397 const float TouchInputMapperTest::X_PRECISION_VIRTUAL =
4399 const float TouchInputMapperTest::Y_PRECISION_VIRTUAL =
4401 const TouchAffineTransformation TouchInputMapperTest::AFFINE_TRANSFORM =
4404 const float TouchInputMapperTest::GEOMETRIC_SCALE =
4408 const VirtualKeyDefinition TouchInputMapperTest::VIRTUAL_KEYS[2] = {
4413 void TouchInputMapperTest::prepareDisplay(ui::Rotation orientation, std::optional<uint8_t> port) { in prepareDisplay()
4418 void TouchInputMapperTest::prepareSecondaryDisplay(ViewportType type, std::optional<uint8_t> port) { in prepareSecondaryDisplay()
4423 void TouchInputMapperTest::prepareVirtualDisplay(ui::Rotation orientation) { in prepareVirtualDisplay()
4429 void TouchInputMapperTest::prepareVirtualKeys() { in prepareVirtualKeys()
4436 void TouchInputMapperTest::prepareLocationCalibration() { in prepareLocationCalibration()
4440 int32_t TouchInputMapperTest::toRawX(float displayX) { in toRawX()
4444 int32_t TouchInputMapperTest::toRawY(float displayY) { in toRawY()
4448 int32_t TouchInputMapperTest::toRotatedRawX(float displayX) { in toRotatedRawX()
4452 int32_t TouchInputMapperTest::toRotatedRawY(float displayY) { in toRotatedRawY()
4456 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX()
4461 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY()
4466 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX()
4470 float TouchInputMapperTest::toDisplayX(int32_t rawX, int32_t displayWidth) { in toDisplayX()
4474 float TouchInputMapperTest::toDisplayY(int32_t rawY) { in toDisplayY()
4478 float TouchInputMapperTest::toDisplayY(int32_t rawY, int32_t displayHeight) { in toDisplayY()
4485 class SingleTouchInputMapperTest : public TouchInputMapperTest {
6509 static const int32_t PRECISION_RAW_X_MIN = TouchInputMapperTest::RAW_X_MIN;
6511 static const int32_t PRECISION_RAW_Y_MIN = TouchInputMapperTest::RAW_Y_MIN;
7076 class MultiTouchInputMapperTest : public TouchInputMapperTest {