Home
last modified time | relevance | path

Searched refs:bmpOptions (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java403 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in subtestTakePictureByCamera() local
404 bmpOptions.inJustDecodeBounds = true; in subtestTakePictureByCamera()
405 BitmapFactory.decodeByteArray(mJpegData, 0, mJpegData.length, bmpOptions); in subtestTakePictureByCamera()
407 assertEquals(pictureSize.width, bmpOptions.outWidth); in subtestTakePictureByCamera()
408 assertEquals(pictureSize.height, bmpOptions.outHeight); in subtestTakePictureByCamera()
410 int realArea = bmpOptions.outWidth * bmpOptions.outHeight; in subtestTakePictureByCamera()
412 bmpOptions.outWidth + " x " + bmpOptions.outHeight + in subtestTakePictureByCamera()
811 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in testJpegThumbnailSizeByCamera() local
812 bmpOptions.inJustDecodeBounds = true; in testJpegThumbnailSizeByCamera()
813 BitmapFactory.decodeByteArray(thumb, 0, thumb.length, bmpOptions); in testJpegThumbnailSizeByCamera()
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java1367 BitmapFactory.Options bmpOptions = new BitmapFactory.Options(); in validateJpegData() local
1370 bmpOptions.inJustDecodeBounds = true; in validateJpegData()
1371 BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length, bmpOptions); in validateJpegData()
1372 assertEquals(width, bmpOptions.outWidth); in validateJpegData()
1373 assertEquals(height, bmpOptions.outHeight); in validateJpegData()