Home
last modified time | relevance | path

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

/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/base/core/java/android/widget/
DOverScroller.java172 return mScrollerX.mCurrentPosition; in getCurrX()
181 return mScrollerY.mCurrentPosition; in getCurrY()
552 private int mCurrentPosition; field in OverScroller.SplineOverScroller
659 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 …]
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java560 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 …]
/frameworks/av/media/libmedia/
Dmediaplayer.cpp60 mCurrentPosition = -1; in MediaPlayer()
107 mCurrentPosition = -1; in clear_l()
499 if (mCurrentPosition >= 0) { in getCurrentPosition()
500 ALOGV("Using cached seek position: %d", mCurrentPosition); in getCurrentPosition()
501 *msec = mCurrentPosition; in getCurrentPosition()
568 mCurrentPosition = msec; in seekTo_l()
923 if (mSeekPosition != mCurrentPosition || (mSeekMode != mCurrentSeekMode)) { in notify()
924 ALOGV("Executing queued seekTo(%d, %d)", mCurrentPosition, mCurrentSeekMode); in notify()
927 seekTo_l(mCurrentPosition, mCurrentSeekMode); in notify()
931 mCurrentPosition = mSeekPosition = -1; in notify()
/frameworks/av/media/libmediaplayer2/
Dmediaplayer2.cpp239 mCurrentPosition = -1; in MediaPlayer2()
289 mCurrentPosition = -1; in clear_l()
702 if (mCurrentPosition >= 0) { in getCurrentPosition()
703 ALOGV("Using cached seek position: %lld", (long long)mCurrentPosition); in getCurrentPosition()
704 *msec = mCurrentPosition; in getCurrentPosition()
779 mCurrentPosition = msec; in seekTo_l()
1072 if (mSeekPosition != mCurrentPosition || (mSeekMode != mCurrentSeekMode)) { in notify()
1074 (long long)mCurrentPosition, mCurrentSeekMode); in notify()
1077 seekTo_l(mCurrentPosition, mCurrentSeekMode); in notify()
1081 mCurrentPosition = mSeekPosition = -1; in notify()
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
Dmediaplayer2.h147 int64_t mCurrentPosition; variable
/frameworks/av/include/media/
Dmediaplayer.h294 int mCurrentPosition; variable
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h294 int mCurrentPosition; variable