Home
last modified time | relevance | path

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

/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSlidingWindow.java68 private int mContentStart = 0; field in AlbumSlidingWindow
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()
338 if (index >= mContentStart && index < mContentEnd && mIsActive) { in onContentChanged()
351 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in resume()
[all …]
H A DAlbumSetSlidingWindow.java51 private int mContentStart = 0; field in AlbumSetSlidingWindow
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()
303 if (index < mContentStart || index >= mContentEnd) return; in uploadBackgroundTextureInSlot()
370 if (index < mContentStart || index >= mContentEnd) { in onContentChanged()
373 index, mContentStart, mContentEnd) ); in onContentChanged()
402 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in pause()
410 for (int i = mContentStart, n = mContentEnd; i < n; ++i) { in resume()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A 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()
H A 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()
H A 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 …]