Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java66 private static final float PRESSURE_1F = 1.0f; field in MotionEventTest
82 MotionEvent.ACTION_MOVE, X_3F, Y_4F, PRESSURE_1F, SIZE_1F, META_STATE, in setup()
114 assertEquals(PRESSURE_1F, mMotionEvent1.getPressure(), DELTA); in testObtainBasic()
143 MotionEvent.ACTION_DOWN, X_3F, Y_4F, PRESSURE_1F, SIZE_1F, META_STATE, in testObtainAllFields()
156 assertEquals(PRESSURE_1F, mMotionEventDynamic.getPressure(), DELTA); in testObtainAllFields()
165 withCoords(X_3F, Y_4F).withPressure(PRESSURE_1F).withSize(SIZE_1F). in testObtainFromPropertyArrays()
168 withCoords(X_3F + 1.0f, Y_4F - 2.0f).withPressure(PRESSURE_1F + 0.2f). in testObtainFromPropertyArrays()
323 withCoords(X_3F + offsetX, Y_4F + offsetY).withPressure(PRESSURE_1F).withSize(SIZE_1F). in testOffsetLocation()
333 withCoords(0.0f, 0.0f).withPressure(PRESSURE_1F).withSize(SIZE_1F). in testSetLocation()
337 withCoords(2.0f, 2.0f).withPressure(PRESSURE_1F).withSize(SIZE_1F). in testSetLocation()