Home
last modified time | relevance | path

Searched refs:scaleX (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrix3fTest.java147 float scaleX = 2.0f; in testScale() local
150 expectedData[0] *= scaleX; in testScale()
151 expectedData[1] *= scaleX; in testScale()
152 expectedData[2] *= scaleX; in testScale()
161 m.scale(scaleX, scaleY, scaleZ); in testScale()
165 expectedData[0] *= scaleX; in testScale()
166 expectedData[1] *= scaleX; in testScale()
167 expectedData[2] *= scaleX; in testScale()
173 m.scale(scaleX, scaleY); in testScale()
DMatrix4fTest.java142 float scaleX = 2.0f; in testScale() local
145 expectedData[0] *= scaleX; in testScale()
146 expectedData[1] *= scaleX; in testScale()
147 expectedData[2] *= scaleX; in testScale()
148 expectedData[3] *= scaleX; in testScale()
159 m.scale(scaleX, scaleY, scaleZ); in testScale()
DMatrix2fTest.java156 float scaleX = 2.0f; in testScale() local
158 expectedData[0] *= scaleX; in testScale()
159 expectedData[1] *= scaleX; in testScale()
164 m.scale(scaleX, scaleY); in testScale()
Dintrinsic_resize.rscript22 float scaleX;
46 float xf = (x + 0.5f) * scaleX - 0.5f;
96 float xf = (x + 0.5f) * scaleX - 0.5f;
146 float xf = (x + 0.5f) * scaleX - 0.5f;
196 float xf = (x + 0.5f) * scaleX - 0.5f;
246 float xf = (x + 0.5f) * scaleX - 0.5f;
296 float xf = (x + 0.5f) * scaleX - 0.5f;
346 float xf = (x + 0.5f) * scaleX - 0.5f;
396 float xf = (x + 0.5f) * scaleX - 0.5f;
DIntrinsicResize.java30 …private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY… in testResize() argument
43 int outW = (int) (w*scaleX); in testResize()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeImageTransformTest.java152 float scaleX = ((float)imageViewWidth)/imageWidth; in fitXYMatrix() local
159 matrix.postScale(scaleX, scaleY); in fitXYMatrix()
166 float scaleX = ((float)imageViewWidth)/imageWidth; in centerCropMatrix() local
172 float maxScale = Math.max(scaleX, scaleY); in centerCropMatrix()
188 float scaleX = ((float)imageViewWidth)/imageWidth; in fitCenterMatrix() local
194 float minScale = Math.min(scaleX, scaleY); in fitCenterMatrix()
210 float scaleX = ((float)imageViewWidth)/imageWidth; in fitStartMatrix() local
216 float minScale = Math.min(scaleX, scaleY); in fitStartMatrix()
226 float scaleX = ((float)imageViewWidth)/imageWidth; in fitEndMatrix() local
232 float minScale = Math.min(scaleX, scaleY); in fitEndMatrix()
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DPdfRendererTransformTest.java84 for (float scaleX : scales) { in getParameters()
89 if (rotation != 0 || translateX != 0 || translateY != 0 || scaleX != 0 in getParameters()
95 if (scaleX != 0 || scaleY != 0) { in getParameters()
96 transformation.postScale(scaleX, scaleY); in getParameters()
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSResizeTest.java34 native boolean resizeTest(String path, int w, int h, float scaleX, float scaleY, in resizeTest() argument
37 …private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY… in testResize() argument
68 int outW = (int) (w*scaleX); in testResize()
81 resizeTest(this.getContext().getCacheDir().toString().toString(), w, h, scaleX, scaleY, in testResize() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java462 float scaleX = 1.0f, scaleY = 1.0f; in setPreviewTransform() local
469 scaleX = selectedPreviewAspectRatio / viewAspectRatio; in setPreviewTransform()
471 - (float) mPreviewView.getMeasuredWidth() * scaleX / 2; in setPreviewTransform()
473 transform.postScale(scaleX, scaleY); in setPreviewTransform()
/cts/tests/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java404 float scaleX = (Float) animation.getAnimatedValue("scaleX"); in testValuesSetterAndGetter()
406 assertTrue(scaleX >= 0f && scaleX <= 1f); in testValuesSetterAndGetter()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni.cpp390 jfloat scaleX, in Java_android_cts_rscpp_RSResizeTest_resizeTest() argument
412 int outX = (int) (X * scaleX); in Java_android_cts_rscpp_RSResizeTest_resizeTest()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DViewPropertyAnimatorTests.java328 animator.scaleX(2.5f); in testViewScaleX()
/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java993 float scaleX = 2.0f; in testSurfaceViewStretchAtEndWithScale() local
1008 surfaceView.setScaleX(scaleX); in testSurfaceViewStretchAtEndWithScale()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlTest.java241 float scaleX = DEFAULT_LAYOUT_WIDTH / (float) src.width(); in setSourceToDefaultDest() local
245 .setPosition(surfaceControl, -src.left * scaleX, -src.top * scaleY) in setSourceToDefaultDest()
246 .setScale(surfaceControl, scaleX, scaleY) in setSourceToDefaultDest()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1430 field public static final int scaleX = 16843556; // 0x1010324
53865 method @NonNull public android.view.ViewPropertyAnimator scaleX(float);