Searched refs:mBufferedImageRef (Results 1 – 3 of 3) sorted by relevance
34 …@VisibleForTesting final Queue<SoftReference<BufferedImage>> mBufferedImageRef = new LinkedList<>(… field in Bucket37 return mBufferedImageRef.isEmpty(); in isEmpty()42 if (mBufferedImageRef.isEmpty()) { in remove()46 SoftReference<BufferedImage> reference = mBufferedImageRef.remove(); in remove()51 mBufferedImageRef.offer(new SoftReference<>(img)); in offer()55 mBufferedImageRef.clear(); in clear()
57 bucket.mBufferedImageRef.add(new SoftReference<>(null)); in testGetBufferedImageRecurse()77 bucket.mBufferedImageRef.add(new SoftReference<>(null)); in testRecurseThenHitCacheLimit()98 bucket.mBufferedImageRef.add(new SoftReference<>(null)); in testBucketHasImageToReturn()100 bucket.mBufferedImageRef.add(new SoftReference<>(image)); in testBucketHasImageToReturn()
154 bucket.mBufferedImageRef.clear(); in testBufferedImageReleased()155 bucket.mBufferedImageRef.add(new SoftReference<>(null)); in testBufferedImageReleased()156 bucket.mBufferedImageRef.add(new SoftReference<>(null)); in testBufferedImageReleased()