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(InputDevice* device) : mDevice(device), mContext(device->getContext()) {} 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(device), 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.cpp26 ExternalStylusInputMapper::ExternalStylusInputMapper(InputDevice* device) : InputMapper(device) {} in ExternalStylusInputMapper()
33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
56 InputMapper::reset(when); in reset()
DInputMapper.h40 class InputMapper {
42 explicit InputMapper(InputDevice* device);
43 virtual ~InputMapper();
DVibratorInputMapper.cpp24 : InputMapper(device), mVibrating(false) {} in VibratorInputMapper()
33 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
DKeyboardInputMapper.cpp91 : InputMapper(device), mSource(source), mKeyboardType(keyboardType) {} in KeyboardInputMapper()
114 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
132 InputMapper::configure(when, config, changes); in configure()
188 InputMapper::reset(when); in reset()
DJoystickInputMapper.cpp23 JoystickInputMapper::JoystickInputMapper(InputDevice* device) : InputMapper(device) {} in JoystickInputMapper()
32 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
110 InputMapper::configure(when, config, changes); in configure()
250 InputMapper::reset(when); in reset()
DSwitchInputMapper.h24 class SwitchInputMapper : public InputMapper {
DRotaryEncoderInputMapper.h25 class RotaryEncoderInputMapper : public InputMapper {
DExternalStylusInputMapper.h28 class ExternalStylusInputMapper : public InputMapper {
DCursorInputMapper.cpp62 CursorInputMapper::CursorInputMapper(InputDevice* device) : InputMapper(device) {} in CursorInputMapper()
71 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
114 InputMapper::configure(when, config, changes); in configure()
274 InputMapper::reset(when); in reset()
DVibratorInputMapper.h24 class VibratorInputMapper : public InputMapper {
DSwitchInputMapper.cpp24 : InputMapper(device), mSwitchValues(0), mUpdatedSwitchMask(0) {} in SwitchInputMapper()
DCursorInputMapper.h54 class CursorInputMapper : public InputMapper {
DKeyboardInputMapper.h24 class KeyboardInputMapper : public InputMapper {
DJoystickInputMapper.h24 class JoystickInputMapper : public InputMapper {
DTouchInputMapper.h195 class TouchInputMapper : public InputMapper {
DTouchInputMapper.cpp165 : InputMapper(device), in TouchInputMapper()
185 InputMapper::populateDeviceInfo(info); in populateDeviceInfo()
347 InputMapper::configure(when, config, changes); in configure()
1401 InputMapper::reset(when); in reset()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp108 InputMapper* mapper = mMappers[i]; in dump()
113 void InputDevice::addMapper(InputMapper* mapper) { in addMapper()
166 for (InputMapper* mapper : mMappers) { in configure()
174 for (InputMapper* mapper : mMappers) { in reset()
211 for (InputMapper* mapper : mMappers) { in process()
220 for (InputMapper* mapper : mMappers) { in timeoutExpired()
226 for (InputMapper* mapper : mMappers) { in updateExternalStylusState()
234 for (InputMapper* mapper : mMappers) { in getDeviceInfo()
240 return getState(sourceMask, keyCode, &InputMapper::getKeyCodeState); in getKeyCodeState()
244 return getState(sourceMask, scanCode, &InputMapper::getScanCodeState); in getScanCodeState()
[all …]
DAndroid.bp37 "mapper/InputMapper.cpp",
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h34 class InputMapper; variable
68 void addMapper(InputMapper* mapper);
126 std::vector<InputMapper*> mMappers;
134 typedef int32_t (InputMapper::*GetStateFunc)(uint32_t sourceMask, int32_t code);
DInputReaderContext.h29 class InputMapper; variable
DInputReader.h36 class InputMapper; variable
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp873 class FakeInputMapper : public InputMapper {
890 InputMapper(device), in FakeInputMapper()
949 InputMapper::populateDeviceInfo(deviceInfo); in populateDeviceInfo()
1833 void addMapperAndConfigure(InputMapper* mapper) { in addMapperAndConfigure()
1851 static void process(InputMapper* mapper, nsecs_t when, int32_t type, in process()