Searched refs:toolType (Results 1 – 6 of 6) sorted by relevance
38 public static PointerPropertiesBuilder withProperties(int id, int toolType) { in withProperties() argument41 builder.toolType = toolType; in withProperties()47 private int toolType; field in MotionEventUtils.PointerPropertiesBuilder53 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()
790 assertEquals(MotionEvent.TOOL_TYPE_UNKNOWN, properties.toolType); in testPointerPropertiesDefaultConstructor()797 properties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in testPointerPropertiesCopyConstructor()801 assertEquals(MotionEvent.TOOL_TYPE_MOUSE, copy.toolType); in testPointerPropertiesCopyConstructor()808 properties.toolType = MotionEvent.TOOL_TYPE_MOUSE; in testPointerPropertiesCopyFrom()813 assertEquals(MotionEvent.TOOL_TYPE_MOUSE, copy.toolType); in testPointerPropertiesCopyFrom()
221 properties[i].toolType = MotionEvent.TOOL_TYPE_FINGER; in dispatchMultiTouchMotionEventToActivity()
118 outMsg->body.motion.pointers[i].properties.toolType = in sanitizeMessage()119 msg.body.motion.pointers[i].properties.toolType; in sanitizeMessage()
71 properties.toolType = MotionEvent.TOOL_TYPE_FINGER; in getMotionEvent()
209 properties[0].toolType = MotionEvent.TOOL_TYPE_UNKNOWN; in parseMotionEvent()