Searched refs:bmpOptions (Results 1 – 2 of 2) sorted by relevance
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 482 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in subtestTakePictureByCamera() local 483 bmpOptions.inJustDecodeBounds = true; in subtestTakePictureByCamera() 484 BitmapFactory.decodeByteArray(mJpegData, 0, mJpegData.length, bmpOptions); in subtestTakePictureByCamera() 486 assertEquals(pictureSize.width, bmpOptions.outWidth); in subtestTakePictureByCamera() 487 assertEquals(pictureSize.height, bmpOptions.outHeight); in subtestTakePictureByCamera() 489 int realArea = bmpOptions.outWidth * bmpOptions.outHeight; in subtestTakePictureByCamera() 491 bmpOptions.outWidth + " x " + bmpOptions.outHeight + in subtestTakePictureByCamera() 930 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in testJpegThumbnailSizeByCamera() local 931 bmpOptions.inJustDecodeBounds = true; in testJpegThumbnailSizeByCamera() 932 BitmapFactory.decodeByteArray(thumb, 0, thumb.length, bmpOptions); in testJpegThumbnailSizeByCamera() [all …]
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2164 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in validateJpegData() local 2167 bmpOptions.inJustDecodeBounds = true; in validateJpegData() 2168 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in validateJpegData() 2169 assertEquals(width, bmpOptions.outWidth); in validateJpegData() 2170 assertEquals(height, bmpOptions.outHeight); in validateJpegData() 2304 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in validateHeicData() local 2307 bmpOptions.inJustDecodeBounds = true; in validateHeicData() 2308 BitmapFactory.decodeByteArray(heicData, 0, heicData.length, bmpOptions); in validateHeicData() 2309 assertEquals(width, bmpOptions.outWidth); in validateHeicData() 2310 assertEquals(height, bmpOptions.outHeight); in validateHeicData()
|