Searched refs:preloadSize (Results 1 – 2 of 2) sorted by relevance
1056 int preloadSize = preloadPhotoIds.size(); in preloadPhotosInBackground() local1057 while (preloadSize > 0 && photoIds.size() < PRELOAD_BATCH) { in preloadPhotosInBackground()1058 preloadSize--; in preloadPhotosInBackground()1060 Long photoId = preloadPhotoIds.get(preloadSize); in preloadPhotosInBackground()1063 preloadPhotoIds.remove(preloadSize); in preloadPhotosInBackground()1068 if (preloadSize == 0) { in preloadPhotosInBackground()
1412 int preloadSize = mPreloadPhotoIds.size(); in preloadPhotosInBackground() local1413 while(preloadSize > 0 && mPhotoIds.size() < PRELOAD_BATCH) { in preloadPhotosInBackground()1414 preloadSize--; in preloadPhotosInBackground()1416 Long photoId = mPreloadPhotoIds.get(preloadSize); in preloadPhotosInBackground()1419 mPreloadPhotoIds.remove(preloadSize); in preloadPhotosInBackground()1424 if (preloadSize == 0) { in preloadPhotosInBackground()