Home
last modified time | relevance | path

Searched refs:imageWidth (Results 1 – 9 of 9) 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/src/android/media/cts/
DYUVImage.java34 int imageWidth, int imageHeight, in YUVImage() argument
38 mImageWidth = imageWidth; in YUVImage()
DExifInterfaceTest.java142 public final int imageWidth; field in ExifInterfaceTest.ExpectedValue
202 imageWidth = typedArray.getInt(index++, 0); in ExpectedValue()
362 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth); in compareWithExpectedValue()
DDecoderTest.java3206 int imageWidth = image.getWidth();
3217 width = imageWidth;
3220 width = imageWidth / 2;
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp378 int32_t imageWidth = 0; in HandleImageAvailable() local
383 AImage_getWidth(outImage, &imageWidth); in HandleImageAvailable()
385 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable()
387 mHeight, imageWidth, imageHeight); in HandleImageAvailable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java177 private float focalLengthPixels(float fovDegrees, float imageWidth) { in focalLengthPixels() argument
178 return (float) (imageWidth in focalLengthPixels()
/cts/tests/media/src/android/mediav2/cts/
DCodecTestBase.java308 int imageWidth = image.getWidth(); in checksum() local
317 width = imageWidth; in checksum()
320 width = imageWidth / 2; in checksum()
1169 int imageWidth = image.getWidth(); in fillImage() local
1175 int width = imageWidth; in fillImage()
1182 width = imageWidth / 2; in fillImage()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1271 int imageWidth = cropRight - cropLeft; in getImageMD5Checksum() local
1282 width = imageWidth; in getImageMD5Checksum()
1287 width = imageWidth / 2; in getImageMD5Checksum()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java161 int imageWidth = image.getWidth(); in testBadSurfaceDimensions() local
163 Size actualSize = new Size(imageWidth, imageHeight); in testBadSurfaceDimensions()