Searched refs:contentStart (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | AlbumSlidingWindow.java | 110 private void setContentWindow(int contentStart, int contentEnd) { in setContentWindow() argument 111 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow() 114 mContentStart = contentStart; in setContentWindow() 116 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow() 120 if (contentStart >= mContentEnd || mContentStart >= contentEnd) { in setContentWindow() 124 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow() 125 for (int i = contentStart; i < contentEnd; ++i) { in setContentWindow() 129 for (int i = mContentStart; i < contentStart; ++i) { in setContentWindow() 135 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow() 136 for (int i = contentStart, n = mContentStart; i < n; ++i) { in setContentWindow() [all …]
|
D | AlbumSetSlidingWindow.java | 132 private void setContentWindow(int contentStart, int contentEnd) { in setContentWindow() argument 133 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow() 135 if (contentStart >= mContentEnd || mContentStart >= contentEnd) { in setContentWindow() 139 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow() 140 for (int i = contentStart; i < contentEnd; ++i) { in setContentWindow() 144 for (int i = mContentStart; i < contentStart; ++i) { in setContentWindow() 150 mSource.setActiveWindow(contentStart, contentEnd); in setContentWindow() 151 for (int i = contentStart, n = mContentStart; i < n; ++i) { in setContentWindow() 159 mContentStart = contentStart; in setContentWindow() 172 int contentStart = Utils.clamp((start + end) / 2 - data.length / 2, in setActiveWindow() local [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumDataLoader.java | 142 private void setContentWindow(int contentStart, int contentEnd) { in setContentWindow() argument 143 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow() 149 mContentStart = contentStart; in setContentWindow() 154 if (contentStart >= end || start >= contentEnd) { in setContentWindow() 159 for (int i = start; i < contentStart; ++i) { in setContentWindow() 182 int contentStart = Utils.clamp((start + end) / 2 - length / 2, in setActiveWindow() local 184 int contentEnd = Math.min(contentStart + length, mSize); in setActiveWindow() 186 || Math.abs(contentStart - mContentStart) > MIN_LOAD_COUNT) { in setActiveWindow() 187 setContentWindow(contentStart, contentEnd); in setActiveWindow()
|
D | AlbumSetDataLoader.java | 160 private void setContentWindow(int contentStart, int contentEnd) { in setContentWindow() argument 161 if (contentStart == mContentStart && contentEnd == mContentEnd) return; in setContentWindow() 167 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()
|
D | PhotoDataAdapter.java | 874 public int contentStart; field in PhotoDataAdapter.UpdateInfo 899 info.contentStart = mContentStart; in call() 928 int start = Math.max(info.contentStart, mContentStart); in call() 929 int end = Math.min(info.contentStart + info.items.size(), mContentEnd); in call() 932 mData[dataIndex] = info.items.get(i - info.contentStart); in call() 982 info.contentStart, info.contentEnd); in run() 1040 int index = info.indexHint - info.contentStart; in findCurrentMediaItem() 1062 return i + info.contentStart; in findIndexOfPathInCache()
|