Home
last modified time | relevance | path

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

/cts/tests/tests/transition/src/android/transition/cts/
DChangeImageTransformTest.java140 int imageHeight = mImage.getIntrinsicHeight(); in centerMatrix() local
142 float ty = Math.round((imageViewHeight - imageHeight)/2f); in centerMatrix()
154 int imageHeight = mImage.getIntrinsicHeight(); in fitXYMatrix() local
156 float scaleY = ((float)imageViewHeight)/imageHeight; in fitXYMatrix()
168 int imageHeight = mImage.getIntrinsicHeight(); in centerCropMatrix() local
170 float scaleY = ((float)imageViewHeight)/imageHeight; in centerCropMatrix()
175 float height = imageHeight * maxScale; in centerCropMatrix()
190 int imageHeight = mImage.getIntrinsicHeight(); in fitCenterMatrix() local
192 float scaleY = ((float)imageViewHeight)/imageHeight; in fitCenterMatrix()
197 float height = imageHeight * minScale; in fitCenterMatrix()
[all …]
/cts/tests/tests/media/common/src/android/media/cts/
DYUVImage.java31 int imageWidth, int imageHeight, in YUVImage() argument
36 mImageHeight = imageHeight; in YUVImage()
/cts/tests/media/common/src/android/mediav2/common/cts/
DDecodeStreamToYuv.java180 int imageHeight = cropRect.height(); in getImage() local
181 assertTrue("unexpected image dimensions", imageWidth > 0 && imageHeight > 0); in getImage()
194 height = imageHeight; in getImage()
199 height = imageHeight / 2; in getImage()
DOutputManager.java248 int imageHeight = cropRect.height(); in checksum() local
249 assertTrue("unexpected image dimensions", imageWidth > 0 && imageHeight > 0); in checksum()
262 height = imageHeight; in checksum()
267 height = imageHeight / 2; in checksum()
DCodecEncoderTestBase.java366 int imageHeight = image.getHeight(); in fillImage() local
372 int height = imageHeight; in fillImage()
379 height = imageHeight / 2; in fillImage()
/cts/tests/tests/media/misc/jni/
DAImageReaderCts.cpp374 int32_t imageHeight = 0; in HandleImageAvailable() local
379 AImage_getHeight(outImage, &imageHeight); in HandleImageAvailable()
380 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable()
382 mHeight, imageWidth, imageHeight); in HandleImageAvailable()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java338 int imageHeight = cropBottom - cropTop; in dumpYUV420PToFile() local
339 byte[] bb = new byte[imageWidth * imageHeight]; in dumpYUV420PToFile()
350 height = imageHeight; in dumpYUV420PToFile()
355 height = imageHeight / 2; in dumpYUV420PToFile()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaMetadataRetrieverTest.java1225 private void testGetImageAtIndexAvifGrid(final String res, int imageWidth, int imageHeight, in testGetImageAtIndexAvifGrid() argument
1229 int gridHeight = imageHeight / gridRows; in testGetImageAtIndexAvifGrid()
1236 testGetImage(res, imageWidth, imageHeight, "image/avif", 0 /*rotation*/, 1 /*imageCount*/, in testGetImageAtIndexAvifGrid()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTestBase.java784 int imageHeight = image.getHeight(); in fillImage() local
790 int height = imageHeight; in fillImage()
797 height = imageHeight / 2; in fillImage()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1364 int imageHeight = cropBottom - cropTop; in getImageMD5Checksum() local
1375 height = imageHeight; in getImageMD5Checksum()
1380 height = imageHeight /2; in getImageMD5Checksum()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderTest.java3135 int imageHeight = image.getHeight();
3146 height = imageHeight;
3149 height = imageHeight /2;
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java195 int imageHeight = image.getHeight(); in testBadSurfaceDimensions() local
196 Size actualSize = new Size(imageWidth, imageHeight); in testBadSurfaceDimensions()