Lines Matching refs:to

10  * Unless required by applicable law or agreed to in writing, software
30 * To support animations, RecyclerView presents an older version the Adapter to best represent
36 * pre processing, AdapterHelper finds out which UpdateOps can be deferred to second layout pass
38 * according to previously deferred operation and dispatch them before the first layout pass. It
42 * Although operations may be forwarded to LayoutManager in different orders, resulting data set
43 * is guaranteed to be the consistent.
143 // to post layout stage.
146 // have any effect in pre-layout since their add ops are already deferred to
150 // Create an UpdateOp and dispatch it to LayoutManager.
158 // this position. Instead, post it to LayoutManager immediately
161 // Create UpdateOp op and dispatch it to LayoutManager.
169 position -= tmpCount; // also equal to tmpStart
230 // dispatch to them since now they are after this op.
243 // handle each pos 1 by 1 to ensure continuity. If it breaks, dispatch partial
244 // TODO Since move ops are pushed to end, we should not need this anymore
280 // need to dispatch this separately
283 Log.d(TAG, "need to dispatch separately " + tmp);
290 tmpStart = updatedPos; // need to remove previously dispatched
350 // op moved to left, move it right to revert
358 // op was moved right, move left to revert
539 boolean onItemRangeMoved(int from, int to, int itemCount) {
540 if (from == to) {
546 mPendingUpdates.add(obtainUpdateOp(UpdateOp.MOVE, from, to, null));
628 * Queued operation to happen when child views are updated.
774 void offsetPositionsForMove(int from, int to);