/frameworks/base/core/java/com/android/internal/widget/ |
D | OpReorderer.java | 68 if (moveOp.positionStart < moveOp.itemCount) { in swapMoveRemove() 70 if (removeOp.positionStart == moveOp.positionStart in swapMoveRemove() 71 && removeOp.itemCount == moveOp.itemCount - moveOp.positionStart) { in swapMoveRemove() 76 if (removeOp.positionStart == moveOp.itemCount + 1 in swapMoveRemove() 77 && removeOp.itemCount == moveOp.positionStart - moveOp.itemCount) { in swapMoveRemove() 83 if (moveOp.itemCount < removeOp.positionStart) { in swapMoveRemove() 84 removeOp.positionStart--; in swapMoveRemove() 85 } else if (moveOp.itemCount < removeOp.positionStart + removeOp.itemCount) { in swapMoveRemove() 99 if (moveOp.positionStart <= removeOp.positionStart) { in swapMoveRemove() 100 removeOp.positionStart++; in swapMoveRemove() [all …]
|
D | AdapterHelper.java | 133 int tmpStart = op.positionStart; in applyRemove() 135 int tmpEnd = op.positionStart + op.itemCount; in applyRemove() 137 for (int position = op.positionStart; position < tmpEnd; position++) { in applyRemove() 187 int tmpStart = op.positionStart; in applyUpdate() 189 int tmpEnd = op.positionStart + op.itemCount; in applyUpdate() 191 for (int position = op.positionStart; position < tmpEnd; position++) { in applyUpdate() 244 int tmpStart = updatePositionWithPostponed(op.positionStart, op.cmd); in dispatchAndUpdateViewHolders() 246 Log.d(TAG, "pos:" + op.positionStart + ",updatedPos:" + tmpStart); in dispatchAndUpdateViewHolders() 249 int offsetPositionForPartial = op.positionStart; in dispatchAndUpdateViewHolders() 262 final int pos = op.positionStart + (positionMultiplier * p); in dispatchAndUpdateViewHolders() [all …]
|
D | RecyclerView.java | 806 int positionStart, int itemCount) { in initAdapterManager() 807 offsetPositionRecordsForRemove(positionStart, itemCount, false); in initAdapterManager() 812 public void markViewHoldersUpdated(int positionStart, int itemCount, Object payload) { in initAdapterManager() 813 viewRangeUpdate(positionStart, itemCount, payload); in initAdapterManager() 825 mLayout.onItemsAdded(RecyclerView.this, op.positionStart, op.itemCount); in initAdapterManager() 828 mLayout.onItemsRemoved(RecyclerView.this, op.positionStart, op.itemCount); in initAdapterManager() 831 mLayout.onItemsUpdated(RecyclerView.this, op.positionStart, op.itemCount, in initAdapterManager() 835 mLayout.onItemsMoved(RecyclerView.this, op.positionStart, op.itemCount, 1); in initAdapterManager() 846 public void offsetPositionsForAdd(int positionStart, int itemCount) { in initAdapterManager() 847 offsetPositionRecordsForInsert(positionStart, itemCount); in initAdapterManager() [all …]
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/ |
D | HeaderRecyclerView.java | 79 public void onItemRangeChanged(int positionStart, int itemCount) { 81 positionStart++; 83 notifyItemRangeChanged(positionStart, itemCount); 87 public void onItemRangeInserted(int positionStart, int itemCount) { 89 positionStart++; 91 notifyItemRangeInserted(positionStart, itemCount); 107 public void onItemRangeRemoved(int positionStart, int itemCount) { 109 positionStart++; 111 notifyItemRangeRemoved(positionStart, itemCount);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemHierarchy.java | 48 void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeChanged() argument 51 void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeInserted() argument 58 void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeRemoved() argument
|
D | ItemGroup.java | 217 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument 221 notifyItemRangeChanged(childPosition + positionStart, itemCount); in onItemRangeChanged() 228 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument 232 notifyItemRangeInserted(childPosition + positionStart, itemCount); in onItemRangeInserted() 251 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved() argument 255 notifyItemRangeRemoved(childPosition + positionStart, itemCount); in onItemRangeRemoved()
|
D | ItemAdapter.java | 93 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument 98 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument 109 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved() argument
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapter.java | 168 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument 169 notifyItemRangeChanged(positionStart, itemCount); in onItemRangeChanged() 173 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument 174 notifyItemRangeInserted(positionStart, itemCount); in onItemRangeInserted() 196 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved() argument 197 notifyItemRangeRemoved(positionStart, itemCount); in onItemRangeRemoved()
|