Home
last modified time | relevance | path

Searched refs:adapterPosition (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DDetailsParallax.java43 .adapterPosition(0) in DetailsParallax()
48 .adapterPosition(0) in DetailsParallax()
DRecyclerViewParallax.java76 public ChildPositionProperty adapterPosition(int adapterPosition) { in adapterPosition() method in RecyclerViewParallax.ChildPositionProperty
77 mAdapterPosition = adapterPosition; in adapterPosition()
/frameworks/base/core/java/android/widget/
DAdapterViewAnimator.java220 int adapterPosition; field in AdapterViewAnimator.ViewAndMetaData
223 ViewAndMetaData(View view, int relativeIndex, int adapterPosition, long itemId) { in ViewAndMetaData() argument
226 this.adapterPosition = adapterPosition; in ViewAndMetaData()
544 final int adapterPosition = modulo(i, adapterCount); in showOnly() local
545 View newView = mAdapter.getView(adapterPosition, null, this); in showOnly()
546 long itemId = mAdapter.getItemId(adapterPosition); in showOnly()
557 adapterPosition, itemId)); in showOnly()
653 performItemClick(v, viewData.adapterPosition, in onTouchEvent()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
DSortedListActivity.java123 int adapterPosition = getAdapterPosition(); in onCreateViewHolder()
124 if (adapterPosition == RecyclerView.NO_POSITION) { in onCreateViewHolder()
128 mData.recalculatePositionOfItemAt(adapterPosition); in onCreateViewHolder()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java453 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(viewPosition); in getSpanGroupIndex() local
454 if (adapterPosition == -1) { in getSpanGroupIndex()
462 return mSpanSizeLookup.getSpanGroupIndex(adapterPosition, mSpanCount); in getSpanGroupIndex()
473 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(pos); in getSpanIndex() local
474 if (adapterPosition == -1) { in getSpanIndex()
483 return mSpanSizeLookup.getCachedSpanIndex(adapterPosition, mSpanCount); in getSpanIndex()
494 final int adapterPosition = recycler.convertPreLayoutPositionToPostLayout(pos); in getSpanSize() local
495 if (adapterPosition == -1) { in getSpanSize()
504 return mSpanSizeLookup.getSpanSize(adapterPosition); in getSpanSize()
968 public int getSpanGroupIndex(int adapterPosition, int spanCount) { in getSpanGroupIndex() argument
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsFragment.java717 adapterPosition, int selectedPosition, int selectedSubPosition) { in onSetRowStatus() argument
721 adapterPosition, selectedPosition, selectedSubPosition); in onSetRowStatus() local
742 FullWidthDetailsOverviewRowPresenter.ViewHolder viewHolder, int adapterPosition, in onSetDetailsOverviewRowStatus() argument
744 if (selectedPosition > adapterPosition) { in onSetDetailsOverviewRowStatus()
746 } else if (selectedPosition == adapterPosition && selectedSubPosition == 1) { in onSetDetailsOverviewRowStatus()
748 } else if (selectedPosition == adapterPosition && selectedSubPosition == 0){ in onSetDetailsOverviewRowStatus()
DDetailsSupportFragment.java720 adapterPosition, int selectedPosition, int selectedSubPosition) { in onSetRowStatus() argument
724 adapterPosition, selectedPosition, selectedSubPosition); in onSetRowStatus() local
745 FullWidthDetailsOverviewRowPresenter.ViewHolder viewHolder, int adapterPosition, in onSetDetailsOverviewRowStatus() argument
747 if (selectedPosition > adapterPosition) { in onSetDetailsOverviewRowStatus()
749 } else if (selectedPosition == adapterPosition && selectedSubPosition == 1) { in onSetDetailsOverviewRowStatus()
751 } else if (selectedPosition == adapterPosition && selectedSubPosition == 0){ in onSetDetailsOverviewRowStatus()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseRecyclerViewInstrumentationTest.java878 final int adapterPosition = holder.getAdapterPosition(); in onViewRecycled() local
882 assertEquals(log, shouldHavePosition, adapterPosition != RecyclerView.NO_POSITION); in onViewRecycled()
884 assertTrue(log, mItems.size() > adapterPosition); in onViewRecycled()
889 assertSame(log, holder.mBoundItem, mItems.get(adapterPosition)); in onViewRecycled()
/frameworks/support/api/
D26.0.0-alpha1.txt4321 …ndroid.support.v17.leanback.widget.RecyclerViewParallax.ChildPositionProperty adapterPosition(int);
D25.3.0.txt3898 …ndroid.support.v17.leanback.widget.RecyclerViewParallax.ChildPositionProperty adapterPosition(int);
D25.4.0.txt3946 …ndroid.support.v17.leanback.widget.RecyclerViewParallax.ChildPositionProperty adapterPosition(int);
D26.0.0-beta1.txt5135 …ndroid.support.v17.leanback.widget.RecyclerViewParallax.ChildPositionProperty adapterPosition(int);
D26.0.0-SNAPSHOT.txt5241 …ndroid.support.v17.leanback.widget.RecyclerViewParallax.ChildPositionProperty adapterPosition(int);
D26.0.0-beta2.txt5230 …ndroid.support.v17.leanback.widget.RecyclerViewParallax.ChildPositionProperty adapterPosition(int);