Home
last modified time | relevance | path

Searched refs:contentStart (Results 1 – 6 of 6) 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()
130 mContentStart = contentStart; 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()
145 for (int i = mContentStart; i < contentStart; ++i) { in setContentWindow()
151 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow()
152 for (int i = contentStart, n = mContentStart; i < n; ++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()
148 for (int i = mContentStart; i < contentStart; ++i) { in setContentWindow()
154 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow()
155 for (int i = contentStart, n = mContentStart; i < n; ++i) { in setContentWindow()
163 mContentStart = contentStart; in setContentWindow()
176 int contentStart = Utils.clamp((start + end) / 2 - data.length / 2, 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()
165 mContentStart = contentStart; in setContentWindow()
170 if (contentStart >= end || start >= contentEnd) { in setContentWindow()
175 for (int i = start; i < contentStart; ++i) { in setContentWindow()
198 int contentStart = Utils.clamp((start + end) / 2 - length / 2, in setActiveWindow() local
200 int contentEnd = Math.min(contentStart + length, mSize); in setActiveWindow()
202 || Math.abs(contentStart - mContentStart) > MIN_LOAD_COUNT) { in setActiveWindow()
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()
179 mContentStart = contentStart; in setContentWindow()
182 if (contentStart >= end || start >= contentEnd) { in setContentWindow()
187 for (int i = start; i < contentStart; ++i) { in setContentWindow()
210 int contentStart = Utils.clamp((start + end) / 2 - length / 2, in setActiveWindow() local
212 int contentEnd = Math.min(contentStart + length, mSize); in setActiveWindow()
214 || Math.abs(contentStart - mContentStart) > MIN_LOAD_COUNT) { in setActiveWindow()
215 setContentWindow(contentStart, contentEnd); in setActiveWindow()
DPhotoDataAdapter.java930 public int contentStart; field in PhotoDataAdapter.UpdateInfo
955 info.contentStart = mContentStart; in call()
984 int start = Math.max(info.contentStart, mContentStart); in call()
985 int end = Math.min(info.contentStart + info.items.size(), mContentEnd); in call()
988 mData[dataIndex] = info.items.get(i - info.contentStart); in call()
1042 info.contentStart, info.contentEnd); in run()
1104 int index = info.indexHint - info.contentStart; in findCurrentMediaItem()
1127 return i + info.contentStart; in findIndexOfPathInCache()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...