/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeImageTransformTest.java | 136 int imageWidth = mImage.getIntrinsicWidth(); in centerMatrix() local 138 float tx = Math.round((imageViewWidth - imageWidth)/2f); in centerMatrix() 150 int imageWidth = mImage.getIntrinsicWidth(); in fitXYMatrix() local 152 float scaleX = ((float)imageViewWidth)/imageWidth; in fitXYMatrix() 164 int imageWidth = mImage.getIntrinsicWidth(); in centerCropMatrix() local 166 float scaleX = ((float)imageViewWidth)/imageWidth; in centerCropMatrix() 174 float width = imageWidth * maxScale; in centerCropMatrix() 186 int imageWidth = mImage.getIntrinsicWidth(); in fitCenterMatrix() local 188 float scaleX = ((float)imageViewWidth)/imageWidth; in fitCenterMatrix() 196 float width = imageWidth * minScale; in fitCenterMatrix() [all …]
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | YUVImage.java | 31 int imageWidth, int imageHeight, in YUVImage() argument 35 mImageWidth = imageWidth; in YUVImage()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | DecodeStreamToYuv.java | 179 int imageWidth = cropRect.width(); in getImage() local 181 assertTrue("unexpected image dimensions", imageWidth > 0 && imageHeight > 0); in getImage() 193 width = imageWidth; in getImage() 198 width = imageWidth / 2; in getImage()
|
D | OutputManager.java | 247 int imageWidth = cropRect.width(); in checksum() local 249 assertTrue("unexpected image dimensions", imageWidth > 0 && imageHeight > 0); in checksum() 261 width = imageWidth; in checksum() 266 width = imageWidth / 2; in checksum()
|
D | CodecEncoderTestBase.java | 365 int imageWidth = image.getWidth(); in fillImage() local 371 int width = imageWidth; in fillImage() 378 width = imageWidth / 2; in fillImage()
|
/cts/tests/tests/media/misc/jni/ |
D | AImageReaderCts.cpp | 373 int32_t imageWidth = 0; in HandleImageAvailable() local 378 AImage_getWidth(outImage, &imageWidth); 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 | 337 int imageWidth = cropRight - cropLeft; in dumpYUV420PToFile() local 339 byte[] bb = new byte[imageWidth * imageHeight]; in dumpYUV420PToFile() 349 width = imageWidth; in dumpYUV420PToFile() 354 width = imageWidth / 2; in dumpYUV420PToFile()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | DetermineFovActivity.java | 201 private float focalLengthPixels(float fovDegrees, float imageWidth) { in focalLengthPixels() argument 202 return (float) (imageWidth in focalLengthPixels()
|
/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 1228 int gridWidth = imageWidth / gridCols; in testGetImageAtIndexAvifGrid() 1236 testGetImage(res, imageWidth, imageHeight, "image/avif", 0 /*rotation*/, 1 /*imageCount*/, in testGetImageAtIndexAvifGrid()
|
D | ExifInterfaceTest.java | 168 public final int imageWidth; field in ExifInterfaceTest.ExpectedValue 228 imageWidth = typedArray.getInt(index++, 0); in ExpectedValue() 394 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth); in compareWithExpectedValue()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTestBase.java | 783 int imageWidth = image.getWidth(); in fillImage() local 789 int width = imageWidth; in fillImage() 796 width = imageWidth / 2; in fillImage()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 1363 int imageWidth = cropRight - cropLeft; in getImageMD5Checksum() local 1374 width = imageWidth; in getImageMD5Checksum() 1379 width = imageWidth / 2; in getImageMD5Checksum()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderTest.java | 3134 int imageWidth = image.getWidth(); 3145 width = imageWidth; 3148 width = imageWidth / 2;
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RobustnessTest.java | 194 int imageWidth = image.getWidth(); in testBadSurfaceDimensions() local 196 Size actualSize = new Size(imageWidth, imageHeight); in testBadSurfaceDimensions()
|