HomeSort by relevance Sort by last modified time
    Searched defs:BitmapHolder (Results 1 - 2 of 2) sorted by null

  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPhotoManager.java 483 private static class BitmapHolder {
492 public BitmapHolder(byte[] bytes, int originalSmallerExtent) {
506 private final LruCache<Object, BitmapHolder> mBitmapHolderCache;
584 mBitmapHolderCache = new LruCache<Object, BitmapHolder>(holderCacheSize) {
585 @Override protected int sizeOf(Object key, BitmapHolder value) {
590 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) {
621 for (BitmapHolder h : mBitmapHolderCache.snapshot().values()) {
738 for (BitmapHolder holder : mBitmapHolderCache.snapshot().values()) {
749 BitmapHolder holder = mBitmapHolderCache.get(request.getKey())
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
PhotoManager.java 137 protected static class BitmapHolder {
144 public BitmapHolder(byte[] bytes, int width, int height) {
176 private static final LruCache<Object, BitmapHolder> sBitmapHolderCache;
203 sBitmapHolderCache = new LruCache<Object, BitmapHolder>(holderCacheSize) {
204 @Override protected int sizeOf(Object key, BitmapHolder value) {
209 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) {
398 final BitmapHolder holder = sBitmapHolderCache.get(request.getKey());
515 private static void cacheBitmapHolder(final String cacheKey, final BitmapHolder holder) {
517 BitmapHolder prev = sBitmapHolderCache.get(cacheKey)
    [all...]

Completed in 2844 milliseconds