/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
LayoutState.java | 48 int mCurrentPosition; 73 return mCurrentPosition >= 0 && mCurrentPosition < state.getItemCount(); 83 final View view = recycler.getViewForPosition(mCurrentPosition); 84 mCurrentPosition += mItemDirection;
|
LinearLayoutManager.java | 518 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection; 533 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection; 625 mLayoutState.mCurrentPosition += mShouldReverseLayout ? 1 : -1; 634 mLayoutState.mCurrentPosition += mShouldReverseLayout ? -1 : 1; [all...] |
GridLayoutManager.java | 340 int itemSpanIndex = getSpanIndex(recycler, state, layoutState.mCurrentPosition); 341 int itemSpanSize = getSpanSize(recycler, state, layoutState.mCurrentPosition); 345 int pos = layoutState.mCurrentPosition;
|
StaggeredGridLayoutManager.java | 580 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection; 588 mLayoutState.mCurrentPosition += mLayoutState.mItemDirection; [all...] |
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/ |
ArticleFragment.java | 27 int mCurrentPosition = -1; 37 mCurrentPosition = savedInstanceState.getInt(ARG_POSITION); 56 } else if (mCurrentPosition != -1) { 58 updateArticleView(mCurrentPosition); 65 mCurrentPosition = position; 73 outState.putInt(ARG_POSITION, mCurrentPosition);
|
/external/replicaisland/src/com/replica/replicaisland/ |
BackgroundCollisionComponent.java | 34 private Vector2 mCurrentPosition; 65 mCurrentPosition = new Vector2(); 84 mCurrentPosition = new Vector2(); 149 mCurrentPosition.set(parentObject.getPosition()); 150 mDelta.set(mCurrentPosition); 169 horizontalHit = sweepHorizontal(mPreviousCenter, mCurrentPosition, mDelta, left, 172 verticalHit = sweepVertical(mPreviousCenter, mCurrentPosition, mDelta, bottom, 177 verticalHit = sweepVertical(mPreviousCenter, mCurrentPosition, mDelta, bottom, 180 horizontalHit = sweepHorizontal(mPreviousCenter, mCurrentPosition, mDelta, left, 188 if (mCurrentPosition.x + left < 0.0f) [all...] |
SimpleCollisionComponent.java | 22 private Vector2 mCurrentPosition; 31 mCurrentPosition = new Vector2(); 40 mCurrentPosition.zero(); 51 mCurrentPosition.set(parentObject.getCenteredPositionX(), parentObject.getCenteredPositionY()); 52 mMovementDirection.set(mCurrentPosition); 57 final boolean hit = collision.castRay(mPreviousPosition, mCurrentPosition,
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
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;
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageGetter.java | 78 private int mCurrentPosition = -1; 136 while (mCancel || mDone || mCurrentPosition == -1) { 152 mCurrentPosition = -1; 163 int imageNumber = mCurrentPosition + offset; 165 if (!mCB.wantsThumbnail(mCurrentPosition, offset)) { 180 Runnable cb = callback(mCurrentPosition, offset, 191 int imageNumber = mCurrentPosition + offset; 193 if (!mCB.wantsFullImage(mCurrentPosition, offset)) { 203 mCurrentPosition, offset); 216 Runnable cb = callback(mCurrentPosition, offset [all...] |
ViewImage.java | 94 int mCurrentPosition = 0; 140 boolean showPrev = mCurrentPosition > 0; 141 boolean showNext = mCurrentPosition < mAllImages.getCount() - 1; 212 IImage image = mAllImages.getImageAt(mCurrentPosition); 387 mLastSlideShowImage = mCurrentPosition; 388 loadNextImage(mCurrentPosition, 0, true); 405 IImage image = mAllImages.getImageAt(mCurrentPosition); 413 setImage(mCurrentPosition, false); 437 mAllImages.removeImageAt(mCurrentPosition); 442 if (mCurrentPosition == mAllImages.getCount()) [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
DbTestUtils.java | 86 int mCurrentPosition = -1; 99 mCurrentPosition = 0; 105 if (queryResult.size() > 0 && mCurrentPosition < queryResult.size()) { 106 mCurrentPosition++; 115 return mCurrentPosition < 0;
|
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
HoloSpiralView.java | 32 private float mCurrentPosition = 0; 116 float realPosition = mCurrentPosition + (event.getX() - mStartX); 128 mCurrentPosition = realPosition;
|
/frameworks/av/media/libmedia/ |
mediaplayer.cpp | 54 mCurrentPosition = -1; 99 mCurrentPosition = -1; 404 if (mCurrentPosition >= 0) { 405 ALOGV("Using cached seek position: %d", mCurrentPosition); 406 *msec = mCurrentPosition; 470 mCurrentPosition = msec; 797 if (mSeekPosition != mCurrentPosition) { 800 seekTo_l(mCurrentPosition); 804 mCurrentPosition = mSeekPosition = -1;
|
/frameworks/base/core/java/android/widget/ |
OverScroller.java | 166 return mScrollerX.mCurrentPosition; 175 return mScrollerY.mCurrentPosition; 546 private int mCurrentPosition; 652 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); 696 mCurrentPosition = mFinal; 753 mCurrentPosition = mStart = start; [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
OverScrollerSGV.java | 162 return mScrollerX.mCurrentPosition; 171 return mScrollerY.mCurrentPosition; 549 private int mCurrentPosition; 655 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); 699 mCurrentPosition = mFinal; 756 mCurrentPosition = mStart = start; [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
OverScroller.java | 160 return mScrollerX.mCurrentPosition; 169 return mScrollerY.mCurrentPosition; 547 private int mCurrentPosition; 656 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart)); 700 mCurrentPosition = mFinal; 757 mCurrentPosition = mStart = start; [all...] |
/frameworks/av/include/media/ |
mediaplayer.h | 276 int mCurrentPosition;
|
/prebuilts/sdk/current/support/v7/recyclerview/libs/ |
android-support-v7-recyclerview.jar | |