Searched refs:newItemPosition (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | AsyncListDiffer.java | 233 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in submitList() 235 T newItem = newList.get(newItemPosition); in submitList() 244 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in submitList() 246 T newItem = newList.get(newItemPosition); in submitList() 262 public Object getChangePayload(int oldItemPosition, int newItemPosition) { in submitList() 264 T newItem = newList.get(newItemPosition); in submitList()
|
D | DiffUtil.java | 312 public abstract boolean areItemsTheSame(int oldItemPosition, int newItemPosition); in areItemsTheSame() argument 332 public abstract boolean areContentsTheSame(int oldItemPosition, int newItemPosition); in areContentsTheSame() argument 352 public Object getChangePayload(int oldItemPosition, int newItemPosition) { in getChangePayload() argument
|
/frameworks/support/paging/runtime/src/main/java/androidx/paging/ |
D | PagedStorageDiffHelper.java | 40 public Object getChangePayload(int oldItemPosition, int newItemPosition) { in computeDiff() 42 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount()); in computeDiff() 60 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in computeDiff() argument 62 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount()); in computeDiff() 74 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in computeDiff() argument 76 T newItem = newList.get(newItemPosition + newList.getLeadingNullCount()); in computeDiff()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | ArrayObjectAdapter.java | 262 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in setItems() 264 itemList.get(newItemPosition)); in setItems() 268 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in setItems() 270 itemList.get(newItemPosition)); in setItems() 275 public Object getChangePayload(int oldItemPosition, int newItemPosition) { in setItems() 277 itemList.get(newItemPosition)); in setItems()
|
D | GuidedActionAdapter.java | 200 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in setActions() 202 mActions.get(newItemPosition)); in setActions() 206 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in setActions() 208 mActions.get(newItemPosition)); in setActions() 213 public Object getChangePayload(int oldItemPosition, int newItemPosition) { in setActions() 215 mActions.get(newItemPosition)); in setActions()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
D | DiffUtilActivity.java | 123 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in areItemsTheSame() argument 126 return mOld.get(oldItemPosition).equals(mNew.get(newItemPosition)); in areItemsTheSame() 130 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in areContentsTheSame() argument 131 return mOld.get(oldItemPosition).equals(mNew.get(newItemPosition)); in areContentsTheSame()
|
/frameworks/support/preference/src/main/java/androidx/preference/ |
D | PreferenceGroupAdapter.java | 185 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in syncMyPreferences() 188 visiblePreferenceList.get(newItemPosition)); in syncMyPreferences() 192 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in syncMyPreferences() 195 visiblePreferenceList.get(newItemPosition)); in syncMyPreferences()
|