Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DThumbnailCacheTest.java50 private static final Bitmap MIDSIZE_BITMAP = Bitmaps.createTestBitmap(2, 2); field in ThumbnailCacheTest
56 MIDSIZE_BITMAP.getByteCount() + LARGE_BITMAP.getByteCount();
67 mCache.putThumbnail(URI_0, MID_SIZE, MIDSIZE_BITMAP, LAST_MODIFIED); in testMiss()
76 mCache.putThumbnail(URI_0, MID_SIZE, MIDSIZE_BITMAP, LAST_MODIFIED); in testHit_Exact()
81 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Exact()
86 mCache.putThumbnail(URI_0, MID_SIZE, MIDSIZE_BITMAP, LAST_MODIFIED); in testHit_Smaller()
91 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Smaller()
96 mCache.putThumbnail(URI_0, MID_SIZE, MIDSIZE_BITMAP, LAST_MODIFIED); in testHit_Larger()
101 assertSame(MIDSIZE_BITMAP, result.getThumbnail()); in testHit_Larger()
117 mCache.putThumbnail(URI_0, MID_SIZE, MIDSIZE_BITMAP, LAST_MODIFIED); in testHit_Exact_MultiplePut()
[all …]