/frameworks/native/libs/input/ |
D | InputDevice.cpp | 171 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/ |
D | InstrumentedInputReader.h | 98 void getExternalStylusDevices(std::vector<InputDeviceInfo>& outDevices) override { in getExternalStylusDevices() 102 void setExternalStylusDevices(std::vector<InputDeviceInfo>&& devices) { in setExternalStylusDevices() 117 std::vector<InputDeviceInfo> mExternalStylusDevices;
|
D | FakeInputReaderPolicy.h | 65 const std::vector<InputDeviceInfo> getInputDevices() const; 84 void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) override; 95 std::vector<InputDeviceInfo> mInputDevices GUARDED_BY(mLock);
|
D | LatencyTracker_test.cpp | 39 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()
|
D | CapturedTouchpadEventConverter_test.cpp | 136 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 …]
|
D | InputDeviceMetricsCollector_test.cpp | 62 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/ |
D | TouchInputMapper.h | 171 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 …]
|
D | CapturedTouchpadEventConverter.h | 45 void populateMotionRanges(InputDeviceInfo& info) const; 50 void tryAddRawMotionRange(InputDeviceInfo& deviceInfo, int32_t androidAxis,
|
D | JoystickInputMapper.h | 32 virtual void populateDeviceInfo(InputDeviceInfo& deviceInfo) override; 115 static void addMotionRange(int32_t axisId, const Axis& axis, InputDeviceInfo& info);
|
D | ExternalStylusInputMapper.h | 36 void populateDeviceInfo(InputDeviceInfo& deviceInfo) override;
|
D | RotaryEncoderInputMapper.h | 36 virtual void populateDeviceInfo(InputDeviceInfo& deviceInfo) override;
|
D | VibratorInputMapper.h | 32 virtual void populateDeviceInfo(InputDeviceInfo& deviceInfo) override;
|
D | ExternalStylusInputMapper.cpp | 34 void ExternalStylusInputMapper::populateDeviceInfo(InputDeviceInfo& info) { in populateDeviceInfo()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | LatencyTracker.h | 63 void setInputDevices(const std::vector<InputDeviceInfo>& inputDevices); 84 std::vector<InputDeviceInfo> mInputDevices;
|
/frameworks/base/core/jni/ |
D | android_view_InputDevice.cpp | 39 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()
|
D | android_view_InputDevice.h | 27 extern jobject android_view_InputDevice_create(JNIEnv* env, const InputDeviceInfo& deviceInfo);
|
/frameworks/native/include/input/ |
D | InputDevice.h | 265 class InputDeviceInfo { 267 InputDeviceInfo(); 268 InputDeviceInfo(const InputDeviceInfo& other); 269 ~InputDeviceInfo();
|
/frameworks/native/services/inputflinger/ |
D | UnwantedInteractionBlocker.h | 42 const InputDeviceInfo& deviceInfo); 127 void onInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices);
|
D | PreferStylusOverTouchBlocker.h | 47 void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices);
|
D | UnwantedInteractionBlocker.cpp | 231 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()
|
D | PreferStylusOverTouchBlocker.cpp | 194 const std::vector<InputDeviceInfo>& inputDevices) { in notifyInputDevicesChanged() 196 for (const InputDeviceInfo& device : inputDevices) { in notifyInputDevicesChanged()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputReader.h | 62 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);
|
D | InputReaderContext.h | 51 virtual void getExternalStylusDevices(std::vector<InputDeviceInfo>& outDevices) = 0;
|
/frameworks/native/services/inputflinger/reader/controller/ |
D | PeripheralControllerInterface.h | 47 virtual void populateDeviceInfo(InputDeviceInfo* deviceInfo) = 0;
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgs.h | 30 std::vector<InputDeviceInfo> inputDeviceInfos; 34 NotifyInputDevicesChangedArgs(int32_t id, std::vector<InputDeviceInfo> infos);
|