Home
last modified time | relevance | path

Searched refs:toolType (Results 1 – 7 of 7) sorted by relevance

/cts/tests/input/src/android/input/cts/
DInputShellCommandTest.kt105 private fun assertToolType(event: MotionEvent, toolType: Int) { in assertToolType()
109 assertThat(toolType).isEqualTo(pointerProperties.toolType) in assertToolType()
113 private fun assertTapToolType(toolType: Int) { in assertTapToolType()
116 assertToolType(event, toolType) in assertTapToolType()
120 assertToolType(event, toolType) in assertTapToolType()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventUtils.java38 public static PointerPropertiesBuilder withProperties(int id, int toolType) { in withProperties() argument
41 builder.toolType = toolType; in withProperties()
47 private int toolType; field in MotionEventUtils.PointerPropertiesBuilder
53 pointerProperties.toolType = toolType; in build()
61 that.getToolType(pointerIndex), this.toolType); in verifyMatches()
66 assertEquals("Tool type should be the same", that.toolType, this.toolType); in verifyMatchesPointerProperties()
DMotionEventTest.java793 assertEquals(MotionEvent.TOOL_TYPE_UNKNOWN, properties.toolType); in testPointerPropertiesDefaultConstructor()
800 properties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in testPointerPropertiesCopyConstructor()
804 assertEquals(MotionEvent.TOOL_TYPE_MOUSE, copy.toolType); in testPointerPropertiesCopyConstructor()
811 properties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in testPointerPropertiesCopyFrom()
816 assertEquals(MotionEvent.TOOL_TYPE_MOUSE, copy.toolType); in testPointerPropertiesCopyFrom()
DTouchDelegateTest.java221 properties[i].toolType = MotionEvent.TOOL_TYPE_FINGER; in dispatchMultiTouchMotionEventToActivity()
/cts/tests/tests/systemui/src/android/systemui/cts/
DTouchHelper.java71 properties.toolType = MotionEvent.TOOL_TYPE_FINGER; in getMotionEvent()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp139 outMsg->body.motion.pointers[i].properties.toolType = in sanitizeMessage()
140 msg.body.motion.pointers[i].properties.toolType; in sanitizeMessage()
/cts/libs/input/src/com/android/cts/input/
DInputJsonParser.java499 properties[i].toolType = MotionEvent.TOOL_TYPE_UNKNOWN; in parseMotionEvent()