Home
last modified time | relevance | path

Searched refs:scaleY (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DMatrix3fTest.java148 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()
DMatrix4fTest.java143 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()
DMatrix2fTest.java157 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()
Dintrinsic_resize.rs23 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;
DIntrinsicResize.java27 …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/
DChangeImageTransformTest.java156 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/
DPdfRendererTransformTest.java80 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/
DTextureViewStressTestActivity.java54 ObjectAnimator scaleY = ObjectAnimator.ofFloat(texView, "scaleY", 0.3f, 1f); in onCreate() local
56 animSet.play(rotate).with(fadeIn).with(scaleY); in onCreate()
DTextureViewTest.java172 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/
DRSResizeTest.java34 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/
DValueAnimatorTest.java395 float scaleY = (Float) animation.getAnimatedValue("scaleY"); in testValuesSetterAndGetter()
397 assertTrue(scaleY >= 1f && scaleY <= 2f); in testValuesSetterAndGetter()
/cts/tests/tests/rscpp/librscpptest/
Drs_jni.cpp391 jfloat scaleY, in Java_android_cts_rscpp_RSResizeTest_resizeTest() argument
413 int outY = (int) (Y * scaleY); in Java_android_cts_rscpp_RSResizeTest_resizeTest()