Home
last modified time | relevance | path

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

12

/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.cpp28 : 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()
DExternalStylusInputMapper.cpp27 : InputMapper(deviceContext) {} in ExternalStylusInputMapper()
34 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
56 InputMapper::reset(when); in reset()
DInputMapper.h41 class InputMapper {
43 explicit InputMapper(InputDeviceContext& deviceContext);
44 virtual ~InputMapper();
DVibratorInputMapper.cpp24 : InputMapper(deviceContext), mVibrating(false), mSequence(0) {} in VibratorInputMapper()
33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
DSwitchInputMapper.h24 class SwitchInputMapper : public InputMapper {
DKeyboardInputMapper.cpp94 : 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()
DJoystickInputMapper.cpp24 : InputMapper(deviceContext) {} in JoystickInputMapper()
33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
109 InputMapper::configure(when, config, changes); in configure()
257 InputMapper::reset(when); in reset()
DExternalStylusInputMapper.h28 class ExternalStylusInputMapper : public InputMapper {
DRotaryEncoderInputMapper.h25 class RotaryEncoderInputMapper : public InputMapper {
DSensorInputMapper.cpp55 : InputMapper(deviceContext) {} in SensorInputMapper()
82 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
126 InputMapper::configure(when, config, changes); in configure()
195 InputMapper::reset(when); in reset()
DVibratorInputMapper.h24 class VibratorInputMapper : public InputMapper {
DSwitchInputMapper.cpp24 : InputMapper(deviceContext), mSwitchValues(0), mUpdatedSwitchMask(0) {} in SwitchInputMapper()
DCursorInputMapper.cpp65 : InputMapper(deviceContext) {} in CursorInputMapper()
74 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
121 InputMapper::configure(when, config, changes); in configure()
281 InputMapper::reset(when); in reset()
DCursorInputMapper.h54 class CursorInputMapper : public InputMapper {
DJoystickInputMapper.h24 class JoystickInputMapper : public InputMapper {
DKeyboardInputMapper.h24 class KeyboardInputMapper : public InputMapper {
DSensorInputMapper.h26 class SensorInputMapper : public InputMapper {
DTouchInputMapper.h136 class TouchInputMapper : public InputMapper {
DTouchInputMapper.cpp167 : 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/
DInputDevice.cpp137 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 …]
DAndroid.bp46 "mapper/InputMapper.cpp",
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h41 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()
DInputReaderContext.h29 class InputMapper; variable
DInputReader.h38 class InputMapper; variable

12