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

  /bionic/libc/arch-x86/string/
cache_wrapper.S 33 #define DATA_CACHE_SIZE (24*1024) /* Atom L1 Data Cache */
35 #define DATA_CACHE_SIZE_HALF (DATA_CACHE_SIZE / 2)
  /system/core/libcutils/arch-x86/
cache_wrapper.S 22 #define DATA_CACHE_SIZE (24*1024) /* Atom L1 Data Cache */
24 #define DATA_CACHE_SIZE_HALF (DATA_CACHE_SIZE / 2)
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
AlbumDataAdapter.java 40 private static final int DATA_CACHE_SIZE = 1000;
74 mData = new MediaItem[DATA_CACHE_SIZE];
75 mItemVersion = new long[DATA_CACHE_SIZE];
76 mSetVersion = new long[DATA_CACHE_SIZE];
154 clearSlot(i % DATA_CACHE_SIZE);
158 clearSlot(i % DATA_CACHE_SIZE);
161 clearSlot(i % DATA_CACHE_SIZE);
239 int index = i % DATA_CACHE_SIZE;
276 int index = i % DATA_CACHE_SIZE;
ManageCachePage.java 65 private static final int DATA_CACHE_SIZE = 256;
282 mActivity, mMediaSet, DATA_CACHE_SIZE);
AlbumSetPage.java 71 private static final int DATA_CACHE_SIZE = 256;
324 mActivity, mMediaSet, DATA_CACHE_SIZE);
PhotoDataAdapter.java 59 private static final int DATA_CACHE_SIZE = 32;
102 // The MediaItems are stored in the mData array, which has DATA_CACHE_SIZE
104 // mContentEnd - mContentStart <= DATA_CACHE_SIZE, so we can use
105 // (i % DATA_CACHE_SIZE) as index to the array.
108 // smaller than DATA_CACHE_SIZE because we only update the window and reload
111 private final MediaItem mData[] = new MediaItem[DATA_CACHE_SIZE];
197 MediaItem item = mData[index % DATA_CACHE_SIZE];
320 MediaItem item = mData[index % DATA_CACHE_SIZE];
385 return mData[mCurrentIndex % DATA_CACHE_SIZE];
443 start = Utils.clamp(mCurrentIndex - DATA_CACHE_SIZE / 2
    [all...]

Completed in 115 milliseconds