/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.cpp | 30 InputMapper::InputMapper(InputDeviceContext& deviceContext, in InputMapper() function in android::InputMapper 34 InputMapper::~InputMapper() {} in ~InputMapper() 36 void InputMapper::populateDeviceInfo(InputDeviceInfo& info) { in populateDeviceInfo() 40 void InputMapper::dump(std::string& dump) {} in dump() 42 std::list<NotifyArgs> InputMapper::reconfigure(nsecs_t when, const InputReaderConfiguration& config, in reconfigure() 47 std::list<NotifyArgs> InputMapper::reset(nsecs_t when) { in reset() 51 std::list<NotifyArgs> InputMapper::timeoutExpired(nsecs_t when) { in timeoutExpired() 55 int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() 59 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() 63 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState() [all …]
|
D | ExternalStylusInputMapper.cpp | 28 : InputMapper(deviceContext, readerConfig), mTouchButtonAccumulator(deviceContext) {} in ExternalStylusInputMapper() 35 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 61 return InputMapper::reset(when); in reset()
|
D | RotaryEncoderInputMapper.cpp | 32 : InputMapper(deviceContext, readerConfig), mOrientation(ui::ROTATION_0) { in RotaryEncoderInputMapper() 43 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 72 std::list<NotifyArgs> out = InputMapper::reconfigure(when, config, changes); in reconfigure() 101 return InputMapper::reset(when); in reset()
|
D | InputMapper.h | 54 class InputMapper { 65 virtual ~InputMapper(); 126 explicit InputMapper(InputDeviceContext& deviceContext,
|
D | VibratorInputMapper.cpp | 25 : InputMapper(deviceContext, readerConfig), mVibrating(false), mSequence(0) {} in VibratorInputMapper() 34 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
|
D | SwitchInputMapper.h | 23 class SwitchInputMapper : public InputMapper {
|
D | JoystickInputMapper.cpp | 25 : InputMapper(deviceContext, readerConfig) {} in JoystickInputMapper() 34 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 110 std::list<NotifyArgs> out = InputMapper::reconfigure(when, config, changes); in reconfigure() 259 return InputMapper::reset(when); in reset()
|
D | SensorInputMapper.cpp | 57 : InputMapper(deviceContext, readerConfig) {} in SensorInputMapper() 78 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 123 std::list<NotifyArgs> out = InputMapper::reconfigure(when, config, changes); in reconfigure() 193 return InputMapper::reset(when); in reset()
|
D | ExternalStylusInputMapper.h | 27 class ExternalStylusInputMapper : public InputMapper {
|
D | RotaryEncoderInputMapper.h | 27 class RotaryEncoderInputMapper : public InputMapper {
|
D | SwitchInputMapper.cpp | 25 : InputMapper(deviceContext, readerConfig), mSwitchValues(0), mUpdatedSwitchMask(0) {} in SwitchInputMapper()
|
D | KeyboardInputMapper.cpp | 101 : InputMapper(deviceContext, readerConfig), mSource(source) {} in KeyboardInputMapper() 133 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 174 std::list<NotifyArgs> out = InputMapper::reconfigure(when, config, changes); in reconfigure() 235 out += InputMapper::reset(when); in reset()
|
D | VibratorInputMapper.h | 23 class VibratorInputMapper : public InputMapper {
|
D | CursorInputMapper.cpp | 79 : InputMapper(deviceContext, readerConfig), in CursorInputMapper() 88 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 143 std::list<NotifyArgs> out = InputMapper::reconfigure(when, readerConfig, changes); in reconfigure() 215 return InputMapper::reset(when); in reset()
|
D | TouchpadInputMapper.cpp | 236 : InputMapper(deviceContext, readerConfig), in TouchpadInputMapper() 284 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 406 out += InputMapper::reset(when); in reset()
|
D | TouchpadInputMapper.h | 43 class TouchpadInputMapper : public InputMapper {
|
D | CursorInputMapper.h | 50 class CursorInputMapper : public InputMapper {
|
D | JoystickInputMapper.h | 23 class JoystickInputMapper : public InputMapper {
|
D | KeyboardInputMapper.h | 24 class KeyboardInputMapper : public InputMapper {
|
D | SensorInputMapper.h | 28 class SensorInputMapper : public InputMapper {
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 166 for_each_mapper([&dump](InputMapper& mapper) { mapper.dump(dump); }); in dump() 177 std::vector<std::unique_ptr<InputMapper>> mappers; in addEmptyEventHubDevice() 357 for_each_mapper([this, when, &readerConfig, changes, &out](InputMapper& mapper) { in configureInternal() 374 for_each_mapper([&](InputMapper& mapper) { out += mapper.reset(when); }); in reset() 411 for_each_mapper_in_subdevice(rawEvent->deviceId, [&](InputMapper& mapper) { in process() 438 for_each_mapper([&](InputMapper& mapper) { out += mapper.timeoutExpired(when); }); in timeoutExpired() 444 for_each_mapper([&](InputMapper& mapper) { out += mapper.updateExternalStylusState(state); }); in updateExternalStylusState() 457 [&outDeviceInfo](InputMapper& mapper) { mapper.populateDeviceInfo(outDeviceInfo); }); in getDeviceInfo() 466 return getState(sourceMask, keyCode, &InputMapper::getKeyCodeState); in getKeyCodeState() 470 return getState(sourceMask, scanCode, &InputMapper::getScanCodeState); in getScanCodeState() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | InputMapperTest.h | 73 std::unique_ptr<InputMapper> mMapper; 136 std::list<NotifyArgs> process(InputMapper& mapper, nsecs_t when, nsecs_t readTime, int32_t type, 138 void resetMapper(InputMapper& mapper, nsecs_t when); 140 std::list<NotifyArgs> handleTimeout(InputMapper& mapper, nsecs_t when);
|
D | InputMapperTest.cpp | 189 std::list<NotifyArgs> InputMapperTest::process(InputMapper& mapper, nsecs_t when, nsecs_t readTime, in process() 207 void InputMapperTest::resetMapper(InputMapper& mapper, nsecs_t when) { in resetMapper() 216 std::list<NotifyArgs> InputMapperTest::handleTimeout(InputMapper& mapper, nsecs_t when) { in handleTimeout()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 39 class InputMapper; variable 193 using MapperVector = std::vector<std::unique_ptr<InputMapper>>; 213 typedef int32_t (InputMapper::*GetStateFunc)(uint32_t sourceMask, int32_t code); 216 std::vector<std::unique_ptr<InputMapper>> createMappers( 234 inline void for_each_mapper(std::function<void(InputMapper&)> f) { in for_each_mapper() 246 std::function<void(InputMapper&)> f) { in for_each_mapper_in_subdevice() 270 std::function<std::optional<T>(InputMapper&)> f) const { in first_in_mappers()
|
D | InputReaderContext.h | 30 class InputMapper; variable
|