/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Matrix3fTest.java | 147 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()
|
D | Matrix4fTest.java | 142 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()
|
D | Matrix2fTest.java | 156 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()
|
D | intrinsic_resize.rs | 22 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;
|
D | IntrinsicResize.java | 27 …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/ |
D | ChangeImageTransformTest.java | 119 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/ |
D | PdfRendererTransformTest.java | 78 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/ |
D | RSResizeTest.java | 34 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/ |
D | ValueAnimatorTest.java | 391 float scaleX = (Float) animation.getAnimatedValue("scaleX"); in testValuesSetterAndGetter() 393 assertTrue(scaleX >= 0f && scaleX <= 1f); in testValuesSetterAndGetter()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni.cpp | 390 jfloat scaleX, in Java_android_cts_rscpp_RSResizeTest_resizeTest() argument 412 int outX = (int) (X * scaleX); in Java_android_cts_rscpp_RSResizeTest_resizeTest()
|