Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java72 private int mActiveEnd = 0; field in AlbumSlidingWindow
117 slotIndex, mActiveStart, mActiveEnd); in get()
123 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; in isActiveSlot()
171 mActiveEnd = end; in setActiveWindow()
195 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { in updateTextureUploadQueue()
204 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in updateTextureUploadQueue()
206 uploadBgTextureInSlot(mActiveEnd + i); in updateTextureUploadQueue()
218 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in requestNonactiveImages()
220 requestSlotImage(mActiveEnd + i); in requestNonactiveImages()
241 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in cancelNonactiveImages()
[all …]
DAlbumSetSlidingWindow.java55 private int mActiveEnd = 0; field in AlbumSetSlidingWindow
123 slotIndex, mActiveStart, mActiveEnd); in get()
133 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; in isActiveSlot()
175 mActiveEnd = end; in setActiveWindow()
194 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in requestNonactiveImages()
196 requestImagesInSlot(mActiveEnd + i); in requestNonactiveImages()
203 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in cancelNonactiveImages()
205 cancelImagesInSlot(mActiveEnd + i); in cancelNonactiveImages()
319 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { in updateTextureUploadQueue()
331 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in updateTextureUploadQueue()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetDataLoader.java60 private int mActiveEnd = 0; field in AlbumSetDataLoader
118 if (index < mActiveStart || index >= mActiveEnd) { in assertIsActive()
120 "%s not in (%s, %s)", index, mActiveStart, mActiveEnd)); in assertIsActive()
144 return index >= mActiveStart && index < mActiveEnd; in isActive()
198 if (start == mActiveStart && end == mActiveEnd) return; in setActiveWindow()
204 mActiveEnd = end; in setActiveWindow()
292 if (mActiveEnd > mSize) mActiveEnd = mSize; in call()
305 && info.index >= mActiveStart && info.index < mActiveEnd) { in call()
DAlbumDataLoader.java59 private int mActiveEnd = 0; field in AlbumDataLoader
133 return index >= mActiveStart && index < mActiveEnd; in isActive()
186 if (start == mActiveStart && end == mActiveEnd) return; in setActiveWindow()
193 mActiveEnd = end; in setActiveWindow()
290 if (mActiveEnd > mSize) mActiveEnd = mSize; in call()
314 if (mDataListener != null && i >= mActiveStart && i < mActiveEnd) { in call()
DPhotoDataAdapter.java126 private int mActiveEnd = 0; field in PhotoDataAdapter
387 Utils.assertTrue(index >= mActiveStart && index < mActiveEnd); in getItem()
416 if (index < mActiveStart || index >= mActiveEnd) return; in uploadScreenNail()
449 Utils.assertTrue(index >= mActiveStart && index < mActiveEnd); in getScreenNail()
634 if (mActiveStart == start && mActiveEnd == end) return; in updateSlidingWindow()
637 mActiveEnd = end; in updateSlidingWindow()
643 if (mContentStart > mActiveStart || mContentEnd < mActiveEnd in updateSlidingWindow()
771 if (index < mActiveStart || index >= mActiveEnd) return null; in startTaskIfNeeded()
810 for (int i = mActiveStart; i < mActiveEnd; ++i) { in updateImageCache()
977 if (mActiveEnd > mSize) mActiveEnd = mSize; in call()