Searched refs:UinputTouchDevice (Results 1 – 14 of 14) sorted by relevance
/cts/hostsidetests/input/app/src/android/input/cts/hostside/app/ |
D | EmulateInputDevice.kt | 28 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/ |
D | UinputTouchScreen.kt | 22 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(
|
D | UinputTouchPad.kt | 22 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_FINGER 23 import com.android.cts.input.UinputTouchDevice.Companion.MT_TOOL_PALM 88 ) : UinputTouchDevice(
|
D | UinputStylus.kt | 23 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(
|
D | UinputDrawingTablet.kt | 22 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(
|
D | UinputTouchDevice.kt | 48 open class UinputTouchDevice( class
|
/cts/tests/input/src/android/input/cts/ |
D | SimultaneousTouchAndStylusTest.kt | 36 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()
|
D | DrawingTabletTest.kt | 34 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()
|
D | PointerIconTest.kt | 42 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()
|
D | StylusButtonInputEventTest.kt | 32 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>()
|
D | TouchScreenTest.kt | 34 import com.android.cts.input.UinputTouchDevice 55 private lateinit var touchScreen: UinputTouchDevice
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 57 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/ |
D | SurfaceControlViewHostTests.java | 108 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/ |
D | StylusHandwritingTest.java | 102 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;
|