Home
last modified time | relevance | path

Searched refs:imageWidth (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/transition/src/android/transition/cts/
DChangeImageTransformTest.java136 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/
DYUVImage.java31 int imageWidth, int imageHeight, in YUVImage() argument
35 mImageWidth = imageWidth; in YUVImage()
/cts/tests/media/common/src/android/mediav2/common/cts/
DDecodeStreamToYuv.java179 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()
DOutputManager.java247 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()
DCodecEncoderTestBase.java365 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/
DAImageReaderCts.cpp373 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/
DMediaTranscodingTestUtil.java337 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/
DDetermineFovActivity.java201 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/
DMediaMetadataRetrieverTest.java1225 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()
DExifInterfaceTest.java168 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/
DCodecTestBase.java783 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/
DMediaUtils.java1363 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/
DDecoderTest.java3134 int imageWidth = image.getWidth();
3145 width = imageWidth;
3148 width = imageWidth / 2;
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java194 int imageWidth = image.getWidth(); in testBadSurfaceDimensions() local
196 Size actualSize = new Size(imageWidth, imageHeight); in testBadSurfaceDimensions()