Lines Matching refs:TouchInputMapperTest

2755 class TouchInputMapperTest : public InputMapperTest {  class
2816 const int32_t TouchInputMapperTest::RAW_X_MIN = 25;
2817 const int32_t TouchInputMapperTest::RAW_X_MAX = 1019;
2818 const int32_t TouchInputMapperTest::RAW_Y_MIN = 30;
2819 const int32_t TouchInputMapperTest::RAW_Y_MAX = 1009;
2820 const int32_t TouchInputMapperTest::RAW_TOUCH_MIN = 0;
2821 const int32_t TouchInputMapperTest::RAW_TOUCH_MAX = 31;
2822 const int32_t TouchInputMapperTest::RAW_TOOL_MIN = 0;
2823 const int32_t TouchInputMapperTest::RAW_TOOL_MAX = 15;
2824 const int32_t TouchInputMapperTest::RAW_PRESSURE_MIN = RAW_TOUCH_MIN;
2825 const int32_t TouchInputMapperTest::RAW_PRESSURE_MAX = RAW_TOUCH_MAX;
2826 const int32_t TouchInputMapperTest::RAW_ORIENTATION_MIN = -7;
2827 const int32_t TouchInputMapperTest::RAW_ORIENTATION_MAX = 7;
2828 const int32_t TouchInputMapperTest::RAW_DISTANCE_MIN = 0;
2829 const int32_t TouchInputMapperTest::RAW_DISTANCE_MAX = 7;
2830 const int32_t TouchInputMapperTest::RAW_TILT_MIN = 0;
2831 const int32_t TouchInputMapperTest::RAW_TILT_MAX = 150;
2832 const int32_t TouchInputMapperTest::RAW_ID_MIN = 0;
2833 const int32_t TouchInputMapperTest::RAW_ID_MAX = 9;
2834 const int32_t TouchInputMapperTest::RAW_SLOT_MIN = 0;
2835 const int32_t TouchInputMapperTest::RAW_SLOT_MAX = 9;
2836 const float TouchInputMapperTest::X_PRECISION = float(RAW_X_MAX - RAW_X_MIN + 1) / DISPLAY_WIDTH;
2837 const float TouchInputMapperTest::Y_PRECISION = float(RAW_Y_MAX - RAW_Y_MIN + 1) / DISPLAY_HEIGHT;
2838 const float TouchInputMapperTest::X_PRECISION_VIRTUAL =
2840 const float TouchInputMapperTest::Y_PRECISION_VIRTUAL =
2842 const TouchAffineTransformation TouchInputMapperTest::AFFINE_TRANSFORM =
2845 const float TouchInputMapperTest::GEOMETRIC_SCALE =
2849 const VirtualKeyDefinition TouchInputMapperTest::VIRTUAL_KEYS[2] = {
2854 void TouchInputMapperTest::prepareDisplay(int32_t orientation) { in prepareDisplay()
2858 void TouchInputMapperTest::prepareVirtualDisplay(int32_t orientation) { in prepareVirtualDisplay()
2863 void TouchInputMapperTest::prepareVirtualKeys() { in prepareVirtualKeys()
2870 void TouchInputMapperTest::prepareLocationCalibration() { in prepareLocationCalibration()
2874 int32_t TouchInputMapperTest::toRawX(float displayX) { in toRawX()
2878 int32_t TouchInputMapperTest::toRawY(float displayY) { in toRawY()
2882 float TouchInputMapperTest::toCookedX(float rawX, float rawY) { in toCookedX()
2887 float TouchInputMapperTest::toCookedY(float rawX, float rawY) { in toCookedY()
2892 float TouchInputMapperTest::toDisplayX(int32_t rawX) { in toDisplayX()
2896 float TouchInputMapperTest::toDisplayX(int32_t rawX, int32_t displayWidth) { in toDisplayX()
2900 float TouchInputMapperTest::toDisplayY(int32_t rawY) { in toDisplayY()
2904 float TouchInputMapperTest::toDisplayY(int32_t rawY, int32_t displayHeight) { in toDisplayY()
2911 class SingleTouchInputMapperTest : public TouchInputMapperTest {
4238 class MultiTouchInputMapperTest : public TouchInputMapperTest {