Lines Matching refs:TouchInputMapperTest

3807 class TouchInputMapperTest : public InputMapperTest {  class
3872 const int32_t TouchInputMapperTest::RAW_X_MIN = 25;
3873 const int32_t TouchInputMapperTest::RAW_X_MAX = 1019;
3874 const int32_t TouchInputMapperTest::RAW_Y_MIN = 30;
3875 const int32_t TouchInputMapperTest::RAW_Y_MAX = 1009;
3876 const int32_t TouchInputMapperTest::RAW_TOUCH_MIN = 0;
3877 const int32_t TouchInputMapperTest::RAW_TOUCH_MAX = 31;
3878 const int32_t TouchInputMapperTest::RAW_TOOL_MIN = 0;
3879 const int32_t TouchInputMapperTest::RAW_TOOL_MAX = 15;
3880 const int32_t TouchInputMapperTest::RAW_PRESSURE_MIN = 0;
3881 const int32_t TouchInputMapperTest::RAW_PRESSURE_MAX = 255;
3882 const int32_t TouchInputMapperTest::RAW_ORIENTATION_MIN = -7;
3883 const int32_t TouchInputMapperTest::RAW_ORIENTATION_MAX = 7;
3884 const int32_t TouchInputMapperTest::RAW_DISTANCE_MIN = 0;
3885 const int32_t TouchInputMapperTest::RAW_DISTANCE_MAX = 7;
3886 const int32_t TouchInputMapperTest::RAW_TILT_MIN = 0;
3887 const int32_t TouchInputMapperTest::RAW_TILT_MAX = 150;
3888 const int32_t TouchInputMapperTest::RAW_ID_MIN = 0;
3889 const int32_t TouchInputMapperTest::RAW_ID_MAX = 9;
3890 const int32_t TouchInputMapperTest::RAW_SLOT_MIN = 0;
3891 const int32_t TouchInputMapperTest::RAW_SLOT_MAX = 9;
3892 const float TouchInputMapperTest::X_PRECISION = float(RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH;
3893 const float TouchInputMapperTest::Y_PRECISION = float(RAW_Y_MAX - RAW_Y_MIN + 1) / DISPLAY_HEIGHT;
3894 const float TouchInputMapperTest::X_PRECISION_VIRTUAL =
3896 const float TouchInputMapperTest::Y_PRECISION_VIRTUAL =
3898 const TouchAffineTransformation TouchInputMapperTest::AFFINE_TRANSFORM =
3901 const float TouchInputMapperTest::GEOMETRIC_SCALE =
3905 const VirtualKeyDefinition TouchInputMapperTest::VIRTUAL_KEYS[2] = {
3910 void TouchInputMapperTest::prepareDisplay(int32_t orientation, std::optional<uint8_t> port) { in prepareDisplay()
3915 void TouchInputMapperTest::prepareSecondaryDisplay(ViewportType type, std::optional<uint8_t> port) { in prepareSecondaryDisplay()
3920 void TouchInputMapperTest::prepareVirtualDisplay(int32_t orientation) { in prepareVirtualDisplay()
3926 void TouchInputMapperTest::prepareVirtualKeys() { in prepareVirtualKeys()
3933 void TouchInputMapperTest::prepareLocationCalibration() { in prepareLocationCalibration()
3937 int32_t TouchInputMapperTest::toRawX(float displayX) { in toRawX()
3941 int32_t TouchInputMapperTest::toRawY(float displayY) { in toRawY()
3945 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX()
3950 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY()
3955 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX()
3959 float TouchInputMapperTest::toDisplayX(int32_t rawX, int32_t displayWidth) { in toDisplayX()
3963 float TouchInputMapperTest::toDisplayY(int32_t rawY) { in toDisplayY()
3967 float TouchInputMapperTest::toDisplayY(int32_t rawY, int32_t displayHeight) { in toDisplayY()
3974 class SingleTouchInputMapperTest : public TouchInputMapperTest {
5277 class MultiTouchInputMapperTest : public TouchInputMapperTest {