Home
last modified time | relevance | path

Searched defs:newItem (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DDiffCallback.java46 public abstract boolean areItemsTheSame(@NonNull Value oldItem, @NonNull Value newItem); in areItemsTheSame()
57 public abstract boolean areContentsTheSame(@NonNull Value oldItem, @NonNull Value newItem); in areContentsTheSame()
65 public Object getChangePayload(@NonNull Value oldItem, @NonNull Value newItem) { in getChangePayload()
DGuidedActionDiffCallback.java39 public boolean areItemsTheSame(@NonNull GuidedAction oldItem, @NonNull GuidedAction newItem) { in areItemsTheSame()
50 @NonNull GuidedAction newItem) { in areContentsTheSame()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DObjectAdapterTest.java163 public boolean areItemsTheSame(AdapterItem oldItem, AdapterItem newItem) { in areItemsTheSame()
169 public boolean areContentsTheSame(AdapterItem oldItem, AdapterItem newItem) { in areContentsTheSame()
176 AdapterItem newItem) { in getChangePayload()
707 AdapterItem newItem = new AdapterItem(1, "aa", "a"); in testPayloadCalculation0() local
749 AdapterItem newItem = new AdapterItem(1, "a", "aa"); in testPayloadComputation1() local
790 AdapterItem newItem = new AdapterItem(1, "aa", "aa"); in testPayloadComputation2() local
835 AdapterItem newItem = new AdapterItem(2, "a", "a"); in testPayloadComputationNewItem0() local
869 AdapterItem newItem = new AdapterItem(2, "aa", "a"); in testPayloadComputationNewItem1() local
903 AdapterItem newItem = new AdapterItem(2, "a", "aa"); in testPayloadComputationNewItem2() local
937 AdapterItem newItem = new AdapterItem(2, "aa", "aa"); in testPayloadComputationNewItem3() local
[all …]
/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/
DVideoSelector.java273 VideoItem newItem = null; in createVil() local
283 files.put(newItem.getName(), newItem); in createVil() local
286 VideoItem newItem = new VideoItem(f.getName(), f.getAbsolutePath(), true); in createVil() local
287 dirs.put(newItem.getName(), newItem); in createVil() local
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
DPagedStorageDiffHelper.java62 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount()); in computeDiff() local
76 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount()); in computeDiff() local
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DSortedList.java299 T newItem = newData[mNewDataStart]; in replaceAllInternal() local
333 private void replaceAllInsert(T newItem) { in replaceAllInsert()
442 T newItem = newData[newDataStart]; in merge() local
887 abstract public boolean areContentsTheSame(T2 oldItem, T2 newItem); in areContentsTheSame()
987 public boolean areContentsTheSame(T2 oldItem, T2 newItem) { in areContentsTheSame()
DDiffUtil.java382 public abstract boolean areItemsTheSame(@NonNull T oldItem, @NonNull T newItem); in areItemsTheSame()
408 public abstract boolean areContentsTheSame(@NonNull T oldItem, @NonNull T newItem); in areContentsTheSame()
426 public Object getChangePayload(@NonNull T oldItem, @NonNull T newItem) { in getChangePayload()
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
DDiffUtilTest.java455 final boolean newItem; field in DiffUtilTest.Item
461 public Item(boolean newItem) { in Item()
DSortedListTest.java293 Item newItem = in testRandom() local
303 assertSame(mList.get(itemIndex), newItem); in testRandom() local
311 Item newItem = new Item(item.id, random.nextInt(), random.nextInt()); in testRandom() local
DOpReorderTest.java389 final Item newItem = Item.create(); in apply() local
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java645 static <T> void addOrderedItem(ArrayList<T> array, T newItem, Comparator<T> comparator) { in addOrderedItem()