Searched defs:mActiveEnd (Results 1 - 5 of 5) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | AlbumDataLoader.java | 59 private int mActiveEnd = 0; field in class:AlbumDataLoader 133 return index >= mActiveStart && index < mActiveEnd; 186 if (start == mActiveStart && end == mActiveEnd) return; 193 mActiveEnd = end; 290 if (mActiveEnd > mSize) mActiveEnd = mSize; 314 if (mDataListener != null && i >= mActiveStart && i < mActiveEnd) {
|
H A D | AlbumSetDataLoader.java | 60 private int mActiveEnd = 0; field in class:AlbumSetDataLoader 118 if (index < mActiveStart || index >= mActiveEnd) { 120 "%s not in (%s, %s)", index, mActiveStart, mActiveEnd)); 144 return index >= mActiveStart && index < mActiveEnd; 198 if (start == mActiveStart && end == mActiveEnd) return; 204 mActiveEnd = end; 292 if (mActiveEnd > mSize) mActiveEnd = mSize; 305 && info.index >= mActiveStart && info.index < mActiveEnd) {
|
H A D | PhotoDataAdapter.java | 119 // ImageEntries in the range of [mActiveStart, mActiveEnd). We also keep 120 // mActiveEnd - mActiveStart <= IMAGE_CACHE_SIZE. Besides, the 121 // [mActiveStart, mActiveEnd) range must be contained within 126 private int mActiveEnd = 0; field in class:PhotoDataAdapter 387 Utils.assertTrue(index >= mActiveStart && index < mActiveEnd); 416 if (index < mActiveStart || index >= mActiveEnd) return; 449 Utils.assertTrue(index >= mActiveStart && index < mActiveEnd); 634 if (mActiveStart == start && mActiveEnd == end) return; 637 mActiveEnd = end; 643 if (mContentStart > mActiveStart || mContentEnd < mActiveEnd [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AlbumSlidingWindow.java | 72 private int mActiveEnd = 0; field in class:AlbumSlidingWindow 117 slotIndex, mActiveStart, mActiveEnd); 123 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; 171 mActiveEnd = end; 195 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { 204 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); 206 uploadBgTextureInSlot(mActiveEnd + i); 218 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); 220 requestSlotImage(mActiveEnd + i); 241 (mContentEnd - mActiveEnd), (mActiveStar [all...] |
H A D | AlbumSetSlidingWindow.java | 55 private int mActiveEnd = 0; field in class:AlbumSetSlidingWindow 123 slotIndex, mActiveStart, mActiveEnd); 133 return slotIndex >= mActiveStart && slotIndex < mActiveEnd; 175 mActiveEnd = end; 194 mContentEnd - mActiveEnd, mActiveStart - mContentStart); 196 requestImagesInSlot(mActiveEnd + i); 203 mContentEnd - mActiveEnd, mActiveStart - mContentStart); 205 cancelImagesInSlot(mActiveEnd + i); 319 for (int i = mActiveStart, n = mActiveEnd; i < n; ++i) { 331 (mContentEnd - mActiveEnd), (mActiveStar [all...] |
Completed in 68 milliseconds