/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LayoutState.java | 52 int mCurrentPosition; field in LayoutState 90 return mCurrentPosition >= 0 && mCurrentPosition < state.getItemCount(); in hasMore() 100 final View view = recycler.getViewForPosition(mCurrentPosition); in next() 101 mCurrentPosition += mItemDirection; in next() 109 + ", mCurrentPosition=" + mCurrentPosition in toString()
|
D | LinearLayoutManager.java | 568 final int firstElement = mLayoutState.mCurrentPosition; 575 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection; 593 final int lastElement = mLayoutState.mCurrentPosition; 600 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection; 940 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillEnd() 952 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillStart() 1169 mLayoutState.mCurrentPosition = getPosition(child) + mLayoutState.mItemDirection; in updateLayoutState() 1180 mLayoutState.mCurrentPosition = getPosition(child) + mLayoutState.mItemDirection; in updateLayoutState() 1199 final int pos = layoutState.mCurrentPosition; in collectPrefetchPositionsForLayoutState() 2142 int mCurrentPosition; [all …]
|
D | GridLayoutManager.java | 513 final int pos = layoutState.mCurrentPosition; in collectPrefetchPositionsForLayoutState() 517 layoutState.mCurrentPosition += layoutState.mItemDirection; in collectPrefetchPositionsForLayoutState() 540 int itemSpanIndex = getSpanIndex(recycler, state, layoutState.mCurrentPosition); in layoutChunk() 541 int itemSpanSize = getSpanSize(recycler, state, layoutState.mCurrentPosition); in layoutChunk() 545 int pos = layoutState.mCurrentPosition; in layoutChunk()
|
D | StaggeredGridLayoutManager.java | 677 mLayoutState.mCurrentPosition = anchorInfo.mPosition + mLayoutState.mItemDirection; 685 mLayoutState.mCurrentPosition = anchorInfo.mPosition + mLayoutState.mItemDirection; 1412 mLayoutState.mCurrentPosition = anchorPosition; 2113 layoutPrefetchRegistry.addPosition(mLayoutState.mCurrentPosition, 2115 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection; 2132 mLayoutState.mCurrentPosition = referenceChildPosition + mLayoutState.mItemDirection; 2272 mLayoutState.mCurrentPosition = referenceChildPosition + mLayoutState.mItemDirection;
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ExportTestProvider.java | 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 >= 0 166 && mCurrentPosition < mContactEntryList.size()); 167 return mCurrentPosition;
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | Playback.java | 71 private volatile int mCurrentPosition; field in Playback 114 mCurrentPosition = getCurrentStreamPosition(); in stop() 143 mMediaPlayer.getCurrentPosition() : mCurrentPosition; in getCurrentStreamPosition() 153 mCurrentPosition = 0; in play() 205 mCurrentPosition = mMediaPlayer.getCurrentPosition(); in pause() 223 mCurrentPosition = position; in seekTo() 294 + mCurrentPosition); in configMediaPlayerState() 295 if (mCurrentPosition == mMediaPlayer.getCurrentPosition()) { in configMediaPlayerState() 299 mMediaPlayer.seekTo(mCurrentPosition); in configMediaPlayerState() 351 mCurrentPosition = mp.getCurrentPosition(); in onSeekComplete()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 167 return mScrollerX.mCurrentPosition; in getCurrX() 176 return mScrollerY.mCurrentPosition; in getCurrY() 545 private int mCurrentPosition; field in OverScroller.SplineOverScroller 651 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); in updateScroll() 683 mCurrentPosition = mStart = start; in startScroll() 695 mCurrentPosition = mFinal; in finish() 717 mCurrentPosition = mStart = mFinal = start; in springback() 736 mCurrentPosition = mStart = start; in startSpringback() 752 mCurrentPosition = mStart = start; in fling() 809 mCurrentPosition = mStart = end; in fitOnBounceCurve() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LinearLayoutManager.java | 564 final int firstElement = mLayoutState.mCurrentPosition; 571 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection; 589 final int lastElement = mLayoutState.mCurrentPosition; 596 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection; 935 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillEnd() 947 mLayoutState.mCurrentPosition = itemPosition; in updateLayoutStateToFillStart() 1164 mLayoutState.mCurrentPosition = getPosition(child) + mLayoutState.mItemDirection; in updateLayoutState() 1175 mLayoutState.mCurrentPosition = getPosition(child) + mLayoutState.mItemDirection; in updateLayoutState() 1194 final int pos = layoutState.mCurrentPosition; in collectPrefetchPositionsForLayoutState() 2073 int mCurrentPosition; [all …]
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 58 mCurrentPosition = -1; in MediaPlayer() 105 mCurrentPosition = -1; in clear_l() 515 if (mCurrentPosition >= 0) { in getCurrentPosition() 516 ALOGV("Using cached seek position: %d", mCurrentPosition); in getCurrentPosition() 517 *msec = mCurrentPosition; in getCurrentPosition() 584 mCurrentPosition = msec; in seekTo_l() 927 if (mSeekPosition != mCurrentPosition || (mSeekMode != mCurrentSeekMode)) { in notify() 928 ALOGV("Executing queued seekTo(%d, %d)", mCurrentPosition, mCurrentSeekMode); in notify() 931 seekTo_l(mCurrentPosition, mCurrentSeekMode); in notify() 935 mCurrentPosition = mSeekPosition = -1; in notify()
|
/frameworks/av/media/libmedia/include/media/ |
D | mediaplayer.h | 295 int mCurrentPosition; variable
|
/frameworks/av/include/media/ |
D | mediaplayer.h | 295 int mCurrentPosition; variable
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseGridLayoutManagerTest.java | 230 final int position = mCurrentPosition; in createLayoutState()
|
D | BaseLinearLayoutManagerTest.java | 497 final int position = mCurrentPosition; in createLayoutState()
|