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.java130 public final int imageWidth; field in ExifInterfaceTest.ExpectedValue
185 imageWidth = typedArray.getInt(index++, 0); in ExpectedValue()
335 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth); in compareWithExpectedValue()
DDecoderTest.java2957 int imageWidth = image.getWidth();
2968 width = imageWidth;
2971 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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1171 int imageWidth = image.getWidth(); in getImageMD5Checksum() local
1182 width = imageWidth; in getImageMD5Checksum()
1185 width = imageWidth / 2; in getImageMD5Checksum()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java1164 int imageWidth = cropRight - cropLeft + 1; in getImageMD5Checksum() local
1175 width = imageWidth; in getImageMD5Checksum()
1180 width = imageWidth / 2; in getImageMD5Checksum()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java147 int imageWidth = image.getWidth(); in testBadSurfaceDimensions() local
149 Size actualSize = new Size(imageWidth, imageHeight); in testBadSurfaceDimensions()