/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeImageTransformTest.java | 140 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/ |
D | YUVImage.java | 31 int imageWidth, int imageHeight, in YUVImage() argument 36 mImageHeight = imageHeight; in YUVImage()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | DecodeStreamToYuv.java | 180 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()
|
D | OutputManager.java | 248 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()
|
D | CodecEncoderTestBase.java | 366 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/ |
D | AImageReaderCts.cpp | 374 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/ |
D | MediaTranscodingTestUtil.java | 338 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/ |
D | MediaMetadataRetrieverTest.java | 1225 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/ |
D | CodecTestBase.java | 784 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/ |
D | MediaUtils.java | 1364 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/ |
D | DecoderTest.java | 3135 int imageHeight = image.getHeight(); 3146 height = imageHeight; 3149 height = imageHeight /2;
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RobustnessTest.java | 195 int imageHeight = image.getHeight(); in testBadSurfaceDimensions() local 196 Size actualSize = new Size(imageWidth, imageHeight); in testBadSurfaceDimensions()
|