Home
last modified time | relevance | path

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

123

/frameworks/native/libs/input/
DInputDevice.cpp171 InputDeviceInfo::InputDeviceInfo() { in InputDeviceInfo() function in android::InputDeviceInfo
175 InputDeviceInfo::InputDeviceInfo(const InputDeviceInfo& other) in InputDeviceInfo() function in android::InputDeviceInfo
199 InputDeviceInfo::~InputDeviceInfo() { in ~InputDeviceInfo()
202 void InputDeviceInfo::initialize(int32_t id, int32_t generation, int32_t controllerNumber, in initialize()
229 const InputDeviceInfo::MotionRange* InputDeviceInfo::getMotionRange( in getMotionRange()
239 void InputDeviceInfo::addSource(uint32_t source) { in addSource()
243 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, in addMotionRange()
249 void InputDeviceInfo::addMotionRange(const MotionRange& range) { in addMotionRange()
253 void InputDeviceInfo::addSensorInfo(const InputDeviceSensorInfo& info) { in addSensorInfo()
261 void InputDeviceInfo::addBatteryInfo(const InputDeviceBatteryInfo& info) { in addBatteryInfo()
[all …]
/frameworks/native/services/inputflinger/tests/
DInstrumentedInputReader.h98 void getExternalStylusDevices(std::vector<InputDeviceInfo>& outDevices) override { in getExternalStylusDevices()
102 void setExternalStylusDevices(std::vector<InputDeviceInfo>&& devices) { in setExternalStylusDevices()
117 std::vector<InputDeviceInfo> mExternalStylusDevices;
DFakeInputReaderPolicy.h65 const std::vector<InputDeviceInfo> getInputDevices() const;
84 void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) override;
95 std::vector<InputDeviceInfo> mInputDevices GUARDED_BY(mLock);
DLatencyTracker_test.cpp39 static InputDeviceInfo generateTestDeviceInfo(uint16_t vendorId, uint16_t productId, in generateTestDeviceInfo()
44 auto info = InputDeviceInfo(); in generateTestDeviceInfo()
51 InputDeviceInfo deviceInfo = generateTestDeviceInfo( in setDefaultInputDeviceInfo()
355 InputDeviceInfo deviceInfo1 = generateTestDeviceInfo( in TEST_F()
357 InputDeviceInfo deviceInfo2 = generateTestDeviceInfo( in TEST_F()
DCapturedTouchpadEventConverter_test.cpp136 InputDeviceInfo info; in TEST_F()
140 const InputDeviceInfo::MotionRange* posX = in TEST_F()
147 const InputDeviceInfo::MotionRange* posY = in TEST_F()
154 const InputDeviceInfo::MotionRange* touchMajor = in TEST_F()
161 const InputDeviceInfo::MotionRange* touchMinor = in TEST_F()
168 const InputDeviceInfo::MotionRange* toolMajor = in TEST_F()
175 const InputDeviceInfo::MotionRange* toolMinor = in TEST_F()
184 const InputDeviceInfo::MotionRange* orientation = in TEST_F()
191 const InputDeviceInfo::MotionRange* pressure = in TEST_F()
198 const InputDeviceInfo::MotionRange* size = in TEST_F()
[all …]
DInputDeviceMetricsCollector_test.cpp62 InputDeviceInfo generateTestDeviceInfo(int32_t id = DEVICE_ID, in generateTestDeviceInfo()
64 auto info = InputDeviceInfo(); in generateTestDeviceInfo()
71 const InputDeviceInfo TOUCHSCREEN_STYLUS_INFO = generateTestDeviceInfo(DEVICE_ID);
72 const InputDeviceInfo SECOND_TOUCHSCREEN_STYLUS_INFO = generateTestDeviceInfo(DEVICE_ID_2);
91 void assertUsageLogged(const InputDeviceInfo& info, nanoseconds duration, in assertUsageLogged()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h171 void populateDeviceInfo(InputDeviceInfo& deviceInfo) override;
467 InputDeviceInfo::MotionRange x;
468 InputDeviceInfo::MotionRange y;
469 InputDeviceInfo::MotionRange pressure;
471 std::optional<InputDeviceInfo::MotionRange> size;
473 std::optional<InputDeviceInfo::MotionRange> touchMajor;
474 std::optional<InputDeviceInfo::MotionRange> touchMinor;
476 std::optional<InputDeviceInfo::MotionRange> toolMajor;
477 std::optional<InputDeviceInfo::MotionRange> toolMinor;
479 std::optional<InputDeviceInfo::MotionRange> orientation;
[all …]
DCapturedTouchpadEventConverter.h45 void populateMotionRanges(InputDeviceInfo& info) const;
50 void tryAddRawMotionRange(InputDeviceInfo& deviceInfo, int32_t androidAxis,
DJoystickInputMapper.h32 virtual void populateDeviceInfo(InputDeviceInfo& deviceInfo) override;
115 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo& info);
DExternalStylusInputMapper.h36 void populateDeviceInfo(InputDeviceInfo& deviceInfo) override;
DRotaryEncoderInputMapper.h36 virtual void populateDeviceInfo(InputDeviceInfo& deviceInfo) override;
DVibratorInputMapper.h32 virtual void populateDeviceInfo(InputDeviceInfo& deviceInfo) override;
DExternalStylusInputMapper.cpp34 void ExternalStylusInputMapper::populateDeviceInfo(InputDeviceInfo& info) { in populateDeviceInfo()
/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.h63 void setInputDevices(const std::vector<InputDeviceInfo>& inputDevices);
84 std::vector<InputDeviceInfo> mInputDevices;
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp39 jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo) { in android_view_InputDevice_create()
98 const std::vector<InputDeviceInfo::MotionRange>& ranges = deviceInfo.getMotionRanges(); in android_view_InputDevice_create()
99 for (const InputDeviceInfo::MotionRange& range: ranges) { in android_view_InputDevice_create()
Dandroid_view_InputDevice.h27 extern jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo);
/frameworks/native/include/input/
DInputDevice.h265 class InputDeviceInfo {
267 InputDeviceInfo();
268 InputDeviceInfo(const InputDeviceInfo& other);
269 ~InputDeviceInfo();
/frameworks/native/services/inputflinger/
DUnwantedInteractionBlocker.h42 const InputDeviceInfo& deviceInfo);
127 void onInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices);
DPreferStylusOverTouchBlocker.h47 void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices);
DUnwantedInteractionBlocker.cpp231 const InputDeviceInfo& deviceInfo) { in createPalmFilterDeviceInfo()
236 const InputDeviceInfo::MotionRange* axisX = in createPalmFilterDeviceInfo()
246 const InputDeviceInfo::MotionRange* axisY = in createPalmFilterDeviceInfo()
256 const InputDeviceInfo::MotionRange* axisMajor = in createPalmFilterDeviceInfo()
264 const InputDeviceInfo::MotionRange* axisMinor = in createPalmFilterDeviceInfo()
439 const std::vector<InputDeviceInfo>& inputDevices) { in onInputDevicesChanged()
449 for (const InputDeviceInfo& device : inputDevices) { in onInputDevicesChanged()
DPreferStylusOverTouchBlocker.cpp194 const std::vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged()
196 for (const InputDeviceInfo& device : inputDevices) { in notifyInputDevicesChanged()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h62 std::vector<InputDeviceInfo> getInputDevices() const override;
145 void getExternalStylusDevices(std::vector<InputDeviceInfo>& outDevices)
233 void getExternalStylusDevicesLocked(std::vector<InputDeviceInfo>& outDevices) REQUIRES(mLock);
243 std::vector<InputDeviceInfo> getInputDevicesLocked() const REQUIRES(mLock);
DInputReaderContext.h51 virtual void getExternalStylusDevices(std::vector<InputDeviceInfo>& outDevices) = 0;
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralControllerInterface.h47 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) = 0;
/frameworks/native/services/inputflinger/include/
DNotifyArgs.h30 std::vector<InputDeviceInfo> inputDeviceInfos;
34 NotifyInputDevicesChangedArgs(int32_t id, std::vector<InputDeviceInfo> infos);

123