Home
last modified time | relevance | path

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

/cts/tests/tests/transition/src/android/transition/cts/
DChangeImageTransformTest.java103 int imageWidth = mImage.getIntrinsicWidth(); in centerMatrix() local
105 float tx = Math.round((imageViewWidth - imageWidth)/2f); in centerMatrix()
117 int imageWidth = mImage.getIntrinsicWidth(); in fitXYMatrix() local
119 float scaleX = ((float)imageViewWidth)/imageWidth; in fitXYMatrix()
131 int imageWidth = mImage.getIntrinsicWidth(); in centerCropMatrix() local
133 float scaleX = ((float)imageViewWidth)/imageWidth; in centerCropMatrix()
141 float width = imageWidth * maxScale; in centerCropMatrix()
153 int imageWidth = mImage.getIntrinsicWidth(); in fitCenterMatrix() local
155 float scaleX = ((float)imageViewWidth)/imageWidth; in fitCenterMatrix()
163 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.java124 public final int imageWidth; field in ExifInterfaceTest.ExpectedValue
170 imageWidth = typedArray.getInt(index++, 0); in ExpectedValue()
294 assertIntTag(exifInterface, ExifInterface.TAG_IMAGE_WIDTH, expectedValue.imageWidth); in compareWithExpectedValue()
DDecoderTest.java2554 int imageWidth = image.getWidth();
2565 width = imageWidth;
2568 width = imageWidth / 2;
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp377 int32_t imageWidth = 0; in HandleImageAvailable() local
382 AImage_getWidth(outImage, &imageWidth); in HandleImageAvailable()
384 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable()
386 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/src/com/android/compatibility/common/util/
DMediaUtils.java1139 int imageWidth = image.getWidth(); in getImageMD5Checksum() local
1150 width = imageWidth; in getImageMD5Checksum()
1153 width = imageWidth / 2; in getImageMD5Checksum()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java143 int imageWidth = image.getWidth(); in testBadSurfaceDimensions() local
145 Size actualSize = new Size(imageWidth, imageHeight); in testBadSurfaceDimensions()