Home
last modified time | relevance | path

Searched refs:areContentsTheSame (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/
DSortedListBatchedCallbackTest.java98 public void areContentsTheSame() { in areContentsTheSame() method in SortedListBatchedCallbackTest
101 mBatchedCallback.areContentsTheSame(o1, o2); in areContentsTheSame()
102 verify(mMockCallback).areContentsTheSame(o1, o2); in areContentsTheSame()
DDiffUtilTest.java66 public boolean areContentsTheSame(int oldItemIndex, int newItemIndex) {
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DSortedList.java316 if (!mCallback.areContentsTheSame(oldItem, newItem)) { in replaceAllInternal()
455 if (!mCallback.areContentsTheSame(oldItem, newItem)) { in merge()
548 if (mCallback.areContentsTheSame(existing, item)) { in add()
634 boolean contentsChanged = existing == item || !mCallback.areContentsTheSame(existing, item); in updateItemAt()
887 abstract public boolean areContentsTheSame(T2 oldItem, T2 newItem); in areContentsTheSame() method in SortedList.Callback
987 public boolean areContentsTheSame(T2 oldItem, T2 newItem) { in areContentsTheSame() method in SortedList.BatchedCallback
988 return mWrappedCallback.areContentsTheSame(oldItem, newItem); in areContentsTheSame()
DAsyncListDiffer.java244 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in submitList()
248 return mConfig.getDiffCallback().areContentsTheSame(oldItem, newItem); in submitList()
DDiffUtil.java332 public abstract boolean areContentsTheSame(int oldItemPosition, int newItemPosition); in areContentsTheSame() method in DiffUtil.Callback
408 public abstract boolean areContentsTheSame(@NonNull T oldItem, @NonNull T newItem); in areContentsTheSame() method in DiffUtil.ItemCallback
622 .areContentsTheSame(oldItemPos, newItemPos); in findMatchingItems()
680 final boolean theSame = mCallback.areContentsTheSame(pos, myItemPos); in findMatchingItem()
693 final boolean theSame = mCallback.areContentsTheSame(myItemPos, pos); in findMatchingItem()
/frameworks/support/paging/runtime/src/main/java/androidx/paging/
DPagedStorageDiffHelper.java74 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in computeDiff() method in PagedStorageDiffHelper
85 return diffCallback.areContentsTheSame(oldItem, newItem); in computeDiff()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DDiffCallback.java57 public abstract boolean areContentsTheSame(@NonNull Value oldItem, @NonNull Value newItem); in areContentsTheSame() method in DiffCallback
DArrayObjectAdapter.java268 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in setItems()
269 return callback.areContentsTheSame(mOldItems.get(oldItemPosition), in setItems()
DGuidedActionDiffCallback.java49 public boolean areContentsTheSame(@NonNull GuidedAction oldItem, in areContentsTheSame() method in GuidedActionDiffCallback
DGuidedActionAdapter.java206 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in setActions()
207 return mDiffCallback.areContentsTheSame(oldActions.get(oldItemPosition), in setActions()
/frameworks/support/paging/integration-tests/testapp/src/main/java/androidx/paging/integration/testapp/
DItem.java50 public boolean areContentsTheSame(@NonNull Item oldItem, @NonNull Item newItem) {
/frameworks/support/room/integration-tests/testapp/src/main/java/androidx/room/integration/testapp/database/
DCustomer.java102 public boolean areContentsTheSame(@NonNull Customer oldItem, @NonNull Customer newItem) {
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
DPagedStorageDiffHelperTest.kt106 override fun areContentsTheSame(oldItem: String, newItem: String): Boolean { in areContentsTheSame() method
DAsyncPagedListDifferTest.kt327 override fun areContentsTheSame(oldItem: String, newItem: String): Boolean { in areContentsTheSame() method
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
DSortedListActivity.java99 public boolean areContentsTheSame(Item oldItem, in SortedListAdapter()
DDiffUtilActivity.java130 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in areContentsTheSame() method in DiffUtilActivity.MyCallback
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DObjectAdapterTest.java169 public boolean areContentsTheSame(AdapterItem oldItem, AdapterItem newItem) { in areContentsTheSame() method in ObjectAdapterTest.DiffCallbackPayloadTesting
268 public boolean areContentsTheSame(AdapterItem oldItem, AdapterItem newItem) { in setup()
429 public boolean areContentsTheSame(String oldItem, String newItem) { in testSetItemsMethod0()
475 public boolean areContentsTheSame(String oldItem, String newItem) { in testSetItemsMethod1()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DSearchFragment.java61 public boolean areContentsTheSame(PhotoItem oldItem, PhotoItem newItem) {
DSearchSupportFragment.java64 public boolean areContentsTheSame(PhotoItem oldItem, PhotoItem newItem) {
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DAsyncListDifferTest.kt299 override fun areContentsTheSame(oldItem: String, newItem: String): Boolean { in areContentsTheSame() method
/frameworks/support/preference/src/main/java/androidx/preference/
DPreferenceGroupAdapter.java192 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in syncMyPreferences()
/frameworks/support/v7/recyclerview/api/
Dcurrent.txt84 method public abstract boolean areContentsTheSame(int, int);
98 method public abstract boolean areContentsTheSame(T, T);
943 method public boolean areContentsTheSame(T2, T2);
955 method public abstract boolean areContentsTheSame(T2, T2);
/frameworks/support/v7/recyclerview/api_legacy/
Dcurrent.txt84 method public abstract boolean areContentsTheSame(int, int);
98 method public abstract boolean areContentsTheSame(T, T);
135 method public boolean areContentsTheSame(T2, T2);
147 method public abstract boolean areContentsTheSame(T2, T2);
D28.0.0-alpha1.txt84 method public abstract boolean areContentsTheSame(int, int);
98 method public abstract boolean areContentsTheSame(T, T);
135 method public boolean areContentsTheSame(T2, T2);
147 method public abstract boolean areContentsTheSame(T2, T2);
D27.1.0.txt84 method public abstract boolean areContentsTheSame(int, int);
98 method public abstract boolean areContentsTheSame(T, T);
135 method public boolean areContentsTheSame(T2, T2);
147 method public abstract boolean areContentsTheSame(T2, T2);

123