Home
last modified time | relevance | path

Searched refs:SOURCE_STYLUS (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/tests/MultiDeviceInput/src/test/multideviceinput/
DDrawingView.kt26 import android.view.InputDevice.SOURCE_STYLUS in <lambda>()
140 return if (event.isFromSource(SOURCE_STYLUS or SOURCE_MOUSE)) { in resolvePaint()
143 } else if (event.isFromSource(SOURCE_TOUCHSCREEN) && !event.isFromSource(SOURCE_STYLUS)) { in resolvePaint()
153 } else if (event.isFromSource(SOURCE_STYLUS)) { in resolvePaint()
/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/apct-tests/perftests/core/src/android/input/
DMotionPredictorBenchmark.kt64 InputDevice.SOURCE_STYLUS, /*flags=*/0) in getStylusMotionEvent()
/frameworks/base/core/java/android/view/
DInputDevice.java262 public static final int SOURCE_STYLUS = 0x00004000 | SOURCE_CLASS_POINTER; field in InputDevice
291 0x00008000 | SOURCE_STYLUS;
372 SOURCE_STYLUS,
1698 appendSourceDescriptionIfApplicable(description, SOURCE_STYLUS, "stylus"); in toString()
DMotionEvent.java2474 return isFromSource(InputDevice.SOURCE_STYLUS) in isStylusPointer()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DFrontBufferedLayer.kt93 if (!event.isFromSource(InputDevice.SOURCE_STYLUS)) { in onTouchEvent()
/frameworks/base/tests/Input/src/com/android/test/input/
DMotionPredictorTest.kt67 InputDevice.SOURCE_STYLUS, /*flags=*/0) in getStylusMotionEvent()
/frameworks/base/core/tests/coretests/src/android/widget/
DPointerIconTest.java298 int source = isMouse ? InputDevice.SOURCE_MOUSE : InputDevice.SOURCE_STYLUS; in createHoverEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterInputTest.kt29 import android.view.InputDevice.SOURCE_STYLUS
103 const val STYLUS_SOURCE = SOURCE_STYLUS or SOURCE_TOUCHSCREEN
/frameworks/base/services/core/java/com/android/server/input/
DInputShellCommand.java118 map.put("stylus", InputDevice.SOURCE_STYLUS);
256 case InputDevice.SOURCE_STYLUS: in getToolType()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java627 InputDevice.SOURCE_STYLUS,
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java936 InputDevice.SOURCE_STYLUS, 0 /* flags */); in createStylusEvent()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java4450 return inputDevice.supportsSource(InputDevice.SOURCE_STYLUS) in isStylusDevice()
/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.txt32289 field public static final int SOURCE_STYLUS = 16386; // 0x4002
/frameworks/base/core/api/
Dcurrent.txt51068 field public static final int SOURCE_STYLUS = 16386; // 0x4002