Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java68 private int mContentStart = 0; field in AlbumSlidingWindow
127 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
130 mContentStart = contentStart; in setContentWindow()
136 if (contentStart >= mContentEnd || mContentStart >= contentEnd) { in setContentWindow()
137 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in setContentWindow()
145 for (int i = mContentStart; i < contentStart; ++i) { in setContentWindow()
152 for (int i = contentStart, n = mContentStart; i < n; ++i) { in setContentWindow()
160 mContentStart = contentStart; in setContentWindow()
182 if (index < mContentEnd && index >= mContentStart) { in uploadBgTextureInSlot()
204 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in updateTextureUploadQueue()
[all …]
DAlbumSetSlidingWindow.java51 private int mContentStart = 0; field in AlbumSetSlidingWindow
137 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
139 if (contentStart >= mContentEnd || mContentStart >= contentEnd) { in setContentWindow()
140 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in setContentWindow()
148 for (int i = mContentStart; i < contentStart; ++i) { in setContentWindow()
155 for (int i = contentStart, n = mContentStart; i < n; ++i) { in setContentWindow()
163 mContentStart = contentStart; in setContentWindow()
194 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in requestNonactiveImages()
203 mContentEnd - mActiveEnd, mActiveStart - mContentStart); in cancelNonactiveImages()
211 if (slotIndex < mContentStart || slotIndex >= mContentEnd) return; in requestImagesInSlot()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumDataLoader.java61 private int mContentStart = 0; field in AlbumDataLoader
143 for (int i = mContentStart; i < mContentEnd; i++) { in findItem()
159 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
161 int start = mContentStart; in setContentWindow()
165 mContentStart = contentStart; in setContentWindow()
201 if (mContentStart > start || mContentEnd < end in setActiveWindow()
202 || Math.abs(contentStart - mContentStart) > MIN_LOAD_COUNT) { in setActiveWindow()
262 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in call()
303 int start = Math.max(info.reloadStart, mContentStart); in call()
DAlbumSetDataLoader.java62 private int mContentStart = 0; field in AlbumSetDataLoader
155 for (int i = mContentStart; i < mContentEnd; i++) { in findSet()
173 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
176 int start = this.mContentStart; in setContentWindow()
179 mContentStart = contentStart; in setContentWindow()
213 if (mContentStart > start || mContentEnd < end in setActiveWindow()
214 || Math.abs(contentStart - mContentStart) > MIN_LOAD_COUNT) { in setActiveWindow()
255 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in getInvalidIndex()
295 if (info.index >= mContentStart && info.index < mContentEnd) { in call()
DPhotoDataAdapter.java115 private int mContentStart = 0; field in PhotoDataAdapter
223 if (index >= mContentStart && index < mContentEnd) { in getItemInternal()
389 if (index >= mContentStart && index < mContentEnd) { in getItem()
569 if (index >= mContentStart && index < mContentEnd) { in getMediaItem()
643 if (mContentStart > mActiveStart || mContentEnd < mActiveEnd in updateSlidingWindow()
644 || Math.abs(start - mContentStart) > MIN_LOAD_COUNT) { in updateSlidingWindow()
645 for (int i = mContentStart; i < mContentEnd; ++i) { in updateSlidingWindow()
650 mContentStart = start; in updateSlidingWindow()
940 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in needContentReload()
955 info.contentStart = mContentStart; in call()
[all …]