Searched refs:touchMinor (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventUtils.java | 83 private float touchMinor; field in MotionEventUtils.PointerCoordsBuilder 98 public PointerCoordsBuilder withTouch(float touchMajor, float touchMinor) { in withTouch() argument 100 this.touchMinor = touchMinor; in withTouch() 122 pointerCoords.touchMinor = touchMinor; in build() 152 that.getTouchMinor(), this.touchMinor, DELTA); in verifyMatches() 154 that.getAxisValue(MotionEvent.AXIS_TOUCH_MINOR), this.touchMinor, DELTA); in verifyMatches() 201 that.getTouchMinor(pointerIndex), this.touchMinor, DELTA); in verifyMatches() 203 that.getAxisValue(MotionEvent.AXIS_TOUCH_MINOR, pointerIndex), this.touchMinor, in verifyMatches() 254 that.getHistoricalTouchMinor(position), this.touchMinor, DELTA); in verifyMatchesHistorical() 257 this.touchMinor, DELTA); in verifyMatchesHistorical() [all …]
|
D | MotionEventTest.java | 724 assertEquals(0f, coords.touchMinor, 0.0f); in testPointerCoordsDefaultConstructor() 738 coords.touchMinor = 6; in testPointerCoordsCopyConstructor() 750 assertEquals(6f, copy.touchMinor, 0.0f); in testPointerCoordsCopyConstructor() 765 coords.touchMinor = 6; in testPointerCoordsCopyFrom() 778 assertEquals(6f, copy.touchMinor, 0.0f); in testPointerCoordsCopyFrom()
|