Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java10599 private int mTargetPosition = RecyclerView.NO_POSITION; field in RecyclerView.SmoothScroller
10632 if (mTargetPosition == RecyclerView.NO_POSITION) { in start()
10635 mRecyclerView.mState.mTargetPosition = mTargetPosition; in start()
10644 mTargetPosition = targetPosition; in setTargetPosition()
10667 mRecyclerView.mState.mTargetPosition = RecyclerView.NO_POSITION; in stop()
10669 mTargetPosition = RecyclerView.NO_POSITION; in stop()
10705 return mTargetPosition; in getTargetPosition()
10710 if (!mRunning || mTargetPosition == RecyclerView.NO_POSITION || recyclerView == null) { in onAnimation()
10716 if (getChildPosition(mTargetView) == mTargetPosition) { in onAnimation()
11156 private int mTargetPosition = RecyclerView.NO_POSITION; field in RecyclerView.State
[all …]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DRecyclerView.java11445 private int mTargetPosition = RecyclerView.NO_POSITION; field in RecyclerView.SmoothScroller
11487 if (mTargetPosition == RecyclerView.NO_POSITION) { in start()
11490 mRecyclerView.mState.mTargetPosition = mTargetPosition; in start()
11501 mTargetPosition = targetPosition; in setTargetPosition()
11547 mRecyclerView.mState.mTargetPosition = RecyclerView.NO_POSITION; in stop()
11549 mTargetPosition = RecyclerView.NO_POSITION; in stop()
11584 return mTargetPosition; in getTargetPosition()
11592 if (!mRunning || mTargetPosition == RecyclerView.NO_POSITION || recyclerView == null) { in onAnimation()
11603 PointF pointF = computeScrollVectorForPosition(mTargetPosition); in onAnimation()
11616 if (getChildPosition(mTargetView) == mTargetPosition) { in onAnimation()
[all …]