Home
last modified time | relevance | path

Searched refs:UinputTouchDevice (Results 1 – 14 of 14) sorted by relevance

/cts/hostsidetests/input/app/src/android/input/cts/hostside/app/
DEmulateInputDevice.kt28 import com.android.cts.input.UinputTouchDevice in <lambda>()
82 private fun UinputTouchDevice.tapOnScreen() { in <lambda>() method
108 touchpad.sendBtn(UinputTouchDevice.BTN_TOOL_FINGER, true) in <lambda>()
109 touchpad.sendDown(0, pointer, UinputTouchDevice.MT_TOOL_FINGER) in <lambda>()
113 touchpad.sendBtn(UinputTouchDevice.BTN_TOOL_FINGER, false) in <lambda>()
120 touchpad.sendBtn(UinputTouchDevice.BTN_TOOL_FINGER, true) in <lambda>()
121 touchpad.sendDown(0, pointer, UinputTouchDevice.MT_TOOL_PALM) in <lambda>()
125 touchpad.sendBtn(UinputTouchDevice.BTN_TOOL_FINGER, false) in <lambda>()
139 touchpad.sendBtn(UinputTouchDevice.BTN_TOOL_FINGER, true) in <lambda>()
143 touchpad.sendBtn(UinputTouchDevice.BTN_TOOL_FINGER, false) in <lambda>()
[all …]
/cts/libs/input/src/com/android/cts/input/
DUinputTouchScreen.kt22 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_FINGER
23 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_PALM
68 class UinputTouchScreen(instrumentation: Instrumentation, display: Display) : UinputTouchDevice(
DUinputTouchPad.kt22 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_FINGER
23 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_PALM
88 ) : UinputTouchDevice(
DUinputStylus.kt23 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_FINGER
24 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_PALM
74 class UinputStylus (instrumentation: Instrumentation, display: Display) : UinputTouchDevice(
DUinputDrawingTablet.kt22 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_FINGER
23 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_PALM
74 class UinputDrawingTablet(instrumentation: Instrumentation, display: Display) : UinputTouchDevice(
DUinputTouchDevice.kt48 open class UinputTouchDevice( class
/cts/tests/input/src/android/input/cts/
DSimultaneousTouchAndStylusTest.kt36 import com.android.cts.input.UinputTouchDevice
66 private lateinit var touchScreen: UinputTouchDevice
67 private lateinit var stylus: UinputTouchDevice
144 stylus.sendDown(pointerId, rightWindowLocation, UinputTouchDevice.MT_TOOL_PEN) in testLeftTouchRightStylusMove()
243 stylus.sendDown(pointerId, rightWindowLocation, UinputTouchDevice.MT_TOOL_PEN) in testLeftTouchRightStylusHover()
DDrawingTabletTest.kt34 import com.android.cts.input.UinputTouchDevice
51 private lateinit var drawingTablet: UinputTouchDevice
112 drawingTablet.sendDown(pointerId, INJECTION_POINTS[0], UinputTouchDevice.MT_TOOL_PEN) in testHover()
166 drawingTablet.sendDown(pointerId, INJECTION_POINTS[i], UinputTouchDevice.MT_TOOL_PEN) in verifyTaps()
DPointerIconTest.kt42 import com.android.cts.input.UinputTouchDevice
290 private lateinit var drawingTablet: UinputTouchDevice in toString()
307 drawingTablet.sendBtn(UinputTouchDevice.BTN_TOOL_PEN, isDown = true) in toString()
311 toolType = UinputTouchDevice.MT_TOOL_PEN in toString()
DStylusButtonInputEventTest.kt32 import com.android.cts.input.UinputTouchDevice in <lambda>()
156 uinputStylus.sendDown(0, pointer, UinputTouchDevice.MT_TOOL_PEN) in <lambda>()
211 uinputStylus.sendDown(0, pointer, UinputTouchDevice.MT_TOOL_PEN) in <lambda>()
DTouchScreenTest.kt34 import com.android.cts.input.UinputTouchDevice
55 private lateinit var touchScreen: UinputTouchDevice
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java57 import com.android.cts.input.UinputTouchDevice;
338 @NonNull UinputTouchDevice device, @NonNull View view, int x, int y) { in injectStylusDownEvent()
346 device.sendDown(0 /* pointerId */, new Point(x, y), UinputTouchDevice.MT_TOOL_PEN); in injectStylusDownEvent()
354 public static void injectStylusUpEvent(@NonNull UinputTouchDevice device) { in injectStylusUpEvent()
422 UinputTouchDevice device, @NonNull View view, int action) { in injectFingerEventOnViewCenter()
433 0 /* pointerId */, new Point(x, y), UinputTouchDevice.MT_TOOL_FINGER); in injectFingerEventOnViewCenter()
491 @NonNull UinputTouchDevice stylus, @NonNull View view, int startX, int startY, int endX, in injectStylusMoveEvents()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlViewHostTests.java108 import com.android.cts.input.UinputTouchDevice;
208 UinputTouchDevice mTouchScreen;
282 UinputTouchDevice.Pointer pointer = mTouchScreen.touchDown(location.x, location.y); in globalTapOnViewCenter()
289 UinputTouchDevice.Pointer pointer = mTouchScreen.touchDown(center.x, center.y); in globalTapOnWindowCenter()
300 UinputTouchDevice.Pointer pointer = mTouchScreen.touchDown(bounds.left, bounds.top); in globalTapOnWindowCorner()
499 UinputTouchDevice.Pointer pointer = mTouchScreen.touchDown(displayX, displayY); in testEmbeddedViewReceivesRawInputCoordinatesInDisplaySpace()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DStylusHandwritingTest.java102 import com.android.cts.input.UinputTouchDevice;
1141 try (UinputTouchDevice touch = new UinputTouchScreen(instrumentation, display); in testHandwriting_fingerTouchIsIgnored()
1142 UinputTouchDevice stylus = new UinputStylus(instrumentation, display)) { in testHandwriting_fingerTouchIsIgnored()
1298 UinputTouchDevice stylus = null; in testOnViewClicked_withStylusTap()
1371 UinputTouchDevice touch = null; in testOnViewClicked_withFingerTap()
1919 UinputTouchDevice stylus = null;