Searched refs:mContentEnd (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSlidingWindow.java | 65 private int mContentEnd = 0; field in AlbumSlidingWindow 111 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow() 115 mContentEnd = contentEnd; in setContentWindow() 120 if (contentStart >= mContentEnd || mContentStart >= contentEnd) { in setContentWindow() 121 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in setContentWindow() 132 for (int i = contentEnd, n = mContentEnd; i < n; ++i) { in setContentWindow() 139 for (int i = mContentEnd; i < contentEnd; ++i) { in setContentWindow() 145 mContentEnd = contentEnd; in setContentWindow() 166 if (index < mContentEnd && index >= mContentStart) { in uploadBgTextureInSlot() 188 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in updateTextureUploadQueue() [all …]
|
D | AlbumSetSlidingWindow.java | 49 private int mContentEnd = 0; field in AlbumSetSlidingWindow 133 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow() 135 if (contentStart >= mContentEnd || mContentStart >= contentEnd) { in setContentWindow() 136 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in setContentWindow() 147 for (int i = contentEnd, n = mContentEnd; i < n; ++i) { in setContentWindow() 154 for (int i = mContentEnd; i < contentEnd; ++i) { in setContentWindow() 160 mContentEnd = contentEnd; in setContentWindow() 190 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in requestNonactiveImages() 199 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in cancelNonactiveImages() 207 if (slotIndex < mContentStart || slotIndex >= mContentEnd) return; in requestImagesInSlot() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumDataLoader.java | 63 private int mContentEnd = 0; field in AlbumDataLoader 143 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow() 144 int end = mContentEnd; in setContentWindow() 150 mContentEnd = contentEnd; in setContentWindow() 185 if (mContentStart > start || mContentEnd < end in setActiveWindow() 240 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in call() 267 if (mContentEnd > mSize) mContentEnd = mSize; in call() 275 int end = Math.min(info.reloadStart + items.size(), mContentEnd); in call()
|
D | AlbumSetDataLoader.java | 64 private int mContentEnd = 0; field in AlbumSetDataLoader 161 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow() 165 int end = this.mContentEnd; in setContentWindow() 168 mContentEnd = contentEnd; in setContentWindow() 201 if (mContentStart > start || mContentEnd < end in setActiveWindow() 242 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in getInvalidIndex() 277 if (mContentEnd > mSize) mContentEnd = mSize; in call() 281 if (info.index >= mContentStart && info.index < mContentEnd) { in call()
|
D | PhotoDataAdapter.java | 117 private int mContentEnd = 0; field in PhotoDataAdapter 219 if (index >= mContentStart && index < mContentEnd) { in getItemInternal() 377 if (index >= mContentStart && index < mContentEnd) { in getItem() 519 if (index >= mContentStart && index < mContentEnd) { in getMediaItem() 590 if (mContentStart > mActiveStart || mContentEnd < mActiveEnd in updateSlidingWindow() 592 for (int i = mContentStart; i < mContentEnd; ++i) { in updateSlidingWindow() 598 mContentEnd = end; in updateSlidingWindow() 884 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in needContentReload() 900 info.contentEnd = mContentEnd; in call() 920 if (mContentEnd > mSize) mContentEnd = mSize; in call() [all …]
|