Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java81 private static final int CACHE_SIZE = 16; field in NinePatchTexture.SmallCache
82 private static final int CACHE_SIZE_START_MOVE = CACHE_SIZE / 2;
83 private int[] mKey = new int[CACHE_SIZE];
84 private V[] mValue = (V[]) new Object[CACHE_SIZE];
90 if (mCount == CACHE_SIZE) { in put()
91 V old = mValue[CACHE_SIZE - 1]; // remove the last item in put()
92 mKey[CACHE_SIZE - 1] = key; in put()
93 mValue[CACHE_SIZE - 1] = value; in put()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DMediaSetSource.java124 private static final int CACHE_SIZE = 32; field in MediaSetSource.CheckedMediaSetSource
130 private MediaItem mCache[] = new MediaItem[CACHE_SIZE];
153 ArrayList<MediaItem> items = mSource.getMediaItem(mCacheStart, CACHE_SIZE); in ensureCacheRange()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DBitmapCache.java30 private static final int CACHE_SIZE = field in BitmapCache
33 private final MemoryCache mMemoryCache = new MemoryCache(CACHE_SIZE);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlotRenderer.java38 private static final int CACHE_SIZE = 96; field in AlbumSlotRenderer
90 mDataWindow = new AlbumSlidingWindow(mActivity, model, CACHE_SIZE); in setModel()
DAlbumSetSlotRenderer.java36 private static final int CACHE_SIZE = 96; field in AlbumSetSlotRenderer
110 mActivity, model, mLabelSpec, CACHE_SIZE); in setModel()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java58 private static final int CACHE_SIZE = 100; field in CapabilitiesCache
67 private final LruCache<Uri, LocalPrinterCapabilities> mCache = new LruCache<>(CACHE_SIZE);