Home
last modified time | relevance | path

Searched refs:supportsSource (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/hardware/
DInputDevice.kt39 get() = supportsSource(InputDevice.SOURCE_STYLUS)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/
DStylusUsiPowerStartableTest.kt70 whenever(stylusDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in setUp()
73 whenever(externalDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in setUp()
DStylusManagerTest.kt100 whenever(otherDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(false) in <lambda>()
101 whenever(stylusDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in <lambda>()
102 whenever(btStylusDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in <lambda>()
DStylusUsiPowerUiTest.kt94 whenever(btStylusDevice.supportsSource(InputDevice.SOURCE_STYLUS)).thenReturn(true) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/
DStylusManager.kt111 if (!device.supportsSource(InputDevice.SOURCE_STYLUS)) return in <lambda>()
136 if (!device.supportsSource(InputDevice.SOURCE_STYLUS)) return in <lambda>()
347 if (device.supportsSource(InputDevice.SOURCE_STYLUS)) { in <lambda>()
DStylusUsiPowerStartable.kt76 .any { it.supportsSource(InputDevice.SOURCE_STYLUS) && !it.isExternal } in hostDeviceSupportsStylusInput()
/frameworks/base/tests/MultiDeviceInput/src/test/multideviceinput/
DDrawingView.kt139 val isTouchpadDevice = inputDevice != null && inputDevice.supportsSource(SOURCE_TOUCHPAD) in resolvePaint()
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java154 if (inputDev.supportsSource(inputSource)) { in getInputDeviceId()
/frameworks/base/core/java/android/view/
DInputDevice.java1019 public boolean supportsSource(int source) { in supportsSource() method in InputDevice
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java4450 return inputDevice.supportsSource(InputDevice.SOURCE_STYLUS) in isStylusDevice()
4451 || inputDevice.supportsSource(InputDevice.SOURCE_BLUETOOTH_STYLUS); in isStylusDevice()
4455 return inputDevice.supportsSource(InputDevice.SOURCE_TOUCHSCREEN); in isFingerDevice()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32260 method public boolean supportsSource(int);
/frameworks/base/core/api/
Dcurrent.txt51035 method public boolean supportsSource(int);