Searched refs:mCurrentPosition (Results 1 – 7 of 7) sorted by relevance
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;
172 return mScrollerX.mCurrentPosition; in getCurrX()181 return mScrollerY.mCurrentPosition; in getCurrY()552 private int mCurrentPosition; field in OverScroller.SplineOverScroller659 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll()691 mCurrentPosition = mStart = start; in startScroll()703 mCurrentPosition = mFinal; in finish()725 mCurrentPosition = mStart = mFinal = start; in springback()744 mCurrentPosition = mStart = start; in startSpringback()760 mCurrentPosition = mStart = start; in fling()817 mCurrentPosition = mStart = end; in fitOnBounceCurve()[all …]
560 final int firstElement = mLayoutState.mCurrentPosition;567 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection;585 final int lastElement = mLayoutState.mCurrentPosition;592 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection;931 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillEnd()943 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillStart()1160 mLayoutState.mCurrentPosition = getPosition(child) + mLayoutState.mItemDirection; in updateLayoutState()1171 mLayoutState.mCurrentPosition = getPosition(child) + mLayoutState.mItemDirection; in updateLayoutState()1190 final int pos = layoutState.mCurrentPosition; in collectPrefetchPositionsForLayoutState()2069 int mCurrentPosition;[all …]
511 final int pos = layoutState.mCurrentPosition; in collectPrefetchPositionsForLayoutState()515 layoutState.mCurrentPosition += layoutState.mItemDirection; in collectPrefetchPositionsForLayoutState()538 int itemSpanIndex = getSpanIndex(recycler, state, layoutState.mCurrentPosition); in layoutChunk()539 int itemSpanSize = getSpanSize(recycler, state, layoutState.mCurrentPosition); in layoutChunk()543 int pos = layoutState.mCurrentPosition; in layoutChunk()
51 mCurrentPosition = -1; in MediaPlayer()98 mCurrentPosition = -1; in clear_l()490 if (mCurrentPosition >= 0) { in getCurrentPosition()491 ALOGV("Using cached seek position: %d", mCurrentPosition); in getCurrentPosition()492 *msec = mCurrentPosition; in getCurrentPosition()559 mCurrentPosition = msec; in seekTo_l()914 if (mSeekPosition != mCurrentPosition || (mSeekMode != mCurrentSeekMode)) { in notify()915 ALOGV("Executing queued seekTo(%d, %d)", mCurrentPosition, mCurrentSeekMode); in notify()918 seekTo_l(mCurrentPosition, mCurrentSeekMode); in notify()922 mCurrentPosition = mSeekPosition = -1; in notify()
1765 private int mCurrentPosition; field in MediaParser.DataReaderAdapter1770 mCurrentPosition = 0; in setDataReader()1780 mCurrentPosition += readBytes; in read()1786 return mCurrentPosition; in getPosition()1791 return mLength - mCurrentPosition; in getLength()1799 private int mCurrentPosition; field in MediaParser.ParsableByteArrayAdapter1803 mCurrentPosition = 0; in resetWithByteArray()1812 mCurrentPosition += readLength; in read()1818 return mCurrentPosition; in getPosition()1823 return mLength - mCurrentPosition; in getLength()
294 int mCurrentPosition; variable