Home
last modified time | relevance | path

Searched refs:InputDeviceInfo (Results 1 – 25 of 33) sorted by relevance

12

/aosp12/frameworks/native/libs/input/
H A DInputDevice.cpp155 InputDeviceInfo::InputDeviceInfo() { in InputDeviceInfo() function in android::InputDeviceInfo
159 InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) in InputDeviceInfo() function in android::InputDeviceInfo
178 InputDeviceInfo::~InputDeviceInfo() { in ~InputDeviceInfo()
202 const InputDeviceInfo::MotionRange* InputDeviceInfo::getMotionRange( in getMotionRange()
214 void InputDeviceInfo::addSource(uint32_t source) { in addSource()
224 void InputDeviceInfo::addMotionRange(const MotionRange& range) { in addMotionRange()
228 void InputDeviceInfo::addSensorInfo(const InputDeviceSensorInfo& info) { in addSensorInfo()
236 void InputDeviceInfo::addBatteryInfo(const InputDeviceBatteryInfo& info) { in addBatteryInfo()
243 void InputDeviceInfo::addLightInfo(const InputDeviceLightInfo& info) { in addLightInfo()
250 std::vector<InputDeviceSensorInfo> InputDeviceInfo::getSensors() { in getSensors()
[all …]
/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DTouchInputMapper.h476 InputDeviceInfo::MotionRange x;
477 InputDeviceInfo::MotionRange y;
478 InputDeviceInfo::MotionRange pressure;
481 InputDeviceInfo::MotionRange size;
484 InputDeviceInfo::MotionRange touchMajor;
485 InputDeviceInfo::MotionRange touchMinor;
488 InputDeviceInfo::MotionRange toolMajor;
489 InputDeviceInfo::MotionRange toolMinor;
492 InputDeviceInfo::MotionRange orientation;
495 InputDeviceInfo::MotionRange distance;
[all …]
H A DJoystickInputMapper.h30 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) override;
109 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info);
H A DExternalStylusInputMapper.h34 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) override;
H A DRotaryEncoderInputMapper.h31 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) override;
H A DVibratorInputMapper.h30 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) override;
H A DExternalStylusInputMapper.cpp33 void ExternalStylusInputMapper::populateDeviceInfo(InputDeviceInfo* info) { in populateDeviceInfo()
H A DCursorInputMapper.h60 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) override;
H A DInputMapper.cpp29 void InputMapper::populateDeviceInfo(InputDeviceInfo* info) { in populateDeviceInfo()
H A DKeyboardInputMapper.h30 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) override;
H A DRotaryEncoderInputMapper.cpp38 void RotaryEncoderInputMapper::populateDeviceInfo(InputDeviceInfo* info) { in populateDeviceInfo()
H A DVibratorInputMapper.cpp32 void VibratorInputMapper::populateDeviceInfo(InputDeviceInfo* info) { in populateDeviceInfo()
H A DJoystickInputMapper.cpp32 void JoystickInputMapper::populateDeviceInfo(InputDeviceInfo* info) { in populateDeviceInfo()
45 void JoystickInputMapper::addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo* info) { in addMotionRange()
H A DInputMapper.h54 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo);
H A DSensorInputMapper.h32 void populateDeviceInfo(InputDeviceInfo* deviceInfo) override;
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp39 jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo) { in android_view_InputDevice_create()
76 const std::vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); in android_view_InputDevice_create()
77 for (const InputDeviceInfo::MotionRange& range: ranges) { in android_view_InputDevice_create()
H A Dandroid_view_InputDevice.h27 extern jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo);
/aosp12/frameworks/native/include/input/
H A DInputDevice.h191 class InputDeviceInfo {
193 InputDeviceInfo();
194 InputDeviceInfo(const InputDeviceInfo& other);
195 ~InputDeviceInfo();
/aosp12/frameworks/native/services/inputflinger/reader/include/
H A DInputReader.h65 std::vector<InputDeviceInfo> getInputDevices() const override;
141 void getExternalStylusDevices(std::vector<InputDeviceInfo>& outDevices)
205 void getExternalStylusDevicesLocked(std::vector<InputDeviceInfo>& outDevices) REQUIRES(mLock);
221 std::vector<InputDeviceInfo> getInputDevicesLocked() const REQUIRES(mLock);
H A DInputReaderContext.h54 virtual void getExternalStylusDevices(std::vector<InputDeviceInfo>& outDevices) = 0;
/aosp12/frameworks/native/services/inputflinger/reader/
H A DInputDevice.cpp92 InputDeviceInfo deviceInfo = getDeviceInfo(); in dump()
116 const std::vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); in dump()
120 const InputDeviceInfo::MotionRange& range = ranges[i]; in dump()
419 InputDeviceInfo InputDevice::getDeviceInfo() { in getDeviceInfo()
420 InputDeviceInfo outDeviceInfo; in getDeviceInfo()
H A DInputReader.cpp90 std::vector<InputDeviceInfo> inputDevices; in loopOnce()
411 void InputReader::getExternalStylusDevicesLocked(std::vector<InputDeviceInfo>& outDevices) { in getExternalStylusDevicesLocked()
494 std::vector<InputDeviceInfo> InputReader::getInputDevices() const { in getInputDevices()
499 std::vector<InputDeviceInfo> InputReader::getInputDevicesLocked() const { in getInputDevicesLocked()
500 std::vector<InputDeviceInfo> outInputDevices; in getInputDevicesLocked()
941 void InputReader::ContextImpl::getExternalStylusDevices(std::vector<InputDeviceInfo>& outDevices) { in getExternalStylusDevices()
/aosp12/frameworks/native/services/inputflinger/reader/controller/
H A DPeripheralControllerInterface.h46 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) = 0;
H A DPeripheralController.h34 void populateDeviceInfo(InputDeviceInfo* deviceInfo) override;
/aosp12/frameworks/native/services/inputflinger/include/
H A DInputReaderBase.h81 virtual std::vector<InputDeviceInfo> getInputDevices() const = 0;
378 virtual void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) = 0;

12