Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java78 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()
DAccessibilityGestureDispatchTest.java348 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/
DTransformationTest.java49 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/
DMatrixTest.java58 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()
DShaderTest.java72 scale2x3.setScale(2, 3); in testGetSetLocalMatrix()
95 matrix.setScale(10, 10); in testGetWithNullParam()
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.java352 m.setScale(10, 0); in testShaderLocalMatrix()
361 m.setScale(0, 10); in testShaderLocalMatrix()
DBitmapTest.java372 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/inputmethod/src/android/view/inputmethod/cts/
DCursorAnchorInfoTest.java104 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/
DCameraFormatsActivity.java518 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/
DCameraVideoActivity.java901 transform.setScale(1, heightRatio / widthRatio); in startPreview()
908 transform.setScale(widthRatio / heightRatio, 1); in startPreview()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DLayerTests.java379 scaledMatrix.setScale(4, 5); in testSaveLayerRestoreBehavior()