/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityMagnificationTest.java | 78 mService.runOnServiceSync(() -> result.set(controller.setScale(scale, false))); in testSetScale() 96 final AtomicBoolean setScale = new AtomicBoolean(); in testSetScaleAndCenter() local 101 setScale.set(controller.setScale(scale, false)); in testSetScaleAndCenter() 105 assertTrue("Failed to set scale", setScale.get()); in testSetScaleAndCenter() 127 mService.runOnServiceSync(() -> result.set(controller.setScale(scale, false))); in testListener() 145 mService.runOnServiceSync(() -> controller.setScale(2.0f, false)); in testMagnificationServiceShutsDownWhileMagnifying_shouldReturnTo1x() 221 controller.setScale(scale1, true); in testAnimatingMagnification() 228 controller.setScale(scale2, true); in testAnimatingMagnification() 235 controller.setScale(scale3, true); in testAnimatingMagnification()
|
D | AccessibilityGestureDispatchTest.java | 348 final AtomicBoolean setScale = new AtomicBoolean(); in testClickWhenMagnified_matchesActualTouch() local 350 setScale.set(magnificationController.setScale(MAGNIFICATION_FACTOR, false)); in testClickWhenMagnified_matchesActualTouch() 352 assertTrue("Failed to set scale", setScale.get()); in testClickWhenMagnified_matchesActualTouch()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TransformationTest.java | 49 t1.getMatrix().setScale(3, 1); in testCompose() 50 t2.getMatrix().setScale(3, 1); in testCompose() 56 expectedMatrix.setScale(9, 1); in testCompose() 64 expectedMatrix.setScale(27, 1); in testCompose() 79 t2.getMatrix().setScale(2, 3); in testClear()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MatrixTest.java | 58 mMatrix.setScale(0f, 0f); in testIsIdentity() 100 mMatrix.setScale(1f, 2f); in testEquals() 110 mMatrix.setScale(1f, 2f, 3f, 4f); in testReset() 119 mMatrix.setScale(1f, 2f); in testSetScale() 127 mMatrix.setScale(1f, 2f, 3f, 4f); in testSetScale2()
|
D | ShaderTest.java | 72 scale2x3.setScale(2, 3); in testGetSetLocalMatrix() 95 matrix.setScale(10, 10); in testGetWithNullParam()
|
D | PathMeasureTest.java | 141 matrix.setScale(1f, 2f); in testGetMatrix()
|
D | ColorMatrixTest.java | 162 mColorMatrix.setScale(2, 3, 4, 5); in testSetScale()
|
D | RadialGradientTest.java | 52 m.setScale(0, 0); in testZeroScaleMatrix()
|
D | LinearGradientTest.java | 152 m.setScale(0, 0);
|
D | SweepGradientTest.java | 159 m.setScale(0, 0); in testZeroScaleMatrix()
|
D | PaintTest.java | 352 m.setScale(10, 0); in testShaderLocalMatrix() 361 m.setScale(0, 10); in testShaderLocalMatrix()
|
D | BitmapTest.java | 372 matrix.setScale(10, 10); in testCreateBitmap_matrix()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | ResourceModifier.java | 75 matrix.setScale(0.5f, 0.5f); in ResourceModifier() 81 matrix.setScale(drawHeight, 1.0f); in ResourceModifier()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | CursorAnchorInfoTest.java | 104 transformMatrix.setScale(10.0f, 20.0f); in testBuilder() 408 transformMatrix.setScale(10.0f, 20.0f); in testMatrixIsRequired()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 518 transform.setScale(1, heightRatio/widthRatio); in startPreview() 522 transform.setScale(widthRatio/heightRatio, 1); in startPreview()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 901 transform.setScale(1, heightRatio / widthRatio); in startPreview() 908 transform.setScale(widthRatio / heightRatio, 1); in startPreview()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | LayerTests.java | 379 scaledMatrix.setScale(4, 5); in testSaveLayerRestoreBehavior()
|