Searched refs:toolMinor (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventUtils.java | 85 private float toolMinor; field in MotionEventUtils.PointerCoordsBuilder 104 public PointerCoordsBuilder withTool(float toolMajor, float toolMinor) { in withTool() argument 106 this.toolMinor = toolMinor; in withTool() 124 pointerCoords.toolMinor = toolMinor; in build() 162 that.getToolMinor(), this.toolMinor, DELTA); in verifyMatches() 164 that.getAxisValue(MotionEvent.AXIS_TOOL_MINOR), this.toolMinor, DELTA); in verifyMatches() 213 that.getToolMinor(pointerIndex), this.toolMinor, DELTA); in verifyMatches() 215 that.getAxisValue(MotionEvent.AXIS_TOOL_MINOR, pointerIndex), this.toolMinor, in verifyMatches() 266 that.getHistoricalToolMinor(position), this.toolMinor, DELTA); in verifyMatchesHistorical() 269 this.toolMinor, DELTA); in verifyMatchesHistorical() [all …]
|
D | MotionEventTest.java | 726 assertEquals(0f, coords.toolMinor, 0.0f); in testPointerCoordsDefaultConstructor() 740 coords.toolMinor = 8; in testPointerCoordsCopyConstructor() 752 assertEquals(8f, copy.toolMinor, 0.0f); in testPointerCoordsCopyConstructor() 767 coords.toolMinor = 8; in testPointerCoordsCopyFrom() 780 assertEquals(8f, copy.toolMinor, 0.0f); in testPointerCoordsCopyFrom()
|