Searched refs:DATA_CACHE_SIZE (Results 1 – 4 of 4) sorted by relevance
40 private static final int DATA_CACHE_SIZE = 1000; field in AlbumDataLoader81 mData = new MediaItem[DATA_CACHE_SIZE]; in AlbumDataLoader()82 mItemVersion = new long[DATA_CACHE_SIZE]; in AlbumDataLoader()83 mSetVersion = new long[DATA_CACHE_SIZE]; in AlbumDataLoader()144 MediaItem item = mData[i % DATA_CACHE_SIZE]; in findItem()172 clearSlot(i % DATA_CACHE_SIZE); in setContentWindow()176 clearSlot(i % DATA_CACHE_SIZE); in setContentWindow()179 clearSlot(i % DATA_CACHE_SIZE); in setContentWindow()263 int index = i % DATA_CACHE_SIZE; in call()307 int index = i % DATA_CACHE_SIZE; in call()
63 private static final int DATA_CACHE_SIZE = 256; field in PhotoDataAdapter114 private final MediaItem mData[] = new MediaItem[DATA_CACHE_SIZE];224 return mData[index % DATA_CACHE_SIZE]; in getItemInternal()390 return mData[index % DATA_CACHE_SIZE]; in getItem()400 MediaItem item = mData[index % DATA_CACHE_SIZE]; in updateCurrentIndex()570 return mData[index % DATA_CACHE_SIZE]; in getMediaItem()640 start = Utils.clamp(mCurrentIndex - DATA_CACHE_SIZE / 2, in updateSlidingWindow()641 0, Math.max(0, mSize - DATA_CACHE_SIZE)); in updateSlidingWindow()642 end = Math.min(mSize, start + DATA_CACHE_SIZE); in updateSlidingWindow()647 mData[i % DATA_CACHE_SIZE] = null; in updateSlidingWindow()[all …]
62 private static final int DATA_CACHE_SIZE = 256; field in ManageCachePage281 mActivity, mMediaSet, DATA_CACHE_SIZE); in initializeData()
78 private static final int DATA_CACHE_SIZE = 256; field in AlbumSetPage481 mActivity, mMediaSet, DATA_CACHE_SIZE); in initializeData()