Searched refs:withPressure (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEvent_PointerCoordsTest.java | 44 mBuilder = withCoords(10.0f, 20.0f).withPressure(1.2f).withSize(2.0f).withTool(1.2f, 1.4f). in setup() 58 withCoords(15.0f, 20.0f).withPressure(1.2f).withSize(2.0f).withTool(1.2f, 1.4f). in testAxesModifications() 64 withCoords(15.0f, 25.0f).withPressure(1.2f).withSize(2.0f).withTool(1.2f, 1.4f). in testAxesModifications() 70 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(2.0f).withTool(1.2f, 1.4f). in testAxesModifications() 76 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(1.2f, 1.4f). in testAxesModifications() 82 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(7.0f, 1.4f). in testAxesModifications() 88 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(7.0f, 2.0f). in testAxesModifications() 94 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(7.0f, 2.0f). in testAxesModifications() 100 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(7.0f, 2.0f). in testAxesModifications() 106 withCoords(15.0f, 25.0f).withPressure(2.2f).withSize(10.0f).withTool(7.0f, 2.0f) in testAxesModifications() [all …]
|
D | MotionEventTest.java | 28 import static com.android.cts.input.inputeventmatchers.InputEventMatchersKt.withPressure; 209 withCoords(X_3F, Y_4F).withPressure(PRESSURE_1F).withSize(SIZE_1F). in testObtainFromPropertyArrays() 212 withCoords(X_3F + 1.0f, Y_4F - 2.0f).withPressure(PRESSURE_1F + 0.2f). in testObtainFromPropertyArrays() 240 withCoords(X_3F, Y_4F).withPressure(PRESSURE_1F).withSize(SIZE_1F) in testObtainWithClassification() 261 withCoords(X_3F + 10.0f, Y_4F + 15.0f).withPressure(2.0f).withSize(3.0f). in testObtainNoHistory() 268 withCoords(X_3F + 5.0f, Y_4F + 5.0f).withPressure(0.5f).withSize(0.5f). in testObtainNoHistory() 273 withCoords(X_3F, Y_4F).withPressure(1.0f).withSize(1.0f). in testObtainNoHistory() 282 withCoords(X_3F + 10.0f, Y_4F + 15.0f).withPressure(2.0f).withSize(3.0f). in testObtainNoHistory() 404 .withPressure(PRESSURE_1F) in testOffsetLocationForPointerSource() 419 .withPressure(PRESSURE_1F) in testNoLocationOffsetForNonPointerSource() [all …]
|
D | MotionEventUtils.java | 89 public PointerCoordsBuilder withPressure(float pressure) { in withPressure() method in MotionEventUtils.PointerCoordsBuilder
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputEventMatchers.kt | 213 fun withPressure(pressure: Float): Matcher<MotionEvent> = object : TypeSafeMatcher<MotionEvent>() { in withPressure() method
|