Home
last modified time | relevance | path

Searched refs:scaleY (Results 1 – 18 of 18) 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.rscript23 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.java30 …esize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY, boolean useOpt) { in testResize() argument
44 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/module/src/android/graphics/pdf/cts/module/
DPdfRendererTransformTest.java85 for (float scaleY : scales) { in getParameters()
90 || scaleY != 0) { in getParameters()
95 if (scaleX != 0 || scaleY != 0) { in getParameters()
96 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.java226 final float scaleY = 0.25f; in testTransformScale() local
227 float[] values = {1, 0, 0, 0, scaleY, translateY, 0, 0, 1}; in testTransformScale()
260 (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/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java462 float scaleX = 1.0f, scaleY = 1.0f; in setPreviewTransform() local
465 scaleY = viewAspectRatio / selectedPreviewAspectRatio; in setPreviewTransform()
467 - (float) mPreviewView.getMeasuredHeight() * scaleY / 2; in setPreviewTransform()
473 transform.postScale(scaleX, scaleY); in setPreviewTransform()
/cts/tests/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java405 float scaleY = (Float) animation.getAnimatedValue("scaleY"); in testValuesSetterAndGetter()
407 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()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DViewPropertyAnimatorTests.java364 animator.scaleY(3.2f); in testViewScaleY()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java550 float scaleY = potentialHeight / (float) mPreviewTexHeight; in setUpCaptureButton()
551 mPlaybackView.setScaleY(scaleY); in setUpCaptureButton()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceControlTest.java240 float scaleY = DEFAULT_LAYOUT_HEIGHT / (float) src.height(); in setSourceToDefaultDest() local
245 .setPosition(surfaceControl, -src.left * scaleX, -src.top * scaleY) in setSourceToDefaultDest()
246 .setScale(surfaceControl, scaleX, scaleY) in setSourceToDefaultDest()
/cts/tests/tests/widget/src/android/widget/cts/
DScrollViewTest.java1065 float scaleY = 2.0f; in testSurfaceViewStretchAtEndWithScale() local
1080 surfaceView.setScaleY(scaleY); in testSurfaceViewStretchAtEndWithScale()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1431 field public static final int scaleY = 16843557; // 0x1010325
53867 method @NonNull public android.view.ViewPropertyAnimator scaleY(float);