Searched refs:mPendingMoves (Results 1 – 3 of 3) sorted by relevance
46 private ArrayList<MoveInfo> mPendingMoves = new ArrayList<>(); field in DefaultItemAnimator104 boolean movesPending = !mPendingMoves.isEmpty(); in runPendingAnimations()119 moves.addAll(mPendingMoves); in runPendingAnimations()121 mPendingMoves.clear(); in runPendingAnimations()274 mPendingMoves.add(new MoveInfo(holder, fromX, fromY, toX, toY)); in animateMove()442 for (int i = mPendingMoves.size() - 1; i >= 0; i--) { in endAnimation()443 MoveInfo moveInfo = mPendingMoves.get(i); in endAnimation()448 mPendingMoves.remove(i); in endAnimation()534 || !mPendingMoves.isEmpty() in isRunning()558 int count = mPendingMoves.size(); in endAnimations()[all …]
45 private ArrayList<MoveInfo> mPendingMoves = new ArrayList<>(); field in DefaultItemAnimator103 boolean movesPending = !mPendingMoves.isEmpty(); in runPendingAnimations()118 moves.addAll(mPendingMoves); in runPendingAnimations()120 mPendingMoves.clear(); in runPendingAnimations()273 mPendingMoves.add(new MoveInfo(holder, fromX, fromY, toX, toY)); in animateMove()441 for (int i = mPendingMoves.size() - 1; i >= 0; i--) { in endAnimation()442 MoveInfo moveInfo = mPendingMoves.get(i); in endAnimation()447 mPendingMoves.remove(i); in endAnimation()533 || !mPendingMoves.isEmpty() in isRunning()557 int count = mPendingMoves.size(); in endAnimations()[all …]
287 private int mPendingMoves; field in GridLayoutManager.PendingMoveSmoothScroller290 mPendingMoves = initialPendingMoves; in PendingMoveSmoothScroller()296 if (mPendingMoves < mMaxPendingMoves) { in increasePendingMoves()297 mPendingMoves++; in increasePendingMoves()302 if (mPendingMoves > -mMaxPendingMoves) { in decreasePendingMoves()303 mPendingMoves--; in decreasePendingMoves()313 if (mStaggeredGrid || mPendingMoves == 0) { in consumePendingMovesBeforeLayout()317 int startPos = mPendingMoves > 0 ? mFocusPosition + mNumRows : in consumePendingMovesBeforeLayout()319 for (int pos = startPos; mPendingMoves != 0; in consumePendingMovesBeforeLayout()320 pos = mPendingMoves > 0 ? pos + mNumRows: pos - mNumRows) { in consumePendingMovesBeforeLayout()[all …]