Home
last modified time | relevance | path

Searched refs:CACHE_SIZE (Results 1 – 4 of 4) 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/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()