Home
last modified time | relevance | path

Searched refs:setScale (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java220 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 …]
DMagnificationConfigTest.java100 .setScale(mScale).setCenterX(mCenterX).setCenterY(mCenterY).build(); in populateMagnificationConfig()
DFullScreenMagnificationControllerTest.java137 .setScale(scale) in zoomIn()
DAccessibilityGestureDispatchTest.java404 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()
DAccessibilityEndToEndTest.java1860 .setScale(2f).build(); in testDirectAccessibilityConnection_UsesCurrentWindowSpec()
/cts/tests/tests/view/src/android/view/animation/cts/
DTransformationTest.java51 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/
DShaderTest.java72 scale2x3.setScale(2, 3); in testGetSetLocalMatrix()
95 matrix.setScale(10, 10); in testGetWithNullParam()
DMatrixTest.java64 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()
DPathMeasureTest.java141 matrix.setScale(1f, 2f); in testGetMatrix()
DColorMatrixTest.java162 mColorMatrix.setScale(2, 3, 4, 5); in testSetScale()
DRadialGradientTest.java52 m.setScale(0, 0); in testZeroScaleMatrix()
DLinearGradientTest.java152 m.setScale(0, 0);
DSweepGradientTest.java159 m.setScale(0, 0); in testZeroScaleMatrix()
DPaintTest.java361 m.setScale(10, 0); in testShaderLocalMatrix()
370 m.setScale(0, 10); in testShaderLocalMatrix()
DBitmapTest.java479 matrix.setScale(10, 10); in testCreateBitmap_matrix()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DResourceModifier.java75 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/
DTransformReverseTransformIdentityTest.java208 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/
DSurfaceControlTest.java246 .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 …]
DASurfaceControlTest.java56 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/
DASurfaceControlTestUtils.java99 public static void setScale(long surfaceControl, float xScale, float yScale) { in setScale() method in ASurfaceControlTestUtils
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DShaderTests.java257 scale.setScale(0.5f, 0.5f); in testLocalMatrixOrder()
DLayerTests.java379 scaledMatrix.setScale(4, 5); in testSaveLayerRestoreBehavior()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java791 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/
DCameraVideoActivity.java926 transform.setScale(1, heightRatio / widthRatio); in startPreview()
933 transform.setScale(widthRatio / heightRatio, 1); in startPreview()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DCursorAnchorInfoTest.java147 transformMatrix.setScale(10.0f, 20.0f); in testBuilder()
536 transformMatrix.setScale(10.0f, 20.0f); in testMatrixIsRequired()

12