Searched defs:newList (Results 1 - 6 of 6) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DAsyncListDiffer.java185 * @param newList The new List.
188 public void submitList(@Nullable final List<T> newList) { argument
189 if (newList == mList) {
198 if (newList == null) {
210 mList = newList;
211 mReadOnlyList = Collections.unmodifiableList(newList);
213 mUpdateCallback.onInserted(0, newList.size());
229 return newList.size();
235 T newItem = newList.get(newItemPosition);
246 T newItem = newList
288 latchList(@onNull List<T> newList, @NonNull DiffUtil.DiffResult diffResult) argument
[all...]
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
H A DPagedStorageDiffHelper.java29 final PagedStorage<T> newList,
32 final int newOffset = newList.computeLeadingNulls();
35 final int newSize = newList.size() - newOffset - newList.computeTrailingNulls();
42 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount());
62 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount());
76 T newItem = newList.get(newItemPosition + newList
27 computeDiff( final PagedStorage<T> oldList, final PagedStorage<T> newList, final DiffUtil.ItemCallback<T> diffCallback) argument
132 dispatchDiff(ListUpdateCallback callback, final PagedStorage<T> oldList, final PagedStorage<T> newList, final DiffUtil.DiffResult diffResult) argument
[all...]
H A DAsyncPagedListDiffer.java317 PagedList<T> newList, PagedList<T> diffSnapshot,
324 mPagedList = newList;
329 previousSnapshot.mStorage, newList.mStorage, diffResult);
331 newList.addWeakCallback(diffSnapshot, mPagedListCallback);
316 latchPagedList( PagedList<T> newList, PagedList<T> diffSnapshot, DiffUtil.DiffResult diffResult) argument
/frameworks/base/core/java/android/hardware/
H A DSystemSensorManager.java486 List<Sensor> oldList, List<Sensor> newList, List<Sensor> updated,
493 if (j < oldList.size() && (i >= newList.size()
494 || newList.get(i).getHandle() > oldList.get(j).getHandle())) {
500 } else if (i < newList.size() && (j >= oldList.size()
501 || newList.get(i).getHandle() < oldList.get(j).getHandle())) {
504 added.add(newList.get(i));
507 updated.add(newList.get(i));
510 } else if (i < newList.size() && j < oldList.size()
511 && newList.get(i).getHandle() == oldList.get(j).getHandle()) {
485 diffSortedSensorList( List<Sensor> oldList, List<Sensor> newList, List<Sensor> updated, List<Sensor> added, List<Sensor> removed) argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackage.java1041 * @param newList shortcut list passed to set, add or updateShortcuts().
1046 public void enforceShortcutCountsBeforeOperation(List<ShortcutInfo> newList, argument
1064 for (int i = newList.size() - 1; i >= 0; i--) {
1065 final ShortcutInfo newShortcut = newList.get(i);
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...

Completed in 39 milliseconds