/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | Matrix3fTest.java | 148 float scaleY = 3.0f; in testScale() local 153 expectedData[3] *= scaleY; in testScale() 154 expectedData[4] *= scaleY; in testScale() 155 expectedData[5] *= scaleY; in testScale() 161 m.scale(scaleX, scaleY, scaleZ); in testScale() 168 expectedData[3] *= scaleY; in testScale() 169 expectedData[4] *= scaleY; in testScale() 170 expectedData[5] *= scaleY; in testScale() 173 m.scale(scaleX, scaleY); in testScale()
|
D | Matrix4fTest.java | 143 float scaleY = 3.0f; in testScale() local 149 expectedData[4] *= scaleY; in testScale() 150 expectedData[5] *= scaleY; in testScale() 151 expectedData[6] *= scaleY; in testScale() 152 expectedData[7] *= scaleY; in testScale() 159 m.scale(scaleX, scaleY, scaleZ); in testScale()
|
D | Matrix2fTest.java | 157 float scaleY = 3.0f; in testScale() local 160 expectedData[2] *= scaleY; in testScale() 161 expectedData[3] *= scaleY; in testScale() 164 m.scale(scaleX, scaleY); in testScale()
|
D | intrinsic_resize.rs | 23 float scaleY; 47 float yf = (y + 0.5f) * scaleY - 0.5f; 97 float yf = (y + 0.5f) * scaleY - 0.5f; 147 float yf = (y + 0.5f) * scaleY - 0.5f; 197 float yf = (y + 0.5f) * scaleY - 0.5f; 247 float yf = (y + 0.5f) * scaleY - 0.5f; 297 float yf = (y + 0.5f) * scaleY - 0.5f; 347 float yf = (y + 0.5f) * scaleY - 0.5f; 397 float yf = (y + 0.5f) * scaleY - 0.5f;
|
D | IntrinsicResize.java | 27 …ivate void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY) { in testResize() argument 35 int outH = (int) (h*scaleY); in testResize()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeImageTransformTest.java | 156 float scaleY = ((float)imageViewHeight)/imageHeight; in fitXYMatrix() local 159 matrix.postScale(scaleX, scaleY); in fitXYMatrix() 170 float scaleY = ((float)imageViewHeight)/imageHeight; in centerCropMatrix() local 172 float maxScale = Math.max(scaleX, scaleY); in centerCropMatrix() 192 float scaleY = ((float)imageViewHeight)/imageHeight; in fitCenterMatrix() local 194 float minScale = Math.min(scaleX, scaleY); in fitCenterMatrix() 214 float scaleY = ((float)imageViewHeight)/imageHeight; in fitStartMatrix() local 216 float minScale = Math.min(scaleX, scaleY); in fitStartMatrix() 230 float scaleY = ((float)imageViewHeight)/imageHeight; in fitEndMatrix() local 232 float minScale = Math.min(scaleX, scaleY); in fitEndMatrix()
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTransformTest.java | 80 for (float scaleY : scales) { in getParameters() 85 || scaleX != 0 || scaleY != 0) { in getParameters() 90 if (scaleX != 0 || scaleY != 0) { in getParameters() 91 transformation.postScale(scaleX, scaleY); in getParameters()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewStressTestActivity.java | 54 ObjectAnimator scaleY = ObjectAnimator.ofFloat(texView, "scaleY", 0.3f, 1f); in onCreate() local 56 animSet.play(rotate).with(fadeIn).with(scaleY); in onCreate()
|
D | TextureViewTest.java | 172 final float scaleY = 0.25f; in testTransformScale() local 173 float[] values = {1, 0, 0, 0, scaleY, translateY, 0, 0, 1}; in testTransformScale() 206 (int) (viewPos.height() * scaleY + translateY)); in testTransformScale()
|
/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 …ivate void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY) { in testResize() argument 69 int outH = (int) (h*scaleY); 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 | 395 float scaleY = (Float) animation.getAnimatedValue("scaleY"); in testValuesSetterAndGetter() 397 assertTrue(scaleY >= 1f && scaleY <= 2f); in testValuesSetterAndGetter()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni.cpp | 391 jfloat scaleY, in Java_android_cts_rscpp_RSResizeTest_resizeTest() argument 413 int outY = (int) (Y * scaleY); in Java_android_cts_rscpp_RSResizeTest_resizeTest()
|