Searched refs:toolType (Results 1 – 7 of 7) sorted by relevance
/cts/tests/input/src/android/input/cts/ |
D | InputShellCommandTest.kt | 105 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/ |
D | MotionEventUtils.java | 38 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()
|
D | MotionEventTest.java | 793 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()
|
D | TouchDelegateTest.java | 221 properties[i].toolType = MotionEvent.TOOL_TYPE_FINGER; in dispatchMultiTouchMotionEventToActivity()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | TouchHelper.java | 71 properties.toolType = MotionEvent.TOOL_TYPE_FINGER; in getMotionEvent()
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/ |
D | poc.cpp | 139 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/ |
D | InputJsonParser.java | 499 properties[i].toolType = MotionEvent.TOOL_TYPE_UNKNOWN; in parseMotionEvent()
|