Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DMotionEvent_PointerCoordsTest.java42 mBuilder = withCoords(10.0f, 20.0f).withPressure(1.2f).withSize(2.0f).withTool(1.2f, 1.4f). in setup()
56 withCoords(15.0f, 20.0f).withPressure(1.2f).withSize(2.0f).withTool(1.2f, 1.4f). in testAxesModifications()
61 withCoords(15.0f, 25.0f).withPressure(1.2f).withSize(2.0f).withTool(1.2f, 1.4f). in testAxesModifications()
66 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(2.0f).withTool(1.2f, 1.4f). in testAxesModifications()
71 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(1.2f, 1.4f). in testAxesModifications()
76 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(7.0f, 1.4f). in testAxesModifications()
81 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(7.0f, 2.0f). in testAxesModifications()
86 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(7.0f, 2.0f). in testAxesModifications()
91 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(7.0f, 2.0f). in testAxesModifications()
105 withCoords(0.0f, 0.0f).withPressure(0.0f).withSize(0.0f).withTool(0.0f, 0.0f). in testClear()
DMotionEventTest.java165 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()
199 withCoords(X_3F + 10.0f, Y_4F + 15.0f).withPressure(2.0f).withSize(3.0f). in testObtainNoHistory()
205 withCoords(X_3F + 5.0f, Y_4F + 5.0f).withPressure(0.5f).withSize(0.5f). in testObtainNoHistory()
209 withCoords(X_3F, Y_4F).withPressure(1.0f).withSize(1.0f). in testObtainNoHistory()
217 withCoords(X_3F + 10.0f, Y_4F + 15.0f).withPressure(2.0f).withSize(3.0f). in testObtainNoHistory()
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()
347 withCoords(X_3F + 5.0f, Y_4F + 5.0f).withPressure(0.5f).withSize(0.5f). in testGetHistoricalData()
[all …]
DMotionEventUtils.java88 public PointerCoordsBuilder withPressure(float pressure) { in withPressure() method in MotionEventUtils.PointerCoordsBuilder