HomeSort by relevance Sort by last modified time
    Searched refs:IMAGE_CACHE_SIZE (Results 1 - 2 of 2) sorted by null

  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoManager.java 63 private static final int IMAGE_CACHE_SIZE = 1024 * 1024 * 4;
157 mPhotoCache = new LruCache<URL, byte[]>(IMAGE_CACHE_SIZE) {
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
PhotoDataAdapter.java 65 private static final int IMAGE_CACHE_SIZE = 2 * SCREEN_NAIL_MAX + 1;
88 sImageFetchSeq = new ImageFetch[1 + (IMAGE_CACHE_SIZE - 1) * 2 + 3];
91 for (int i = 1; i < IMAGE_CACHE_SIZE; ++i) {
120 // mActiveEnd - mActiveStart <= IMAGE_CACHE_SIZE. Besides, the
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;
434 for (int i = 1; i < IMAGE_CACHE_SIZE; ++i) {
630 int start = Utils.clamp(mCurrentIndex - IMAGE_CACHE_SIZE / 2,
631 0, Math.max(0, mSize - IMAGE_CACHE_SIZE));
    [all...]

Completed in 47 milliseconds