Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAlbumSlidingWindow.java126 private void setContentWindow(int contentStart, int contentEnd) { in setContentWindow() argument
127 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
131 mContentEnd = contentEnd; in setContentWindow()
132 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow()
136 if (contentStart >= mContentEnd || mContentStart >= contentEnd) { in setContentWindow()
140 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow()
141 for (int i = contentStart; i < contentEnd; ++i) { in setContentWindow()
148 for (int i = contentEnd, n = mContentEnd; i < n; ++i) { in setContentWindow()
151 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow()
155 for (int i = mContentEnd; i < contentEnd; ++i) { in setContentWindow()
[all …]
DAlbumSetSlidingWindow.java136 private void setContentWindow(int contentStart, int contentEnd) { in setContentWindow() argument
137 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
139 if (contentStart >= mContentEnd || mContentStart >= contentEnd) { in setContentWindow()
143 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow()
144 for (int i = contentStart; i < contentEnd; ++i) { in setContentWindow()
151 for (int i = contentEnd, n = mContentEnd; i < n; ++i) { in setContentWindow()
154 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow()
158 for (int i = mContentEnd; i < contentEnd; ++i) { in setContentWindow()
164 mContentEnd = contentEnd; in setContentWindow()
178 int contentEnd = Math.min(contentStart + data.length, mSize); in setActiveWindow() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumDataLoader.java158 private void setContentWindow(int contentStart, int contentEnd) { in setContentWindow() argument
159 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
166 mContentEnd = contentEnd; in setContentWindow()
170 if (contentStart >= end || start >= contentEnd) { in setContentWindow()
178 for (int i = contentEnd, n = end; i < n; ++i) { in setContentWindow()
200 int contentEnd = Math.min(contentStart + length, mSize); in setActiveWindow() local
203 setContentWindow(contentStart, contentEnd); in setActiveWindow()
DAlbumSetDataLoader.java172 private void setContentWindow(int contentStart, int contentEnd) { in setContentWindow() argument
173 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow()
180 mContentEnd = contentEnd; in setContentWindow()
182 if (contentStart >= end || start >= contentEnd) { in setContentWindow()
190 for (int i = contentEnd, n = end; i < n; ++i) { in setContentWindow()
212 int contentEnd = Math.min(contentStart + length, mSize); in setActiveWindow() local
215 setContentWindow(contentStart, contentEnd); in setActiveWindow()
DPhotoDataAdapter.java931 public int contentEnd; field in PhotoDataAdapter.UpdateInfo
956 info.contentEnd = mContentEnd; in call()
1042 info.contentStart, info.contentEnd); in run()