/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.cpp | 25 InputMapper::InputMapper(InputDeviceContext& deviceContext) : mDeviceContext(deviceContext) {} in InputMapper() function in android::InputMapper 27 InputMapper::~InputMapper() {} in ~InputMapper() 29 void InputMapper::populateDeviceInfo(InputDeviceInfo* info) { in populateDeviceInfo() 33 void InputMapper::dump(std::string& dump) {} in dump() 35 void InputMapper::configure(nsecs_t when, const InputReaderConfiguration* config, in configure() 38 void InputMapper::reset(nsecs_t when) {} in reset() 40 void InputMapper::timeoutExpired(nsecs_t when) {} in timeoutExpired() 42 int32_t InputMapper::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState() 46 int32_t InputMapper::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState() 50 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState() [all …]
|
D | RotaryEncoderInputMapper.cpp | 28 : InputMapper(deviceContext), mOrientation(DISPLAY_ORIENTATION_0) { in RotaryEncoderInputMapper() 39 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 65 InputMapper::configure(when, config, changes); in configure() 83 InputMapper::reset(when); in reset()
|
D | ExternalStylusInputMapper.cpp | 27 : InputMapper(deviceContext) {} in ExternalStylusInputMapper() 34 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 56 InputMapper::reset(when); in reset()
|
D | InputMapper.h | 41 class InputMapper { 43 explicit InputMapper(InputDeviceContext& deviceContext); 44 virtual ~InputMapper();
|
D | VibratorInputMapper.cpp | 24 : InputMapper(deviceContext), mVibrating(false), mSequence(0) {} in VibratorInputMapper() 33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
|
D | SwitchInputMapper.h | 24 class SwitchInputMapper : public InputMapper {
|
D | KeyboardInputMapper.cpp | 94 : InputMapper(deviceContext), mSource(source), mKeyboardType(keyboardType) {} in KeyboardInputMapper() 117 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 149 InputMapper::configure(when, config, changes); in configure() 206 InputMapper::reset(when); in reset()
|
D | JoystickInputMapper.cpp | 24 : InputMapper(deviceContext) {} in JoystickInputMapper() 33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 109 InputMapper::configure(when, config, changes); in configure() 257 InputMapper::reset(when); in reset()
|
D | ExternalStylusInputMapper.h | 28 class ExternalStylusInputMapper : public InputMapper {
|
D | RotaryEncoderInputMapper.h | 25 class RotaryEncoderInputMapper : public InputMapper {
|
D | SensorInputMapper.cpp | 55 : InputMapper(deviceContext) {} in SensorInputMapper() 82 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 126 InputMapper::configure(when, config, changes); in configure() 195 InputMapper::reset(when); in reset()
|
D | VibratorInputMapper.h | 24 class VibratorInputMapper : public InputMapper {
|
D | SwitchInputMapper.cpp | 24 : InputMapper(deviceContext), mSwitchValues(0), mUpdatedSwitchMask(0) {} in SwitchInputMapper()
|
D | CursorInputMapper.cpp | 65 : InputMapper(deviceContext) {} in CursorInputMapper() 74 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 121 InputMapper::configure(when, config, changes); in configure() 281 InputMapper::reset(when); in reset()
|
D | CursorInputMapper.h | 54 class CursorInputMapper : public InputMapper {
|
D | JoystickInputMapper.h | 24 class JoystickInputMapper : public InputMapper {
|
D | KeyboardInputMapper.h | 24 class KeyboardInputMapper : public InputMapper {
|
D | SensorInputMapper.h | 26 class SensorInputMapper : public InputMapper {
|
D | TouchInputMapper.h | 136 class TouchInputMapper : public InputMapper {
|
D | TouchInputMapper.cpp | 167 : InputMapper(deviceContext), in TouchInputMapper() 189 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 352 InputMapper::configure(when, config, changes); in configure() 1410 InputMapper::reset(when); in reset()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 137 for_each_mapper([&dump](InputMapper& mapper) { mapper.dump(dump); }); in dump() 149 std::vector<std::unique_ptr<InputMapper>> mappers; in addEventHubDevice() 354 for_each_mapper([this, when, config, changes](InputMapper& mapper) { in configure() 368 for_each_mapper([when](InputMapper& mapper) { mapper.reset(when); }); in reset() 403 for_each_mapper_in_subdevice(rawEvent->deviceId, [rawEvent](InputMapper& mapper) { in process() 412 for_each_mapper([when](InputMapper& mapper) { mapper.timeoutExpired(when); }); in timeoutExpired() 416 for_each_mapper([state](InputMapper& mapper) { mapper.updateExternalStylusState(state); }); in updateExternalStylusState() 424 [&outDeviceInfo](InputMapper& mapper) { mapper.populateDeviceInfo(&outDeviceInfo); }); in getDeviceInfo() 433 return getState(sourceMask, keyCode, &InputMapper::getKeyCodeState); in getKeyCodeState() 437 return getState(sourceMask, scanCode, &InputMapper::getScanCodeState); in getScanCodeState() [all …]
|
D | Android.bp | 46 "mapper/InputMapper.cpp",
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 41 class InputMapper; variable 162 using MapperVector = std::vector<std::unique_ptr<InputMapper>>; 177 typedef int32_t (InputMapper::*GetStateFunc)(uint32_t sourceMask, int32_t code); 184 inline void for_each_mapper(std::function<void(InputMapper&)> f) { in for_each_mapper() 196 std::function<void(InputMapper&)> f) { in for_each_mapper_in_subdevice() 219 inline std::optional<T> first_in_mappers(std::function<std::optional<T>(InputMapper&)> f) { in first_in_mappers()
|
D | InputReaderContext.h | 29 class InputMapper; variable
|
D | InputReader.h | 38 class InputMapper; variable
|