/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityMagnificationTest.java | 220 mService.runOnServiceSync(() -> result.set(controller.setScale(scale, false))); in testSetScale() 239 final AtomicBoolean setScale = new AtomicBoolean(); in testSetScaleAndCenter() local 244 setScale.set(controller.setScale(scale, false)); in testSetScaleAndCenter() 248 assertTrue(getSetterErrorMessage("Failed to set scale"), setScale.get()); in testSetScaleAndCenter() 274 .setScale(scale) in testSetMagnificationConfig_expectedConfig() 292 .setMode(MAGNIFICATION_MODE_FULLSCREEN).setScale(newScale).setCenterX( in testSetMagnificationConfig_expectedConfig() 317 .setScale(scale) in testSetConfigWithDefaultModeAndCenter_expectedConfig() 331 .setScale(newScale).build(); in testSetConfigWithDefaultModeAndCenter_expectedConfig() 332 final MagnificationConfig expectedConfig = obtainConfigBuilder(config).setScale( in testSetConfigWithDefaultModeAndCenter_expectedConfig() 359 .setScale(scale) in testSetConfigWithActivatedFalse_expectedConfig() [all …]
|
D | MagnificationConfigTest.java | 100 .setScale(mScale).setCenterX(mCenterX).setCenterY(mCenterY).build(); in populateMagnificationConfig()
|
D | FullScreenMagnificationControllerTest.java | 137 .setScale(scale) in zoomIn()
|
D | AccessibilityGestureDispatchTest.java | 404 final AtomicBoolean setScale = new AtomicBoolean(); in testClickWhenMagnified_matchesActualTouch() local 406 setScale.set(magnificationController.setScale(MAGNIFICATION_FACTOR, false)); in testClickWhenMagnified_matchesActualTouch() 416 assertTrue("Failed to set scale", setScale.get()); in testClickWhenMagnified_matchesActualTouch()
|
D | AccessibilityEndToEndTest.java | 1860 .setScale(2f).build(); in testDirectAccessibilityConnection_UsesCurrentWindowSpec()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | TransformationTest.java | 51 t1.getMatrix().setScale(3, 1); in testCompose() 52 t2.getMatrix().setScale(3, 1); in testCompose() 58 expectedMatrix.setScale(9, 1); in testCompose() 66 expectedMatrix.setScale(27, 1); in testCompose() 81 t2.getMatrix().setScale(2, 3); in testClear()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ShaderTest.java | 72 scale2x3.setScale(2, 3); in testGetSetLocalMatrix() 95 matrix.setScale(10, 10); in testGetWithNullParam()
|
D | MatrixTest.java | 64 mMatrix.setScale(0f, 0f); in testIsIdentity() 95 Matrix.IDENTITY_MATRIX.setScale(.5f, .5f); in testIdentityMatrixSetScale() 100 Matrix.IDENTITY_MATRIX.setScale(.5f, .5f, 10f, 10f); in testIdentityMatrixSetScalePivot() 287 mMatrix.setScale(1f, 2f); in testEquals() 297 mMatrix.setScale(1f, 2f, 3f, 4f); in testReset() 306 mMatrix.setScale(1f, 2f); in testSetScale() 314 mMatrix.setScale(1f, 2f, 3f, 4f); in testSetScale2()
|
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 | 361 m.setScale(10, 0); in testShaderLocalMatrix() 370 m.setScale(0, 10); in testShaderLocalMatrix()
|
D | BitmapTest.java | 479 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/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | TransformReverseTransformIdentityTest.java | 208 new ScaleAndRotateTransformation.Builder().setScale((float) outWidth / inpWidth, in transformTest() 211 new ScaleAndRotateTransformation.Builder().setScale((float) inpWidth / outWidth, in transformTest()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceControlTest.java | 246 .setScale(surfaceControl, scaleX, scaleY) in setSourceToDefaultDest() 547 .setScale(surfaceControl, .4f, .4f) in testSurfaceTransaction_setDestinationRect_small() 574 .setScale(surfaceControl, .4f, .4f) in testSurfaceTransaction_setDestinationRect_smallScaleFirst() 606 .setScale(surfaceControl, .4f, .4f) in testSurfaceTransaction_setDestinationRect_smallPositionFirst() 633 .setScale(parentSurfaceControl, .4f, .4f) in testSurfaceTransaction_setDestinationRect_parentSmall() 658 .setScale(childSurfaceControl, .4f, .4f) in testSurfaceTransaction_setDestinationRect_childSmall() 682 .setScale(surfaceControl, 3f, 3f) in testSurfaceTransaction_setDestinationRect_extraLarge() 707 .setScale(childSurfaceControl, 3f, 3f) in testSurfaceTransaction_setDestinationRect_childExtraLarge() 781 .setScale(surfaceControl1, .2f, .3f) in testSurfaceTransaction_setDestinationRect_twoLayers() 785 .setScale(surfaceControl2, .2f, .3f) in testSurfaceTransaction_setDestinationRect_twoLayers() [all …]
|
D | ASurfaceControlTest.java | 56 import static android.view.cts.util.ASurfaceControlTestUtils.setScale; 1735 setScale(surfaceControl, .5f, .5f); in testSurfaceTransaction_setScale() 1765 setScale(childSurfaceControl, 0f, 0f); in testSurfaceTransaction_scaleToZero() 1793 setScale(surfaceControl, 2, 2); in testSurfaceTransaction_setPositionAndScale()
|
/cts/tests/surfacecontrol/src/android/view/cts/util/ |
D | ASurfaceControlTestUtils.java | 99 public static void setScale(long surfaceControl, float xScale, float yScale) { in setScale() method in ASurfaceControlTestUtils
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ShaderTests.java | 257 scale.setScale(0.5f, 0.5f); in testLocalMatrixOrder()
|
D | LayerTests.java | 379 scaledMatrix.setScale(4, 5); in testSaveLayerRestoreBehavior()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 791 matrix.setScale(scale.x, scale.y, viewRect.centerX(), viewRect.centerY()); in configurePreviewTextureTransform() 840 matrix.setScale(scale.x, scale.y, 0, 0); in configureImageViewTransform()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 926 transform.setScale(1, heightRatio / widthRatio); in startPreview() 933 transform.setScale(widthRatio / heightRatio, 1); in startPreview()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | CursorAnchorInfoTest.java | 147 transformMatrix.setScale(10.0f, 20.0f); in testBuilder() 536 transformMatrix.setScale(10.0f, 20.0f); in testMatrixIsRequired()
|