/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | StableIdKeyProvider.java | 78 int position = holder.getAdapterPosition(); 88 int position = holder.getAdapterPosition();
|
/frameworks/support/car/src/main/java/androidx/car/drawer/ |
H A D | DrawerItemViewHolder.java | 87 ? v -> listener.onItemClick(getAdapterPosition())
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | TileAdapter.java | 229 } 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 D | RecyclerViewParallax.java | 120 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 D | RecyclerViewPrefetchTest.java | 100 assertThat(cachedViews().get(0).getAdapterPosition(), is(6));
|
H A D | StaggeredGridLayoutManagerTest.java | 395 + 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 D | GridLayoutManagerCacheTest.java | 72 if (cachedViews().get(i).getAdapterPosition() == position) return true;
|
H A D | LinearLayoutManagerCacheTest.java | 114 int prefetchedPosition = cachedViews().get(0).getAdapterPosition();
|
H A D | StaggeredGridLayoutManagerCacheTest.java | 73 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 D | ItemTouchHelperActivity.java | 118 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 D | ItemTouchHelperActivity.java | 118 mAdapter.move(viewHolder.getAdapterPosition(), target.getAdapterPosition()); 124 mAdapter.delete(viewHolder.getAdapterPosition());
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | NekoDialog.java | 90 onFoodSelected(mFoods.get(holder.getAdapterPosition()));
|
H A D | NekoLand.java | 225 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 D | GridLayoutManagerActivity.java | 125 final int pos = vh.getAdapterPosition();
|
H A D | StableIdActivity.java | 118 final int pos = viewHolder.getAdapterPosition();
|
H A D | NestedRecyclerViewActivity.java | 141 mSavedStates.set(holder.getAdapterPosition(),
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/fancy/ |
H A D | FancyHolder.java | 47 return FancyHolder.this.getAdapterPosition();
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/simple/ |
H A D | DemoHolder.java | 45 return DemoHolder.this.getAdapterPosition();
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | GridLayoutManagerActivity.java | 125 final int pos = vh.getAdapterPosition();
|
H A D | StableIdActivity.java | 118 final int pos = viewHolder.getAdapterPosition();
|
H A D | NestedRecyclerViewActivity.java | 141 mSavedStates.set(holder.getAdapterPosition(),
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/fancy/ |
H A D | FancyHolder.java | 47 return FancyHolder.this.getAdapterPosition();
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/simple/ |
H A D | DemoHolder.java | 45 return DemoHolder.this.getAdapterPosition();
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
H A D | SortedListActivity.java | 124 int adapterPosition = getAdapterPosition();
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
H A D | SortedListActivity.java | 124 int adapterPosition = getAdapterPosition();
|