/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 | 26 : InputMapper(deviceContext), mOrientation(DISPLAY_ORIENTATION_0) { in RotaryEncoderInputMapper() 37 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 63 InputMapper::configure(when, config, changes); in configure() 81 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 | 40 class InputMapper { 42 explicit InputMapper(InputDeviceContext& deviceContext); 43 virtual ~InputMapper();
|
D | VibratorInputMapper.cpp | 24 : InputMapper(deviceContext), mVibrating(false) {} in VibratorInputMapper() 33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
|
D | KeyboardInputMapper.cpp | 92 : InputMapper(deviceContext), mSource(source), mKeyboardType(keyboardType) {} in KeyboardInputMapper() 115 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 149 InputMapper::configure(when, config, changes); in configure() 206 InputMapper::reset(when); in reset()
|
D | SwitchInputMapper.h | 24 class SwitchInputMapper : public InputMapper {
|
D | RotaryEncoderInputMapper.h | 25 class RotaryEncoderInputMapper : public InputMapper {
|
D | ExternalStylusInputMapper.h | 28 class ExternalStylusInputMapper : public InputMapper {
|
D | JoystickInputMapper.cpp | 24 : InputMapper(deviceContext) {} in JoystickInputMapper() 33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 111 InputMapper::configure(when, config, changes); in configure() 252 InputMapper::reset(when); in reset()
|
D | VibratorInputMapper.h | 24 class VibratorInputMapper : public InputMapper {
|
D | CursorInputMapper.cpp | 62 : InputMapper(deviceContext) {} in CursorInputMapper() 71 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 114 InputMapper::configure(when, config, changes); in configure() 252 InputMapper::reset(when); in reset()
|
D | SwitchInputMapper.cpp | 24 : InputMapper(deviceContext), mSwitchValues(0), mUpdatedSwitchMask(0) {} in SwitchInputMapper()
|
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 | TouchInputMapper.h | 133 class TouchInputMapper : public InputMapper {
|
D | TouchInputMapper.cpp | 160 : InputMapper(deviceContext), in TouchInputMapper() 180 InputMapper::populateDeviceInfo(info); in populateDeviceInfo() 342 InputMapper::configure(when, config, changes); in configure() 1390 InputMapper::reset(when); in reset()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 126 for_each_mapper([&dump](InputMapper& mapper) { mapper.dump(dump); }); in dump() 135 std::vector<std::unique_ptr<InputMapper>> mappers; in addEventHubDevice() 310 for_each_mapper([this, when, config, changes](InputMapper& mapper) { in configure() 324 for_each_mapper([when](InputMapper& mapper) { mapper.reset(when); }); in reset() 359 for_each_mapper_in_subdevice(rawEvent->deviceId, [rawEvent](InputMapper& mapper) { in process() 368 for_each_mapper([when](InputMapper& mapper) { mapper.timeoutExpired(when); }); in timeoutExpired() 372 for_each_mapper([state](InputMapper& mapper) { mapper.updateExternalStylusState(state); }); in updateExternalStylusState() 379 [outDeviceInfo](InputMapper& mapper) { mapper.populateDeviceInfo(outDeviceInfo); }); in getDeviceInfo() 383 return getState(sourceMask, keyCode, &InputMapper::getKeyCodeState); in getKeyCodeState() 387 return getState(sourceMask, scanCode, &InputMapper::getScanCodeState); in getScanCodeState() [all …]
|
D | Android.bp | 35 "mapper/InputMapper.cpp",
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 36 class InputMapper; variable 127 using MapperVector = std::vector<std::unique_ptr<InputMapper>>; 138 typedef int32_t (InputMapper::*GetStateFunc)(uint32_t sourceMask, int32_t code); 145 inline void for_each_mapper(std::function<void(InputMapper&)> f) { in for_each_mapper() 157 std::function<void(InputMapper&)> f) { in for_each_mapper_in_subdevice() 180 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 | 36 class InputMapper; variable
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 950 class FakeInputMapper : public InputMapper { 969 : InputMapper(deviceContext), in FakeInputMapper() 1051 InputMapper::populateDeviceInfo(deviceInfo); in populateDeviceInfo() 2312 static void process(InputMapper& mapper, nsecs_t when, int32_t type, int32_t code, in process()
|