Lines Matching refs:TouchInputMapperTest
2888 class TouchInputMapperTest : public InputMapperTest { class
2949 const int32_t TouchInputMapperTest::RAW_X_MIN = 25;
2950 const int32_t TouchInputMapperTest::RAW_X_MAX = 1019;
2951 const int32_t TouchInputMapperTest::RAW_Y_MIN = 30;
2952 const int32_t TouchInputMapperTest::RAW_Y_MAX = 1009;
2953 const int32_t TouchInputMapperTest::RAW_TOUCH_MIN = 0;
2954 const int32_t TouchInputMapperTest::RAW_TOUCH_MAX = 31;
2955 const int32_t TouchInputMapperTest::RAW_TOOL_MIN = 0;
2956 const int32_t TouchInputMapperTest::RAW_TOOL_MAX = 15;
2957 const int32_t TouchInputMapperTest::RAW_PRESSURE_MIN = 0;
2958 const int32_t TouchInputMapperTest::RAW_PRESSURE_MAX = 255;
2959 const int32_t TouchInputMapperTest::RAW_ORIENTATION_MIN = -7;
2960 const int32_t TouchInputMapperTest::RAW_ORIENTATION_MAX = 7;
2961 const int32_t TouchInputMapperTest::RAW_DISTANCE_MIN = 0;
2962 const int32_t TouchInputMapperTest::RAW_DISTANCE_MAX = 7;
2963 const int32_t TouchInputMapperTest::RAW_TILT_MIN = 0;
2964 const int32_t TouchInputMapperTest::RAW_TILT_MAX = 150;
2965 const int32_t TouchInputMapperTest::RAW_ID_MIN = 0;
2966 const int32_t TouchInputMapperTest::RAW_ID_MAX = 9;
2967 const int32_t TouchInputMapperTest::RAW_SLOT_MIN = 0;
2968 const int32_t TouchInputMapperTest::RAW_SLOT_MAX = 9;
2969 const float TouchInputMapperTest::X_PRECISION = float(RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH;
2970 const float TouchInputMapperTest::Y_PRECISION = float(RAW_Y_MAX - RAW_Y_MIN + 1) / DISPLAY_HEIGHT;
2971 const float TouchInputMapperTest::X_PRECISION_VIRTUAL =
2973 const float TouchInputMapperTest::Y_PRECISION_VIRTUAL =
2975 const TouchAffineTransformation TouchInputMapperTest::AFFINE_TRANSFORM =
2978 const float TouchInputMapperTest::GEOMETRIC_SCALE =
2982 const VirtualKeyDefinition TouchInputMapperTest::VIRTUAL_KEYS[2] = {
2987 void TouchInputMapperTest::prepareDisplay(int32_t orientation) { in prepareDisplay()
2991 void TouchInputMapperTest::prepareVirtualDisplay(int32_t orientation) { in prepareVirtualDisplay()
2996 void TouchInputMapperTest::prepareVirtualKeys() { in prepareVirtualKeys()
3003 void TouchInputMapperTest::prepareLocationCalibration() { in prepareLocationCalibration()
3007 int32_t TouchInputMapperTest::toRawX(float displayX) { in toRawX()
3011 int32_t TouchInputMapperTest::toRawY(float displayY) { in toRawY()
3015 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX()
3020 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY()
3025 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX()
3029 float TouchInputMapperTest::toDisplayX(int32_t rawX, int32_t displayWidth) { in toDisplayX()
3033 float TouchInputMapperTest::toDisplayY(int32_t rawY) { in toDisplayY()
3037 float TouchInputMapperTest::toDisplayY(int32_t rawY, int32_t displayHeight) { in toDisplayY()
3044 class SingleTouchInputMapperTest : public TouchInputMapperTest {
4371 class MultiTouchInputMapperTest : public TouchInputMapperTest {