Searched refs:bmpOptions (Results 1 – 2 of 2) sorted by relevance
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 436 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in subtestTakePictureByCamera() local 437 bmpOptions.inJustDecodeBounds = true; in subtestTakePictureByCamera() 438 BitmapFactory.decodeByteArray(mJpegData, 0, mJpegData.length, bmpOptions); in subtestTakePictureByCamera() 440 assertEquals(pictureSize.width, bmpOptions.outWidth); in subtestTakePictureByCamera() 441 assertEquals(pictureSize.height, bmpOptions.outHeight); in subtestTakePictureByCamera() 443 int realArea = bmpOptions.outWidth * bmpOptions.outHeight; in subtestTakePictureByCamera() 445 bmpOptions.outWidth + " x " + bmpOptions.outHeight + in subtestTakePictureByCamera() 898 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in testJpegThumbnailSizeByCamera() local 899 bmpOptions.inJustDecodeBounds = true; in testJpegThumbnailSizeByCamera() 900 BitmapFactory.decodeByteArray(thumb, 0, thumb.length, bmpOptions); in testJpegThumbnailSizeByCamera() [all …]
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1654 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in validateJpegData() local 1657 bmpOptions.inJustDecodeBounds = true; in validateJpegData() 1658 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in validateJpegData() 1659 assertEquals(width, bmpOptions.outWidth); in validateJpegData() 1660 assertEquals(height, bmpOptions.outHeight); in validateJpegData() 1779 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in validateHeicData() local 1782 bmpOptions.inJustDecodeBounds = true; in validateHeicData() 1783 BitmapFactory.decodeByteArray(heicData, 0, heicData.length, bmpOptions); in validateHeicData() 1784 assertEquals(width, bmpOptions.outWidth); in validateHeicData() 1785 assertEquals(height, bmpOptions.outHeight); in validateHeicData()
|