Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java65 private static final int IMAGE_CACHE_SIZE = 2 * SCREEN_NAIL_MAX + 1; field in PhotoDataAdapter
88 sImageFetchSeq = new ImageFetch[1 + (IMAGE_CACHE_SIZE - 1) * 2 + 3];
91 for (int i = 1; i < IMAGE_CACHE_SIZE; ++i) {
135 private final long mChanges[] = new long[IMAGE_CACHE_SIZE];
138 private final Path mPaths[] = new Path[IMAGE_CACHE_SIZE];
257 final int N = IMAGE_CACHE_SIZE; in fireDataChange()
434 for (int i = 1; i < IMAGE_CACHE_SIZE; ++i) { in updateScreenNailUploadQueue()
630 int start = Utils.clamp(mCurrentIndex - IMAGE_CACHE_SIZE / 2, in updateSlidingWindow()
631 0, Math.max(0, mSize - IMAGE_CACHE_SIZE)); in updateSlidingWindow()
632 int end = Math.min(mSize, start + IMAGE_CACHE_SIZE); in updateSlidingWindow()