Home
last modified time | relevance | path

Searched refs:toolMajor (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DMotionEventUtils.java84 private float toolMajor; field in MotionEventUtils.PointerCoordsBuilder
104 public PointerCoordsBuilder withTool(float toolMajor, float toolMinor) { in withTool() argument
105 this.toolMajor = toolMajor; in withTool()
123 pointerCoords.toolMajor = toolMajor; in build()
157 that.getToolMajor(), this.toolMajor, DELTA); in verifyMatches()
159 that.getAxisValue(MotionEvent.AXIS_TOOL_MAJOR), this.toolMajor, DELTA); in verifyMatches()
207 that.getToolMajor(pointerIndex), this.toolMajor, DELTA); in verifyMatches()
209 that.getAxisValue(MotionEvent.AXIS_TOOL_MAJOR, pointerIndex), this.toolMajor, in verifyMatches()
260 that.getHistoricalToolMajor(position), this.toolMajor, DELTA); in verifyMatchesHistorical()
263 this.toolMajor, DELTA); in verifyMatchesHistorical()
[all …]
DMotionEventTest.java728 assertEquals(0f, coords.toolMajor, 0.0f); in testPointerCoordsDefaultConstructor()
742 coords.toolMajor = 7; in testPointerCoordsCopyConstructor()
754 assertEquals(7f, copy.toolMajor, 0.0f); in testPointerCoordsCopyConstructor()
769 coords.toolMajor = 7; in testPointerCoordsCopyFrom()
782 assertEquals(7f, copy.toolMajor, 0.0f); in testPointerCoordsCopyFrom()