Home
last modified time | relevance | path

Searched refs:buttonState (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/input/cts/virtualcreators/
DVirtualInputEventCreator.java28 public static MotionEvent createMouseEvent(int action, float x, float y, int buttonState, in createMouseEvent() argument
48 buttonState, in createMouseEvent()
57 public static MotionEvent createMouseEvent(int action, float x, float y, int buttonState, in createMouseEvent() argument
59 return createMouseEvent(action, x, y, buttonState, pressure, 0 /* relativeX */, in createMouseEvent()
129 int toolType, int buttonState) { in createStylusHoverMotionEvent() argument
130 return createStylusEvent(action, toolType, x, y, 0f /* pressure */, buttonState); in createStylusHoverMotionEvent()
145 int toolType, int buttonState) { in createStylusTouchMotionEvent() argument
146 return createStylusEvent(action, toolType, x, y, 1f /* pressure */, buttonState); in createStylusTouchMotionEvent()
150 float pressure, int buttonState) { in createStylusEvent() argument
151 return createStylusEvent(action, toolType, x, y, pressure, buttonState, 0f /* tilt */, in createStylusEvent()
[all …]
/cts/tests/tests/view/src/android/view/cts/util/
DEventUtils.java25 public static MotionEvent generateMouseEvent(int x, int y, int action, int buttonState) { in generateMouseEvent() argument
38 pointerCoords, 0, buttonState, 0, 0, 0, 0, InputDevice.SOURCE_MOUSE, 0); in generateMouseEvent()
/cts/tests/input/src/android/input/cts/
DStylusButtonInputEventTest.kt256 buttonState: Int, in <lambda>()
264 assertEquals(buttonState, event.buttonState) in <lambda>()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp103 outMsg->body.motion.buttonState = msg.body.motion.buttonState; in sanitizeMessage()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java510 int buttonState = 0; in parseMotionEvent() local
515 buttonState |= motionButtonFromString(buttonStr); in parseMotionEvent()
537 pointerCount, properties, coords, 0, buttonState, 0f, 0f, in parseMotionEvent()