/frameworks/native/services/inputflinger/reader/mapper/accumulator/ |
D | SingleTouchMotionAccumulator.cpp | 28 void SingleTouchMotionAccumulator::reset(InputDeviceContext& deviceContext) { in reset() argument 29 mAbsX = deviceContext.getAbsoluteAxisValue(ABS_X); in reset() 30 mAbsY = deviceContext.getAbsoluteAxisValue(ABS_Y); in reset() 31 mAbsPressure = deviceContext.getAbsoluteAxisValue(ABS_PRESSURE); in reset() 32 mAbsToolWidth = deviceContext.getAbsoluteAxisValue(ABS_TOOL_WIDTH); in reset() 33 mAbsDistance = deviceContext.getAbsoluteAxisValue(ABS_DISTANCE); in reset() 34 mAbsTiltX = deviceContext.getAbsoluteAxisValue(ABS_TILT_X); in reset() 35 mAbsTiltY = deviceContext.getAbsoluteAxisValue(ABS_TILT_Y); in reset()
|
D | CursorButtonAccumulator.cpp | 28 void CursorButtonAccumulator::reset(const InputDeviceContext& deviceContext) { in reset() argument 29 mBtnLeft = deviceContext.isKeyPressed(BTN_LEFT); in reset() 30 mBtnRight = deviceContext.isKeyPressed(BTN_RIGHT); in reset() 31 mBtnMiddle = deviceContext.isKeyPressed(BTN_MIDDLE); in reset() 32 mBtnBack = deviceContext.isKeyPressed(BTN_BACK); in reset() 33 mBtnSide = deviceContext.isKeyPressed(BTN_SIDE); in reset() 34 mBtnForward = deviceContext.isKeyPressed(BTN_FORWARD); in reset() 35 mBtnExtra = deviceContext.isKeyPressed(BTN_EXTRA); in reset() 36 mBtnTask = deviceContext.isKeyPressed(BTN_TASK); in reset()
|
D | CursorScrollAccumulator.cpp | 28 void CursorScrollAccumulator::configure(InputDeviceContext& deviceContext) { in configure() argument 29 mHaveRelWheel = deviceContext.hasRelativeAxis(REL_WHEEL); in configure() 30 mHaveRelHWheel = deviceContext.hasRelativeAxis(REL_HWHEEL); in configure() 33 void CursorScrollAccumulator::reset(InputDeviceContext& deviceContext) { in reset() argument
|
D | CursorScrollAccumulator.h | 31 void configure(InputDeviceContext& deviceContext); 32 void reset(InputDeviceContext& deviceContext);
|
D | TouchButtonAccumulator.h | 30 explicit TouchButtonAccumulator(const InputDeviceContext& deviceContext) in TouchButtonAccumulator() argument 31 : mDeviceContext(deviceContext){}; in TouchButtonAccumulator()
|
D | MultiTouchMotionAccumulator.cpp | 29 void MultiTouchMotionAccumulator::configure(const InputDeviceContext& deviceContext, in configure() argument 44 if (const auto status = deviceContext.getAbsoluteAxisValue(ABS_MT_SLOT, &initialSlot); in configure()
|
/frameworks/native/services/inputflinger/tests/ |
D | GestureConverter_test.cpp | 86 InputDeviceContext deviceContext(*mDevice, EVENTHUB_ID); in TEST_F() local 87 GestureConverter converter(*mReader->getContext(), deviceContext, DEVICE_ID); in TEST_F() 103 InputDeviceContext deviceContext(*mDevice, EVENTHUB_ID); in TEST_F() local 104 GestureConverter converter(*mReader->getContext(), deviceContext, DEVICE_ID); in TEST_F() 121 InputDeviceContext deviceContext(*mDevice, EVENTHUB_ID); in TEST_F() local 122 GestureConverter converter(*mReader->getContext(), deviceContext, DEVICE_ID); in TEST_F() 191 InputDeviceContext deviceContext(*mDevice, EVENTHUB_ID); in TEST_F() local 192 GestureConverter converter(*mReader->getContext(), deviceContext, DEVICE_ID); in TEST_F() 252 InputDeviceContext deviceContext(*mDevice, EVENTHUB_ID); in TEST_F() local 253 GestureConverter converter(*mReader->getContext(), deviceContext, DEVICE_ID); in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.h | 39 void reset(InputDeviceContext& deviceContext); 57 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 130 explicit CursorInputMapper(InputDeviceContext& deviceContext, 140 static Parameters computeParameters(const InputDeviceContext& deviceContext);
|
D | TouchpadInputMapper.cpp | 286 TouchpadInputMapper::TouchpadInputMapper(InputDeviceContext& deviceContext, in TouchpadInputMapper() argument 288 : InputMapper(deviceContext, readerConfig), in TouchpadInputMapper() 291 mStateConverter(deviceContext, mMotionAccumulator), in TouchpadInputMapper() 292 mGestureConverter(*getContext(), deviceContext, getDeviceId()), in TouchpadInputMapper() 293 mCapturedEventConverter(*getContext(), deviceContext, mMotionAccumulator, getDeviceId()), in TouchpadInputMapper() 294 mMetricsId(metricsIdFromInputDeviceIdentifier(deviceContext.getDeviceIdentifier())) { in TouchpadInputMapper() 296 deviceContext.getAbsoluteAxisInfo(ABS_MT_SLOT, &slotAxisInfo); in TouchpadInputMapper() 300 deviceContext.getName().c_str()); in TouchpadInputMapper() 302 mMotionAccumulator.configure(deviceContext, slotAxisInfo.maxValue + 1, true); in TouchpadInputMapper() 305 mGestureInterpreter->SetHardwareProperties(createHardwareProperties(deviceContext)); in TouchpadInputMapper()
|
D | CapturedTouchpadEventConverter.cpp | 49 InputReaderContext& readerContext, const InputDeviceContext& deviceContext, in CapturedTouchpadEventConverter() argument 53 mDeviceContext(deviceContext), in CapturedTouchpadEventConverter() 55 mHasTouchMinor(deviceContext.hasAbsoluteAxis(ABS_MT_TOUCH_MINOR)), in CapturedTouchpadEventConverter() 56 mHasToolMinor(deviceContext.hasAbsoluteAxis(ABS_MT_WIDTH_MINOR)) { in CapturedTouchpadEventConverter() 58 deviceContext.getAbsoluteAxisInfo(ABS_MT_ORIENTATION, &orientationInfo); in CapturedTouchpadEventConverter() 69 deviceContext.getAbsoluteAxisInfo(ABS_MT_PRESSURE, &pressureInfo); in CapturedTouchpadEventConverter() 75 deviceContext.getAbsoluteAxisInfo(ABS_MT_TOUCH_MAJOR, &touchMajorInfo); in CapturedTouchpadEventConverter() 76 deviceContext.getAbsoluteAxisInfo(ABS_MT_WIDTH_MAJOR, &toolMajorInfo); in CapturedTouchpadEventConverter()
|
D | ExternalStylusInputMapper.cpp | 26 ExternalStylusInputMapper::ExternalStylusInputMapper(InputDeviceContext& deviceContext, in ExternalStylusInputMapper() argument 28 : InputMapper(deviceContext, readerConfig), mTouchButtonAccumulator(deviceContext) {} in ExternalStylusInputMapper()
|
D | SingleTouchInputMapper.h | 27 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 30 explicit SingleTouchInputMapper(InputDeviceContext& deviceContext,
|
D | SwitchInputMapper.h | 26 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 41 explicit SwitchInputMapper(InputDeviceContext& deviceContext,
|
D | InputMapper.h | 32 std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, in createInputMapper() argument 35 std::unique_ptr<T> mapper(new T(deviceContext, readerConfig, args...)); in createInputMapper() 61 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 126 explicit InputMapper(InputDeviceContext& deviceContext,
|
D | MultiTouchInputMapper.h | 27 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 30 explicit MultiTouchInputMapper(InputDeviceContext& deviceContext,
|
D | ExternalStylusInputMapper.h | 30 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 51 explicit ExternalStylusInputMapper(InputDeviceContext& deviceContext,
|
D | RotaryEncoderInputMapper.h | 29 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 50 explicit RotaryEncoderInputMapper(InputDeviceContext& deviceContext,
|
D | SwitchInputMapper.cpp | 23 SwitchInputMapper::SwitchInputMapper(InputDeviceContext& deviceContext, in SwitchInputMapper() argument 25 : InputMapper(deviceContext, readerConfig), mSwitchValues(0), mUpdatedSwitchMask(0) {} in SwitchInputMapper()
|
D | VibratorInputMapper.h | 26 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 51 explicit VibratorInputMapper(InputDeviceContext& deviceContext,
|
D | TouchpadInputMapper.h | 45 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 69 explicit TouchpadInputMapper(InputDeviceContext& deviceContext,
|
D | SingleTouchInputMapper.cpp | 21 SingleTouchInputMapper::SingleTouchInputMapper(InputDeviceContext& deviceContext, in SingleTouchInputMapper() argument 23 : TouchInputMapper(deviceContext, readerConfig) {} in SingleTouchInputMapper()
|
D | JoystickInputMapper.h | 26 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 92 explicit JoystickInputMapper(InputDeviceContext& deviceContext,
|
D | KeyboardInputMapper.h | 27 friend std::unique_ptr<T> createInputMapper(InputDeviceContext& deviceContext, 86 KeyboardInputMapper(InputDeviceContext& deviceContext,
|
D | InputMapper.cpp | 28 InputMapper::InputMapper(InputDeviceContext& deviceContext, in InputMapper() argument 30 : mDeviceContext(deviceContext) {} in InputMapper()
|
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | HardwareStateConverter.cpp | 29 HardwareStateConverter::HardwareStateConverter(const InputDeviceContext& deviceContext, in HardwareStateConverter() argument 31 : mDeviceContext(deviceContext), in HardwareStateConverter() 33 mTouchButtonAccumulator(deviceContext) { in HardwareStateConverter()
|