Searched refs:mActiveStart (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSlidingWindow.java | 67 private int mActiveStart = 0; field in AlbumSlidingWindow 101 slotIndex, mActiveStart, mActiveEnd); in get() 107 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; in isActiveSlot() 154 mActiveStart = start; in setActiveWindow() 179 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { in updateTextureUploadQueue() 188 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in updateTextureUploadQueue() 191 uploadBgTextureInSlot(mActiveStart - i - 1); in updateTextureUploadQueue() 202 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in requestNonactiveImages() 205 requestSlotImage(mActiveStart - 1 - i); in requestNonactiveImages() 221 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in cancelNonactiveImages() [all …]
|
D | AlbumSetSlidingWindow.java | 51 private int mActiveStart = 0; field in AlbumSetSlidingWindow 119 slotIndex, mActiveStart, mActiveEnd); in get() 129 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; in isActiveSlot() 170 mActiveStart = start; in setActiveWindow() 190 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in requestNonactiveImages() 193 requestImagesInSlot(mActiveStart - 1 - i); in requestNonactiveImages() 199 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in cancelNonactiveImages() 202 cancelImagesInSlot(mActiveStart - 1 - i); in cancelNonactiveImages() 316 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { in updateTextureUploadQueue() 328 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in updateTextureUploadQueue() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumSetDataLoader.java | 60 private int mActiveStart = 0; field in AlbumSetDataLoader 119 if (index < mActiveStart && index >= mActiveEnd) { in assertIsActive() 121 "%s not in (%s, %s)", index, mActiveStart, mActiveEnd)); in assertIsActive() 141 return mActiveStart; in getActiveStart() 145 return index >= mActiveStart && index < mActiveEnd; in isActive() 186 if (start == mActiveStart && end == mActiveEnd) return; in setActiveWindow() 191 mActiveStart = start; in setActiveWindow() 291 && info.index >= mActiveStart && info.index < mActiveEnd) { in call()
|
D | AlbumDataLoader.java | 59 private int mActiveStart = 0; field in AlbumDataLoader 119 "%s not in (%s, %s)", index, mActiveStart, mActiveEnd)); in get() 125 return mActiveStart; in getActiveStart() 129 return index >= mActiveStart && index < mActiveEnd; in isActive() 170 if (start == mActiveStart && end == mActiveEnd) return; in setActiveWindow() 176 mActiveStart = start; in setActiveWindow() 285 if (mDataListener != null && i >= mActiveStart && i < mActiveEnd) { in call()
|
D | PhotoDataAdapter.java | 126 private int mActiveStart = 0; field in PhotoDataAdapter 375 Utils.assertTrue(index >= mActiveStart && index < mActiveEnd); in getItem() 411 Utils.assertTrue(index >= mActiveStart && index < mActiveEnd); in getScreenNail() 581 if (mActiveStart == start && mActiveEnd == end) return; in updateSlidingWindow() 583 mActiveStart = start; in updateSlidingWindow() 590 if (mContentStart > mActiveStart || mContentEnd < mActiveEnd in updateSlidingWindow() 718 if (index < mActiveStart || index >= mActiveEnd) return null; in startTaskIfNeeded() 757 for (int i = mActiveStart; i < mActiveEnd; ++i) { in updateImageCache()
|