/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | OpReorderer.java | 67 if (moveOp.positionStart < moveOp.itemCount) { in swapMoveRemove() 69 if (removeOp.positionStart == moveOp.positionStart in swapMoveRemove() 70 && removeOp.itemCount == moveOp.itemCount - moveOp.positionStart) { in swapMoveRemove() 75 if (removeOp.positionStart == moveOp.itemCount + 1 && in swapMoveRemove() 76 removeOp.itemCount == moveOp.positionStart - moveOp.itemCount) { in swapMoveRemove() 82 if (moveOp.itemCount < removeOp.positionStart) { in swapMoveRemove() 83 removeOp.positionStart--; in swapMoveRemove() 84 } else if (moveOp.itemCount < removeOp.positionStart + removeOp.itemCount) { in swapMoveRemove() 98 if (moveOp.positionStart <= removeOp.positionStart) { in swapMoveRemove() 99 removeOp.positionStart++; in swapMoveRemove() [all …]
|
D | AdapterHelper.java | 135 int tmpStart = op.positionStart; in applyRemove() 137 int tmpEnd = op.positionStart + op.itemCount; in applyRemove() 139 for (int position = op.positionStart; position < tmpEnd; position++) { in applyRemove() 189 int tmpStart = op.positionStart; in applyUpdate() 191 int tmpEnd = op.positionStart + op.itemCount; in applyUpdate() 193 for (int position = op.positionStart; position < tmpEnd; position++) { in applyUpdate() 246 int tmpStart = updatePositionWithPostponed(op.positionStart, op.cmd); in dispatchAndUpdateViewHolders() 248 Log.d(TAG, "pos:" + op.positionStart + ",updatedPos:" + tmpStart); in dispatchAndUpdateViewHolders() 251 int offsetPositionForPartial = op.positionStart; in dispatchAndUpdateViewHolders() 264 final int pos = op.positionStart + (positionMultiplier * p); in dispatchAndUpdateViewHolders() [all …]
|
D | StaggeredGridLayoutManager.java | 1449 public void onItemsRemoved(RecyclerView recyclerView, int positionStart, int itemCount) { 1450 handleUpdate(positionStart, itemCount, AdapterHelper.UpdateOp.REMOVE); 1454 public void onItemsAdded(RecyclerView recyclerView, int positionStart, int itemCount) { 1455 handleUpdate(positionStart, itemCount, AdapterHelper.UpdateOp.ADD); 1470 public void onItemsUpdated(RecyclerView recyclerView, int positionStart, int itemCount, 1472 handleUpdate(positionStart, itemCount, AdapterHelper.UpdateOp.UPDATE); 1478 private void handleUpdate(int positionStart, int itemCountOrToPosition, int cmd) { 1484 if (positionStart < itemCountOrToPosition) { 1486 affectedRangeStart = positionStart; 1488 affectedRangeEnd = positionStart + 1; [all …]
|
D | RecyclerView.java | 756 … public void offsetPositionsForRemovingLaidOutOrNewView(int positionStart, int itemCount) { in initAdapterManager() 757 offsetPositionRecordsForRemove(positionStart, itemCount, false); in initAdapterManager() 762 public void markViewHoldersUpdated(int positionStart, int itemCount, Object payload) { in initAdapterManager() 763 viewRangeUpdate(positionStart, itemCount, payload); in initAdapterManager() 775 mLayout.onItemsAdded(RecyclerView.this, op.positionStart, op.itemCount); in initAdapterManager() 778 mLayout.onItemsRemoved(RecyclerView.this, op.positionStart, op.itemCount); in initAdapterManager() 781 mLayout.onItemsUpdated(RecyclerView.this, op.positionStart, op.itemCount, in initAdapterManager() 785 mLayout.onItemsMoved(RecyclerView.this, op.positionStart, op.itemCount, 1); in initAdapterManager() 796 public void offsetPositionsForAdd(int positionStart, int itemCount) { in initAdapterManager() 797 offsetPositionRecordsForInsert(positionStart, itemCount); in initAdapterManager() [all …]
|
D | GridLayoutManager.java | 199 public void onItemsAdded(RecyclerView recyclerView, int positionStart, int itemCount) { in onItemsAdded() argument 209 public void onItemsRemoved(RecyclerView recyclerView, int positionStart, int itemCount) { in onItemsRemoved() argument 214 public void onItemsUpdated(RecyclerView recyclerView, int positionStart, int itemCount, in onItemsUpdated() argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ObjectAdapter.java | 48 public void onItemRangeChanged(int positionStart, int itemCount) { in onItemRangeChanged() argument 58 public void onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted() argument 68 public void onItemRangeRemoved(int positionStart, int itemCount) { in onItemRangeRemoved() argument 81 public void notifyItemRangeChanged(int positionStart, int itemCount) { in notifyItemRangeChanged() argument 83 mObservers.get(i).onItemRangeChanged(positionStart, itemCount); in notifyItemRangeChanged() 87 public void notifyItemRangeInserted(int positionStart, int itemCount) { in notifyItemRangeInserted() argument 89 mObservers.get(i).onItemRangeInserted(positionStart, itemCount); in notifyItemRangeInserted() 93 public void notifyItemRangeRemoved(int positionStart, int itemCount) { in notifyItemRangeRemoved() argument 95 mObservers.get(i).onItemRangeRemoved(positionStart, itemCount); in notifyItemRangeRemoved() 179 final protected void notifyItemRangeChanged(int positionStart, int itemCount) { in notifyItemRangeChanged() argument [all …]
|
D | ItemBridgeAdapter.java | 151 public void onItemRangeChanged(int positionStart, int itemCount) { 152 ItemBridgeAdapter.this.notifyItemRangeChanged(positionStart, itemCount); 155 public void onItemRangeInserted(int positionStart, int itemCount) { 156 ItemBridgeAdapter.this.notifyItemRangeInserted(positionStart, itemCount); 159 public void onItemRangeRemoved(int positionStart, int itemCount) { 160 ItemBridgeAdapter.this.notifyItemRangeRemoved(positionStart, itemCount);
|
D | SparseArrayObjectAdapter.java | 71 public void notifyArrayItemRangeChanged(int positionStart, int itemCount) { in notifyArrayItemRangeChanged() argument 72 notifyItemRangeChanged(positionStart, itemCount); in notifyArrayItemRangeChanged()
|
D | ArrayObjectAdapter.java | 78 public void notifyArrayItemRangeChanged(int positionStart, int itemCount) { in notifyArrayItemRangeChanged() argument 79 notifyItemRangeChanged(positionStart, itemCount); in notifyArrayItemRangeChanged()
|
D | ControlBarPresenter.java | 110 public void onItemRangeChanged(int positionStart, int itemCount) { in ViewHolder() 113 bindControlToAction(positionStart + i, mPresenter); in ViewHolder()
|
D | PlaybackControlsPresenter.java | 82 public void onItemRangeChanged(int positionStart, int itemCount) { in ViewHolder() 85 bindControlToAction(positionStart + i, mPresenter); in ViewHolder()
|
D | GridLayoutManager.java | 2334 public void onItemsAdded(RecyclerView recyclerView, int positionStart, int itemCount) { 2336 + positionStart + " itemCount " + itemCount); 2340 if (positionStart <= pos) { 2355 public void onItemsRemoved(RecyclerView recyclerView, int positionStart, int itemCount) { 2357 + positionStart + " itemCount " + itemCount); 2361 if (positionStart <= pos) { 2362 if (positionStart + itemCount > pos) { 2395 public void onItemsUpdated(RecyclerView recyclerView, int positionStart, int itemCount) { 2397 + positionStart + " itemCount " + itemCount); 2398 for (int i = positionStart, end = positionStart + itemCount; i < end; i++) {
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | SectionBreakDocumentsAdapterWrapper.java | 193 public void onItemRangeChanged(int positionStart, int itemCount) { 197 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { 199 notifyItemRangeChanged(toViewPosition(positionStart), itemCount, payload); 202 public void onItemRangeInserted(int positionStart, int itemCount) { 204 if (positionStart < mBreakPosition) { 207 notifyItemRangeInserted(toViewPosition(positionStart), itemCount); 210 public void onItemRangeRemoved(int positionStart, int itemCount) { 212 if (positionStart < mBreakPosition) { 215 notifyItemRangeRemoved(toViewPosition(positionStart), itemCount);
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/ |
D | HeaderRecyclerView.java | 76 public void onItemRangeChanged(int positionStart, int itemCount) { 77 notifyItemRangeChanged(positionStart, itemCount); 81 public void onItemRangeInserted(int positionStart, int itemCount) { 82 notifyItemRangeInserted(positionStart, itemCount); 92 public void onItemRangeRemoved(int positionStart, int itemCount) { 93 notifyItemRangeRemoved(positionStart, itemCount);
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
D | ObservableList.java | 66 public abstract void onItemRangeChanged(T sender, int positionStart, int itemCount); in onItemRangeChanged() argument 74 public abstract void onItemRangeInserted(T sender, int positionStart, int itemCount); in onItemRangeInserted() argument 92 public abstract void onItemRangeRemoved(T sender, int positionStart, int itemCount); in onItemRangeRemoved() argument
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
D | AdapterHelperTest.java | 94 public void offsetPositionsForRemovingInvisible(int positionStart, int itemCount) { in cleanState() 95 final int positionEnd = positionStart + itemCount; in cleanState() 99 } else if (holder.mPosition >= positionStart) { in cleanState() 100 holder.flagRemovedAndOffsetPosition(positionStart - 1, -itemCount, true); in cleanState() 106 public void offsetPositionsForRemovingLaidOutOrNewView(int positionStart, in cleanState() 108 final int positionEnd = positionStart + itemCount; in cleanState() 112 } else if (holder.mPosition >= positionStart) { in cleanState() 113 holder.flagRemovedAndOffsetPosition(positionStart - 1, -itemCount, false); in cleanState() 119 public void markViewHoldersUpdated(int positionStart, int itemCount, Object payload) { in cleanState() 120 final int positionEnd = positionStart + itemCount; in cleanState() [all …]
|
D | OpReorderTest.java | 388 items.add(op.positionStart + i, newItem); in apply() 393 mRemovedItems.add(items.remove(op.positionStart)); in apply() 397 items.add(op.itemCount, items.remove(op.positionStart)); in apply() 401 final int index = op.positionStart + i; in apply() 412 copy.add(new UpdateOp(op.cmd, op.positionStart, op.itemCount, null)); in rewriteOps()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceFragmentCompat.java | 730 public void onItemRangeChanged(int positionStart, int itemCount) { in onItemRangeChanged() argument 735 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { in onItemRangeChanged() argument 740 public void onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted() argument 745 public void onItemRangeRemoved(int positionStart, int itemCount) { in onItemRangeRemoved() argument
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
D | PreferenceFragment.java | 747 public void onItemRangeChanged(int positionStart, int itemCount) { in onItemRangeChanged() argument 752 public void onItemRangeChanged(int positionStart, int itemCount, Object payload) { in onItemRangeChanged() argument 757 public void onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted() argument 762 public void onItemRangeRemoved(int positionStart, int itemCount) { in onItemRangeRemoved() argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BaseRowSupportFragment.java | 99 public void onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted() argument
|
D | BaseRowFragment.java | 97 public void onItemRangeInserted(int positionStart, int itemCount) { in onItemRangeInserted() argument
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
D | ViewDataBinding.java | 1193 public void onItemRangeChanged(ObservableList sender, int positionStart, int itemCount) { in onItemRangeChanged() argument 1198 public void onItemRangeInserted(ObservableList sender, int positionStart, int itemCount) { in onItemRangeInserted() argument 1209 public void onItemRangeRemoved(ObservableList sender, int positionStart, int itemCount) { in onItemRangeRemoved() argument
|