Home
last modified time | relevance | path

Searched defs:oldItem (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()
49 public boolean areContentsTheSame(@NonNull GuidedAction oldItem, 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()
175 public Object getChangePayload(AdapterItem oldItem, in getChangePayload()
700 AdapterItem oldItem = new AdapterItem(1, "a", "a"); in testPayloadCalculation0() local
742 AdapterItem oldItem = new AdapterItem(1, "a", "a"); in testPayloadComputation1() local
783 AdapterItem oldItem = new AdapterItem(1, "a", "a"); in testPayloadComputation2() local
826 AdapterItem oldItem = new AdapterItem(1, "a", "a"); in testPayloadComputationNewItem0() local
860 AdapterItem oldItem = new AdapterItem(1, "a", "a"); in testPayloadComputationNewItem1() local
894 AdapterItem oldItem = new AdapterItem(1, "a", "a"); in testPayloadComputationNewItem2() local
928 AdapterItem oldItem = new AdapterItem(1, "a", "a"); in testPayloadComputationNewItem3() local
[all …]
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
DPagedStorageDiffHelper.java61 T oldItem = oldList.get(oldItemPosition + oldOffset); in computeDiff() local
75 T oldItem = oldList.get(oldItemPosition + oldOffset); in computeDiff() local
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DSimpleItemAnimator.java315 public final void dispatchChangeFinished(RecyclerView.ViewHolder item, boolean oldItem) { in dispatchChangeFinished()
356 public final void dispatchChangeStarting(RecyclerView.ViewHolder item, boolean oldItem) { in dispatchChangeStarting()
440 public void onChangeStarting(RecyclerView.ViewHolder item, boolean oldItem) { in onChangeStarting()
453 public void onChangeFinished(RecyclerView.ViewHolder item, boolean oldItem) { in onChangeFinished()
DSortedList.java298 T oldItem = mOldData[mOldDataStart]; in replaceAllInternal() local
441 T oldItem = mOldData[mOldDataStart]; 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/base/core/java/com/android/internal/widget/
DSimpleItemAnimator.java316 public final void dispatchChangeFinished(ViewHolder item, boolean oldItem) { in dispatchChangeFinished()
357 public final void dispatchChangeStarting(ViewHolder item, boolean oldItem) { in dispatchChangeStarting()
441 public void onChangeStarting(ViewHolder item, boolean oldItem) { in onChangeStarting()
454 public void onChangeFinished(ViewHolder item, boolean oldItem) { in onChangeFinished()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DDummyItemAnimator.java153 public void onChangeStarting(RecyclerView.ViewHolder item, boolean oldItem) { in onChangeStarting()
185 public void onChangeFinished(RecyclerView.ViewHolder item, boolean oldItem) { in onChangeFinished()
/frameworks/base/core/java/com/android/internal/view/menu/
DBaseMenuPresenter.java96 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ? in updateMenuView() local
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DBaseMenuPresenter.java103 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ? in updateMenuView() local