Searched refs:withSize (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 | 30 import static com.android.cts.input.inputeventmatchers.InputEventMatchersKt.withSize; 209 withCoords(X_3F, Y_4F).withPressure(PRESSURE_1F).withSize(SIZE_1F). in testObtainFromPropertyArrays() 213 withSize(SIZE_1F + 0.5f).withTouch(2.2f, 0.6f).withGenericAxis1(2.6f); 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() 405 .withSize(SIZE_1F) in testOffsetLocationForPointerSource() 420 .withSize(SIZE_1F) in testNoLocationOffsetForNonPointerSource() [all …]
|
D | MotionEventUtils.java | 94 public PointerCoordsBuilder withSize(float size) { in withSize() method in MotionEventUtils.PointerCoordsBuilder
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputEventMatchers.kt | 223 fun withSize(size: Float): Matcher<MotionEvent> = object : TypeSafeMatcher<MotionEvent>() { in withSize() method
|