Home
last modified time | relevance | path

Searched refs:InputMapper (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.cpp25 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 …]
DRotaryEncoderInputMapper.cpp26 : 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()
DExternalStylusInputMapper.cpp27 : InputMapper(deviceContext) {} in ExternalStylusInputMapper()
34 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
56 InputMapper::reset(when); in reset()
DInputMapper.h40 class InputMapper {
42 explicit InputMapper(InputDeviceContext& deviceContext);
43 virtual ~InputMapper();
DVibratorInputMapper.cpp24 : InputMapper(deviceContext), mVibrating(false) {} in VibratorInputMapper()
33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
DKeyboardInputMapper.cpp92 : 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()
DSwitchInputMapper.h24 class SwitchInputMapper : public InputMapper {
DRotaryEncoderInputMapper.h25 class RotaryEncoderInputMapper : public InputMapper {
DExternalStylusInputMapper.h28 class ExternalStylusInputMapper : public InputMapper {
DJoystickInputMapper.cpp24 : InputMapper(deviceContext) {} in JoystickInputMapper()
33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
111 InputMapper::configure(when, config, changes); in configure()
252 InputMapper::reset(when); in reset()
DVibratorInputMapper.h24 class VibratorInputMapper : public InputMapper {
DCursorInputMapper.cpp62 : InputMapper(deviceContext) {} in CursorInputMapper()
71 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
114 InputMapper::configure(when, config, changes); in configure()
252 InputMapper::reset(when); in reset()
DSwitchInputMapper.cpp24 : InputMapper(deviceContext), mSwitchValues(0), mUpdatedSwitchMask(0) {} in SwitchInputMapper()
DCursorInputMapper.h54 class CursorInputMapper : public InputMapper {
DJoystickInputMapper.h24 class JoystickInputMapper : public InputMapper {
DKeyboardInputMapper.h24 class KeyboardInputMapper : public InputMapper {
DTouchInputMapper.h133 class TouchInputMapper : public InputMapper {
DTouchInputMapper.cpp160 : 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/
DInputDevice.cpp126 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 …]
DAndroid.bp35 "mapper/InputMapper.cpp",
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h36 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()
DInputReaderContext.h29 class InputMapper; variable
DInputReader.h36 class InputMapper; variable
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp950 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()