Searched refs:getAdapterPosition (Results 1 - 25 of 54) sorted by relevance

123

/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DStableIdKeyProvider.java78 int position = holder.getAdapterPosition();
88 int position = holder.getAdapterPosition();
/frameworks/support/car/src/main/java/androidx/car/drawer/
H A DDrawerItemViewHolder.java87 ? v -> listener.onItemClick(getAdapterPosition())
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileAdapter.java229 } else if (!canRemoveTiles() && mCurrentDrag.getAdapterPosition() < mEditIndex) {
248 selectPosition(holder.getAdapterPosition(), v);
294 int position = holder.getAdapterPosition();
511 if (holder.getAdapterPosition() < mEditIndex && !(child instanceof TextView)) {
547 int position = mCurrentDrag.getAdapterPosition();
569 if (!canRemoveTiles() && current.getAdapterPosition() < mEditIndex) {
570 return target.getAdapterPosition() < mEditIndex;
572 return target.getAdapterPosition() <= mEditIndex + 1;
587 int from = viewHolder.getAdapterPosition();
588 int to = target.getAdapterPosition();
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DRecyclerViewParallax.java120 public int getAdapterPosition() { method in class:RecyclerViewParallax.ChildPositionProperty
158 int firstPosition = vh.getAdapterPosition();
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewPrefetchTest.java100 assertThat(cachedViews().get(0).getAdapterPosition(), is(6));
H A DStaggeredGridLayoutManagerTest.java395 + lastViewHolder.getAdapterPosition() + " vs "
396 + containingViewHolder.getAdapterPosition(),
397 lastViewHolder.getAdapterPosition() < containingViewHolder.getAdapterPosition());
463 mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition());
469 assertEquals(i, mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition());
475 assertEquals(25, mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition());
479 assertEquals(i, mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition());
579 actualFocusIndex = mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition();
590 actualFocusIndex = mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition();
[all...]
H A DGridLayoutManagerCacheTest.java72 if (cachedViews().get(i).getAdapterPosition() == position) return true;
H A DLinearLayoutManagerCacheTest.java114 int prefetchedPosition = cachedViews().get(0).getAdapterPosition();
H A DStaggeredGridLayoutManagerCacheTest.java73 if (cachedViews().get(i).getAdapterPosition() == position) return true;
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java118 mAdapter.move(viewHolder.getAdapterPosition(), target.getAdapterPosition());
124 mAdapter.delete(viewHolder.getAdapterPosition());
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/
H A DItemTouchHelperActivity.java118 mAdapter.move(viewHolder.getAdapterPosition(), target.getAdapterPosition());
124 mAdapter.delete(viewHolder.getAdapterPosition());
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoDialog.java90 onFoodSelected(mFoods.get(holder.getAdapterPosition()));
H A DNekoLand.java225 onCatClick(mCats[holder.getAdapterPosition()]);
245 onCatRemove(mCats[holder.getAdapterPosition()]);
255 Cat cat = mCats[holder.getAdapterPosition()];
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java125 final int pos = vh.getAdapterPosition();
H A DStableIdActivity.java118 final int pos = viewHolder.getAdapterPosition();
H A DNestedRecyclerViewActivity.java141 mSavedStates.set(holder.getAdapterPosition(),
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/fancy/
H A DFancyHolder.java47 return FancyHolder.this.getAdapterPosition();
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/simple/
H A DDemoHolder.java45 return DemoHolder.this.getAdapterPosition();
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java125 final int pos = vh.getAdapterPosition();
H A DStableIdActivity.java118 final int pos = viewHolder.getAdapterPosition();
H A DNestedRecyclerViewActivity.java141 mSavedStates.set(holder.getAdapterPosition(),
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/fancy/
H A DFancyHolder.java47 return FancyHolder.this.getAdapterPosition();
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/simple/
H A DDemoHolder.java45 return DemoHolder.this.getAdapterPosition();
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
H A DSortedListActivity.java124 int adapterPosition = getAdapterPosition();
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
H A DSortedListActivity.java124 int adapterPosition = getAdapterPosition();

Completed in 82 milliseconds

123