Home
last modified time | relevance | path

Searched refs:updateOp (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DOpReorderer.java182 UpdateOp updateOp) { in swapMoveUpdate() argument
186 if (moveOp.itemCount < updateOp.positionStart) { in swapMoveUpdate()
187 updateOp.positionStart--; in swapMoveUpdate()
188 } else if (moveOp.itemCount < updateOp.positionStart + updateOp.itemCount) { in swapMoveUpdate()
190 updateOp.itemCount--; in swapMoveUpdate()
191 extraUp1 = mCallback.obtainUpdateOp(UPDATE, moveOp.positionStart, 1, updateOp.payload); in swapMoveUpdate()
194 if (moveOp.positionStart <= updateOp.positionStart) { in swapMoveUpdate()
195 updateOp.positionStart++; in swapMoveUpdate()
196 } else if (moveOp.positionStart < updateOp.positionStart + updateOp.itemCount) { in swapMoveUpdate()
197 final int remaining = updateOp.positionStart + updateOp.itemCount in swapMoveUpdate()
[all …]
DAdapterHelper.java236 for (UpdateOp updateOp : mPostponedList) { in dispatchAndUpdateViewHolders()
237 Log.d(TAG, updateOp.toString()); in dispatchAndUpdateViewHolders()
306 for (UpdateOp updateOp : mPostponedList) { in dispatchAndUpdateViewHolders()
307 Log.d(TAG, updateOp.toString()); in dispatchAndUpdateViewHolders()
388 for (UpdateOp updateOp : mPostponedList) { in updatePositionWithPostponed()
389 Log.d(TAG, updateOp.toString()); in updatePositionWithPostponed()
767 void onDispatchFirstPass(UpdateOp updateOp); in onDispatchFirstPass() argument
769 void onDispatchSecondPass(UpdateOp updateOp); in onDispatchSecondPass() argument