Searched refs:mCurrentPosition (Results 1 – 8 of 8) sorted by relevance
48 int mCurrentPosition; field in LayoutState73 return mCurrentPosition >= 0 && mCurrentPosition < state.getItemCount(); in hasMore()83 final View view = recycler.getViewForPosition(mCurrentPosition); in next()84 mCurrentPosition += mItemDirection; in next()
518 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection;533 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection;625 mLayoutState.mCurrentPosition += mShouldReverseLayout ? 1 : -1; in layoutForPredictiveAnimations()634 mLayoutState.mCurrentPosition += mShouldReverseLayout ? -1 : 1; in layoutForPredictiveAnimations()850 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillEnd()862 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillStart()1069 mLayoutState.mCurrentPosition = getPosition(child) + mLayoutState.mItemDirection; in updateLayoutState()1080 mLayoutState.mCurrentPosition = getPosition(child) + mLayoutState.mItemDirection; in updateLayoutState()1801 int mCurrentPosition; field in LayoutState1846 return mCurrentPosition >= 0 && mCurrentPosition < state.getItemCount(); in hasMore()[all …]
340 int itemSpanIndex = getSpanIndex(recycler, state, layoutState.mCurrentPosition); in layoutChunk()341 int itemSpanSize = getSpanSize(recycler, state, layoutState.mCurrentPosition); in layoutChunk()345 int pos = layoutState.mCurrentPosition; in layoutChunk()
580 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection;588 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection;1227 mLayoutState.mCurrentPosition = anchorPosition;1245 mLayoutState.mCurrentPosition = anchorPosition;1842 mLayoutState.mCurrentPosition = referenceChildPosition + mLayoutState.mItemDirection;
123 int mCurrentPosition = -1;132 mCurrentPosition = 0;138 if (mCurrentPosition < mContactEntryList.size()) {139 mCurrentPosition++;148 return mCurrentPosition < 0;153 return mCurrentPosition >= mContactEntryList.size();165 TestCase.assertTrue(mCurrentPosition >= 0166 && mCurrentPosition < mContactEntryList.size());167 return mCurrentPosition;
54 mCurrentPosition = -1; in MediaPlayer()99 mCurrentPosition = -1; in clear_l()404 if (mCurrentPosition >= 0) { in getCurrentPosition()405 ALOGV("Using cached seek position: %d", mCurrentPosition); in getCurrentPosition()406 *msec = mCurrentPosition; in getCurrentPosition()470 mCurrentPosition = msec; in seekTo_l()797 if (mSeekPosition != mCurrentPosition) { in notify()800 seekTo_l(mCurrentPosition); in notify()804 mCurrentPosition = mSeekPosition = -1; in notify()
166 return mScrollerX.mCurrentPosition; in getCurrX()175 return mScrollerY.mCurrentPosition; in getCurrY()546 private int mCurrentPosition; field in OverScroller.SplineOverScroller652 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()696 mCurrentPosition = mFinal; in finish()753 mCurrentPosition = mStart = start; in fling()953 mCurrentPosition = mStart + (int) Math.round(distance); in update()
276 int mCurrentPosition; variable