Lines Matching refs:InputDevice
399 InputDevice* device = createDeviceLocked(deviceId, controllerNumber, identifier, classes); in addDeviceLocked()
420 InputDevice* device = nullptr; in removeDeviceLocked()
447 InputDevice* InputReader::createDeviceLocked(int32_t deviceId, int32_t controllerNumber, in createDeviceLocked()
449 InputDevice* device = new InputDevice(&mContext, deviceId, bumpGenerationLocked(), in createDeviceLocked()
530 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked()
541 InputDevice* device = mDevices.valueAt(i); in timeoutExpiredLocked()
569 InputDevice* device = mDevices.valueAt(i); in refreshConfigurationLocked()
580 InputDevice* device = mDevices.valueAt(i); in updateGlobalMetaStateLocked()
595 InputDevice* device = mDevices.valueAt(i); in getExternalStylusDevicesLocked()
606 InputDevice* device = mDevices.valueAt(i); in dispatchExternalStylusState()
616 InputDevice* device, int32_t keyCode, int32_t scanCode) { in shouldDropVirtualKeyLocked()
631 InputDevice* device = mDevices.valueAt(i); in fadePointerLocked()
657 InputDevice* device = mDevices.valueAt(i); in getInputDevicesLocked()
670 return getStateLocked(deviceId, sourceMask, keyCode, &InputDevice::getKeyCodeState); in getKeyCodeState()
677 return getStateLocked(deviceId, sourceMask, scanCode, &InputDevice::getScanCodeState); in getScanCodeState()
683 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState); in getSwitchState()
692 InputDevice* device = mDevices.valueAt(deviceIndex); in getStateLocked()
700 InputDevice* device = mDevices.valueAt(i); in getStateLocked()
723 InputDevice* device = mDevices.valueAt(deviceIndex); in toggleCapsLockState()
745 InputDevice* device = mDevices.valueAt(deviceIndex); in markSupportedKeyCodesLocked()
754 InputDevice* device = mDevices.valueAt(i); in markSupportedKeyCodesLocked()
783 InputDevice* device = mDevices.valueAt(deviceIndex); in vibrate()
793 InputDevice* device = mDevices.valueAt(deviceIndex); in cancelVibrate()
803 InputDevice* device = mDevices.valueAt(deviceIndex); in isInputDeviceEnabled()
819 InputDevice* device = mDevices.valueAt(deviceIndex); in canDispatchToDisplay()
936 InputDevice* device, int32_t keyCode, int32_t scanCode) { in shouldDropVirtualKey()
983 InputDevice::InputDevice(InputReaderContext* context, int32_t id, int32_t generation, in InputDevice() function in android::InputDevice
990 InputDevice::~InputDevice() { in ~InputDevice()
998 bool InputDevice::isEnabled() { in isEnabled()
1002 void InputDevice::setEnabled(bool enabled, nsecs_t when) { in setEnabled()
1018 void InputDevice::dump(std::string& dump) { in dump()
1063 void InputDevice::addMapper(InputMapper* mapper) { in addMapper()
1067 void InputDevice::configure(nsecs_t when, const InputReaderConfiguration* config, uint32_t changes)… in configure()
1122 void InputDevice::reset(nsecs_t when) { in reset()
1132 void InputDevice::process(const RawEvent* rawEvents, size_t count) { in process()
1169 void InputDevice::timeoutExpired(nsecs_t when) { in timeoutExpired()
1175 void InputDevice::updateExternalStylusState(const StylusState& state) { in updateExternalStylusState()
1181 void InputDevice::getDeviceInfo(InputDeviceInfo* outDeviceInfo) { in getDeviceInfo()
1189 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
1193 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
1197 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
1201 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { in getState()
1218 bool InputDevice::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
1229 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, in vibrate()
1236 void InputDevice::cancelVibrate(int32_t token) { in cancelVibrate()
1242 void InputDevice::cancelTouch(nsecs_t when) { in cancelTouch()
1248 int32_t InputDevice::getMetaState() { in getMetaState()
1256 void InputDevice::updateMetaState(int32_t keyCode) { in updateMetaState()
1262 void InputDevice::fadePointer() { in fadePointer()
1268 void InputDevice::bumpGeneration() { in bumpGeneration()
1272 void InputDevice::notifyReset(nsecs_t when) { in notifyReset()
1277 std::optional<int32_t> InputDevice::getAssociatedDisplay() { in getAssociatedDisplay()
1294 void CursorButtonAccumulator::reset(InputDevice* device) { in reset()
1374 void CursorMotionAccumulator::reset(InputDevice* device) { in reset()
1408 void CursorScrollAccumulator::configure(InputDevice* device) { in configure()
1413 void CursorScrollAccumulator::reset(InputDevice* device) { in reset()
1447 void TouchButtonAccumulator::configure(InputDevice* device) { in configure()
1456 void TouchButtonAccumulator::reset(InputDevice* device) { in reset()
1683 void SingleTouchMotionAccumulator::reset(InputDevice* device) { in reset()
1743 void MultiTouchMotionAccumulator::configure(InputDevice* device, in configure()
1753 void MultiTouchMotionAccumulator::reset(InputDevice* device) { in reset()
1926 InputMapper::InputMapper(InputDevice* device) : in InputMapper()
2018 SwitchInputMapper::SwitchInputMapper(InputDevice* device) : in SwitchInputMapper()
2075 VibratorInputMapper::VibratorInputMapper(InputDevice* device) : in VibratorInputMapper()
2188 KeyboardInputMapper::KeyboardInputMapper(InputDevice* device, in KeyboardInputMapper()
2526 CursorInputMapper::CursorInputMapper(InputDevice* device) : in CursorInputMapper()
2946 RotaryEncoderInputMapper::RotaryEncoderInputMapper(InputDevice* device) : in RotaryEncoderInputMapper()
3058 TouchInputMapper::TouchInputMapper(InputDevice* device) : in TouchInputMapper()
6856 SingleTouchInputMapper::SingleTouchInputMapper(InputDevice* device) : in SingleTouchInputMapper()
6926 MultiTouchInputMapper::MultiTouchInputMapper(InputDevice* device) : in MultiTouchInputMapper()
7073 ExternalStylusInputMapper::ExternalStylusInputMapper(InputDevice* device) : in ExternalStylusInputMapper()
7103 InputDevice* device = getDevice(); in reset()
7145 JoystickInputMapper::JoystickInputMapper(InputDevice* device) : in JoystickInputMapper()