Home
last modified time | relevance | path

Searched refs:scaleX (Results 1 – 10 of 10) 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.rs22 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.java27 …private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY… in testResize() argument
34 int outW = (int) (w*scaleX); in testResize()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeImageTransformTest.java119 float scaleX = ((float)imageViewWidth)/imageWidth; in fitXYMatrix() local
126 matrix.postScale(scaleX, scaleY); in fitXYMatrix()
133 float scaleX = ((float)imageViewWidth)/imageWidth; in centerCropMatrix() local
139 float maxScale = Math.max(scaleX, scaleY); in centerCropMatrix()
155 float scaleX = ((float)imageViewWidth)/imageWidth; in fitCenterMatrix() local
161 float minScale = Math.min(scaleX, scaleY); in fitCenterMatrix()
177 float scaleX = ((float)imageViewWidth)/imageWidth; in fitStartMatrix() local
183 float minScale = Math.min(scaleX, scaleY); in fitStartMatrix()
193 float scaleX = ((float)imageViewWidth)/imageWidth; in fitEndMatrix() local
199 float minScale = Math.min(scaleX, scaleY); in fitEndMatrix()
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTransformTest.java78 for (float scaleX : scales) { in getParameters()
84 || scaleX != 0 || scaleY != 0) { in getParameters()
89 if (scaleX != 0 || scaleY != 0) { in getParameters()
90 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/tests/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java391 float scaleX = (Float) animation.getAnimatedValue("scaleX"); in testValuesSetterAndGetter()
393 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()