Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java69 private int mContentEnd = 0; field in AlbumSlidingWindow
127 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
131 mContentEnd = contentEnd; in setContentWindow()
136 if (contentStart >= mContentEnd || mContentStart >= contentEnd) { in setContentWindow()
137 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in setContentWindow()
148 for (int i = contentEnd, n = mContentEnd; i < n; ++i) { in setContentWindow()
155 for (int i = mContentEnd; i < contentEnd; ++i) { in setContentWindow()
161 mContentEnd = contentEnd; in setContentWindow()
182 if (index < mContentEnd && index >= mContentStart) { in uploadBgTextureInSlot()
204 (mContentEnd - mActiveEnd), (mActiveStart - mContentStart)); in updateTextureUploadQueue()
[all …]
DAlbumSetSlidingWindow.java52 private int mContentEnd = 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()
151 for (int i = contentEnd, n = mContentEnd; i < n; ++i) { in setContentWindow()
158 for (int i = mContentEnd; i < contentEnd; ++i) { in setContentWindow()
164 mContentEnd = contentEnd; 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.java62 private int mContentEnd = 0; field in AlbumDataLoader
143 for (int i = mContentStart; i < mContentEnd; i++) { in findItem()
159 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
160 int end = mContentEnd; in setContentWindow()
166 mContentEnd = contentEnd; in setContentWindow()
201 if (mContentStart > start || mContentEnd < end in setActiveWindow()
262 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in call()
289 if (mContentEnd > mSize) mContentEnd = mSize; in call()
304 int end = Math.min(info.reloadStart + items.size(), mContentEnd); in call()
DAlbumSetDataLoader.java63 private int mContentEnd = 0; field in AlbumSetDataLoader
155 for (int i = mContentStart; i < mContentEnd; i++) { in findSet()
173 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
177 int end = this.mContentEnd; in setContentWindow()
180 mContentEnd = contentEnd; in setContentWindow()
213 if (mContentStart > start || mContentEnd < end in setActiveWindow()
255 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in getInvalidIndex()
291 if (mContentEnd > mSize) mContentEnd = mSize; in call()
295 if (info.index >= mContentStart && info.index < mContentEnd) { in call()
DPhotoDataAdapter.java116 private int mContentEnd = 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()
645 for (int i = mContentStart; i < mContentEnd; ++i) { in updateSlidingWindow()
651 mContentEnd = end; in updateSlidingWindow()
940 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in needContentReload()
956 info.contentEnd = mContentEnd; in call()
976 if (mContentEnd > mSize) mContentEnd = mSize; in call()
[all …]