Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java71 private int mActiveStart = 0; field in AlbumSlidingWindow
117 slotIndex, mActiveStart, mActiveEnd); in get()
123 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; in isActiveSlot()
170 mActiveStart = start; in setActiveWindow()
195 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { in updateTextureUploadQueue()
204 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in updateTextureUploadQueue()
207 uploadBgTextureInSlot(mActiveStart - i - 1); in updateTextureUploadQueue()
218 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in requestNonactiveImages()
221 requestSlotImage(mActiveStart - 1 - i); in requestNonactiveImages()
241 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in cancelNonactiveImages()
[all …]
DAlbumSetSlidingWindow.java54 private int mActiveStart = 0; field in AlbumSetSlidingWindow
123 slotIndex, mActiveStart, mActiveEnd); in get()
133 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; in isActiveSlot()
174 mActiveStart = start; in setActiveWindow()
194 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in requestNonactiveImages()
197 requestImagesInSlot(mActiveStart - 1 - i); in requestNonactiveImages()
203 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in cancelNonactiveImages()
206 cancelImagesInSlot(mActiveStart - 1 - 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.java59 private int mActiveStart = 0; field in AlbumSetDataLoader
118 if (index < mActiveStart || index >= mActiveEnd) { in assertIsActive()
120 "%s not in (%s, %s)", index, mActiveStart, mActiveEnd)); in assertIsActive()
140 return mActiveStart; in getActiveStart()
144 return index >= mActiveStart && index < mActiveEnd; in isActive()
198 if (start == mActiveStart && end == mActiveEnd) return; in setActiveWindow()
203 mActiveStart = start; in setActiveWindow()
305 && info.index >= mActiveStart && info.index < mActiveEnd) { in call()
DAlbumDataLoader.java58 private int mActiveStart = 0; field in AlbumDataLoader
129 return mActiveStart; in getActiveStart()
133 return index >= mActiveStart && index < mActiveEnd; in isActive()
186 if (start == mActiveStart && end == mActiveEnd) return; in setActiveWindow()
192 mActiveStart = start; in setActiveWindow()
314 if (mDataListener != null && i >= mActiveStart && i < mActiveEnd) { in call()
DPhotoDataAdapter.java125 private int mActiveStart = 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()
636 mActiveStart = start; 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()