Searched refs:thumb (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Images_ThumbnailsTest.java | 442 final Bitmap thumb = mContentResolver.loadThumbnail(finalUri, new Size(32, 32), null); in testInsertUpdateDelete() local 443 assertTrue(thumb.getWidth() < full.getWidth()); in testInsertUpdateDelete() 444 assertTrue(thumb.getHeight() < full.getHeight()); in testInsertUpdateDelete() 447 assertColorMostlyEquals(Color.RED, thumb.getPixel(16, 16)); in testInsertUpdateDelete() 459 final Bitmap thumb = MediaStore.Images.Thumbnails.getThumbnail(mContentResolver, in testInsertUpdateDelete() 461 assertTrue(thumb.getWidth() < full.getWidth()); in testInsertUpdateDelete() 462 assertTrue(thumb.getHeight() < full.getHeight()); in testInsertUpdateDelete() 465 assertColorMostlyEquals(Color.RED, thumb.getPixel(16, 16)); in testInsertUpdateDelete() 480 final Bitmap thumb = mContentResolver.loadThumbnail(finalUri, new Size(32, 32), null); in testInsertUpdateDelete() 481 assertColorMostlyEquals(Color.BLUE, thumb.getPixel(16, 16)); in testInsertUpdateDelete()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 897 byte[] thumb = exif.getThumbnail(); in testJpegThumbnailSizeByCamera() 900 BitmapFactory.decodeByteArray(thumb, 0, thumb.length, bmpOptions); in testJpegThumbnailSizeByCamera()
|