Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DMotionEventUtils.java82 private float touchMajor; field in MotionEventUtils.PointerCoordsBuilder
98 public PointerCoordsBuilder withTouch(float touchMajor, float touchMinor) { in withTouch() argument
99 this.touchMajor = touchMajor; in withTouch()
121 pointerCoords.touchMajor = touchMajor; in build()
147 that.getTouchMajor(), this.touchMajor,DELTA); in verifyMatches()
149 that.getAxisValue(MotionEvent.AXIS_TOUCH_MAJOR), this.touchMajor, DELTA); in verifyMatches()
195 that.getTouchMajor(pointerIndex), this.touchMajor,DELTA); in verifyMatches()
197 that.getAxisValue(MotionEvent.AXIS_TOUCH_MAJOR, pointerIndex), this.touchMajor, in verifyMatches()
248 that.getHistoricalTouchMajor(position), this.touchMajor,DELTA); in verifyMatchesHistorical()
251 this.touchMajor, DELTA); in verifyMatchesHistorical()
[all …]
DMotionEventTest.java726 assertEquals(0f, coords.touchMajor, 0.0f); in testPointerCoordsDefaultConstructor()
740 coords.touchMajor = 5; in testPointerCoordsCopyConstructor()
752 assertEquals(5f, copy.touchMajor, 0.0f); in testPointerCoordsCopyConstructor()
767 coords.touchMajor = 5; in testPointerCoordsCopyFrom()
780 assertEquals(5f, copy.touchMajor, 0.0f); in testPointerCoordsCopyFrom()