Home
last modified time | relevance | path

Searched refs:mCurrentPosition (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLayoutState.java48 int mCurrentPosition; field in LayoutState
73 return mCurrentPosition >= 0 && mCurrentPosition < state.getItemCount(); in hasMore()
83 final View view = recycler.getViewForPosition(mCurrentPosition); in next()
84 mCurrentPosition += mItemDirection; in next()
DLinearLayoutManager.java518 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 LayoutState
1846 return mCurrentPosition >= 0 && mCurrentPosition < state.getItemCount(); in hasMore()
[all …]
DGridLayoutManager.java340 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()
DStaggeredGridLayoutManager.java580 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection;
588 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection;
1227 mLayoutState.mCurrentPosition = anchorPosition;
1245 mLayoutState.mCurrentPosition = anchorPosition;
1842 mLayoutState.mCurrentPosition = referenceChildPosition + mLayoutState.mItemDirection;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java123 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 >= 0
166 && mCurrentPosition < mContactEntryList.size());
167 return mCurrentPosition;
/frameworks/av/media/libmedia/
Dmediaplayer.cpp54 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()
/frameworks/base/core/java/android/widget/
DOverScroller.java166 return mScrollerX.mCurrentPosition; in getCurrX()
175 return mScrollerY.mCurrentPosition; in getCurrY()
546 private int mCurrentPosition; field in OverScroller.SplineOverScroller
652 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()
/frameworks/av/include/media/
Dmediaplayer.h276 int mCurrentPosition; variable