Home
last modified time | relevance | path

Searched refs:deviceContext (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DTouchButtonAccumulator.cpp28 void TouchButtonAccumulator::configure(InputDeviceContext& deviceContext) { in configure() argument
29 mHaveBtnTouch = deviceContext.hasScanCode(BTN_TOUCH); in configure()
30 mHaveStylus = deviceContext.hasScanCode(BTN_TOOL_PEN) || in configure()
31 deviceContext.hasScanCode(BTN_TOOL_RUBBER) || in configure()
32 deviceContext.hasScanCode(BTN_TOOL_BRUSH) || in configure()
33 deviceContext.hasScanCode(BTN_TOOL_PENCIL) || in configure()
34 deviceContext.hasScanCode(BTN_TOOL_AIRBRUSH); in configure()
37 void TouchButtonAccumulator::reset(InputDeviceContext& deviceContext) { in reset() argument
38 mBtnTouch = deviceContext.isKeyPressed(BTN_TOUCH); in reset()
39 mBtnStylus = deviceContext.isKeyPressed(BTN_STYLUS); in reset()
[all …]
DCursorButtonAccumulator.cpp28 void CursorButtonAccumulator::reset(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()
DSingleTouchMotionAccumulator.cpp28 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()
DCursorScrollAccumulator.cpp28 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
DTouchButtonAccumulator.h31 void configure(InputDeviceContext& deviceContext);
32 void reset(InputDeviceContext& deviceContext);
DCursorScrollAccumulator.h32 void configure(InputDeviceContext& deviceContext);
33 void reset(InputDeviceContext& deviceContext);
DCursorButtonAccumulator.h31 void reset(InputDeviceContext& deviceContext);
DSingleTouchMotionAccumulator.h33 void reset(InputDeviceContext& deviceContext);
/frameworks/native/services/inputflinger/reader/mapper/
DMultiTouchInputMapper.h73 void configure(InputDeviceContext& deviceContext, size_t slotCount, bool usingSlotsProtocol);
74 void reset(InputDeviceContext& deviceContext);
94 explicit MultiTouchInputMapper(InputDeviceContext& deviceContext);
DMultiTouchInputMapper.cpp41 void MultiTouchMotionAccumulator::configure(InputDeviceContext& deviceContext, size_t slotCount, in configure() argument
45 mHaveStylus = deviceContext.hasAbsoluteAxis(ABS_MT_TOOL_TYPE); in configure()
51 void MultiTouchMotionAccumulator::reset(InputDeviceContext& deviceContext) { in reset() argument
65 status_t status = deviceContext.getAbsoluteAxisValue(ABS_MT_SLOT, &initialSlot); in reset()
220 MultiTouchInputMapper::MultiTouchInputMapper(InputDeviceContext& deviceContext) in MultiTouchInputMapper() argument
221 : TouchInputMapper(deviceContext) {} in MultiTouchInputMapper()
DSwitchInputMapper.cpp23 SwitchInputMapper::SwitchInputMapper(InputDeviceContext& deviceContext) in SwitchInputMapper() argument
24 : InputMapper(deviceContext), mSwitchValues(0), mUpdatedSwitchMask(0) {} in SwitchInputMapper()
DExternalStylusInputMapper.cpp26 ExternalStylusInputMapper::ExternalStylusInputMapper(InputDeviceContext& deviceContext) in ExternalStylusInputMapper() argument
27 : InputMapper(deviceContext) {} in ExternalStylusInputMapper()
DCursorInputMapper.h39 void reset(InputDeviceContext& deviceContext);
56 explicit CursorInputMapper(InputDeviceContext& deviceContext);
DVibratorInputMapper.cpp23 VibratorInputMapper::VibratorInputMapper(InputDeviceContext& deviceContext) in VibratorInputMapper() argument
24 : InputMapper(deviceContext), mVibrating(false) {} in VibratorInputMapper()
DSingleTouchInputMapper.cpp21 SingleTouchInputMapper::SingleTouchInputMapper(InputDeviceContext& deviceContext) in SingleTouchInputMapper() argument
22 : TouchInputMapper(deviceContext) {} in SingleTouchInputMapper()
DInputMapper.cpp25 InputMapper::InputMapper(InputDeviceContext& deviceContext) : mDeviceContext(deviceContext) {} in InputMapper() argument
DRotaryEncoderInputMapper.cpp25 RotaryEncoderInputMapper::RotaryEncoderInputMapper(InputDeviceContext& deviceContext) in RotaryEncoderInputMapper() argument
26 : InputMapper(deviceContext), mOrientation(DISPLAY_ORIENTATION_0) { in RotaryEncoderInputMapper()
DSingleTouchInputMapper.h27 explicit SingleTouchInputMapper(InputDeviceContext& deviceContext);
DSwitchInputMapper.h26 explicit SwitchInputMapper(InputDeviceContext& deviceContext);
DRotaryEncoderInputMapper.h27 explicit RotaryEncoderInputMapper(InputDeviceContext& deviceContext);
DExternalStylusInputMapper.h30 explicit ExternalStylusInputMapper(InputDeviceContext& deviceContext);
DVibratorInputMapper.h26 explicit VibratorInputMapper(InputDeviceContext& deviceContext);
DInputMapper.h42 explicit InputMapper(InputDeviceContext& deviceContext);
DCursorInputMapper.cpp33 void CursorMotionAccumulator::reset(InputDeviceContext& deviceContext) { in reset() argument
61 CursorInputMapper::CursorInputMapper(InputDeviceContext& deviceContext) in CursorInputMapper() argument
62 : InputMapper(deviceContext) {} in CursorInputMapper()
DJoystickInputMapper.h26 explicit JoystickInputMapper(InputDeviceContext& deviceContext);

12