/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileAdapter.java | 229 } else if (!canRemoveTiles() && mCurrentDrag.getAdapterPosition() < mEditIndex) { in onBindViewHolder() 248 selectPosition(holder.getAdapterPosition(), v); in onBindViewHolder() 294 int position = holder.getAdapterPosition(); in onBindViewHolder() 511 if (holder.getAdapterPosition() < mEditIndex && !(child instanceof TextView)) { in onDraw() 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();
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | StaggeredGridLayoutManagerTest.java | 395 + lastViewHolder.getAdapterPosition() + " vs " in focusSearchFailureFromSubChild() 396 + containingViewHolder.getAdapterPosition(), in focusSearchFailureFromSubChild() 397 lastViewHolder.getAdapterPosition() < containingViewHolder.getAdapterPosition()); in focusSearchFailureFromSubChild() 463 mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition()); in focusSearchFailure() 469 assertEquals(i, mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition()); in focusSearchFailure() 475 assertEquals(25, mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition()); in focusSearchFailure() 479 assertEquals(i, mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition()); in focusSearchFailure() 579 actualFocusIndex = mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition(); in topUnfocusableViewsVisibility() 590 actualFocusIndex = mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition(); in topUnfocusableViewsVisibility() 692 actualFocusIndex = mRecyclerView.getChildViewHolder(focusedView).getAdapterPosition(); in bottomUnfocusableViewsVisibility() [all …]
|
D | RecyclerViewPrefetchTest.java | 100 assertThat(cachedViews().get(0).getAdapterPosition(), is(6)); in prefetchTest()
|
D | LinearLayoutManagerCacheTest.java | 114 int prefetchedPosition = cachedViews().get(0).getAdapterPosition(); in cacheAndPrefetch()
|
D | ItemTouchHelperTest.java | 322 fromPos = from.getAdapterPosition(); in MoveRecord() 323 toPos = to.getAdapterPosition(); in MoveRecord()
|
D | GridLayoutManagerCacheTest.java | 72 if (cachedViews().get(i).getAdapterPosition() == position) return true; in cachedViewsContains()
|
D | LinearLayoutManagerBaseConfigSetTest.java | 259 assertThat(vh.getAdapterPosition(), is(500)); in dontRecycleViewsTranslatedOutOfBoundsFromStart() 293 assertThat(vh.getAdapterPosition(), is(500)); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
|
D | StaggeredGridLayoutManagerCacheTest.java | 73 if (cachedViews().get(i).getAdapterPosition() == position) return true; in cachedViewsContains()
|
D | RecyclerViewCacheTest.java | 497 assertNotEquals(RecyclerView.NO_POSITION, holder.getAdapterPosition()); in partialPrefetchAvoidsViewRecycledCallback() 522 assertEquals(RecyclerView.NO_POSITION, pooledHolder.getAdapterPosition()); in partialPrefetchAvoidsViewRecycledCallback() 856 mSavedStates.set(holder.getAdapterPosition(), in onViewRecycled() 1201 if (holder.getAdapterPosition() >= 0) { in onViewRecycled() 1202 mSavedStates.set(holder.getAdapterPosition(), in onViewRecycled()
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
D | StableIdKeyProvider.java | 78 int position = holder.getAdapterPosition(); in onAttached() 88 int position = holder.getAdapterPosition(); in onDetached()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/ |
D | ItemTouchHelperActivity.java | 118 mAdapter.move(viewHolder.getAdapterPosition(), target.getAdapterPosition()); in createCallback() 124 mAdapter.delete(viewHolder.getAdapterPosition()); in createCallback()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | RecyclerViewParallax.java | 120 public int getAdapterPosition() { in getAdapterPosition() method in RecyclerViewParallax.ChildPositionProperty 158 int firstPosition = vh.getAdapterPosition(); in updateValue()
|
/frameworks/support/car/src/main/java/androidx/car/drawer/ |
D | DrawerItemViewHolder.java | 87 ? v -> listener.onItemClick(getAdapterPosition()) in setItemClickListener()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoLand.java | 225 onCatClick(mCats[holder.getAdapterPosition()]); in onBindViewHolder() 245 onCatRemove(mCats[holder.getAdapterPosition()]); in onBindViewHolder() 255 Cat cat = mCats[holder.getAdapterPosition()]; in onBindViewHolder()
|
D | NekoDialog.java | 90 onFoodSelected(mFoods.get(holder.getAdapterPosition())); in onBindViewHolder()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/simple/ |
D | DemoHolder.java | 45 return DemoHolder.this.getAdapterPosition(); in DemoHolder()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/selection/fancy/ |
D | FancyHolder.java | 47 return FancyHolder.this.getAdapterPosition(); in FancyHolder()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
D | StableIdActivity.java | 118 final int pos = viewHolder.getAdapterPosition(); in onCreateViewHolder()
|
D | GridLayoutManagerActivity.java | 125 final int pos = vh.getAdapterPosition();
|
D | NestedRecyclerViewActivity.java | 141 mSavedStates.set(holder.getAdapterPosition(), in onViewRecycled()
|
D | BaseLayoutManagerActivity.java | 90 final int pos = vh.getAdapterPosition(); in createAdapter()
|
/frameworks/support/leanback-preference/src/main/java/androidx/leanback/preference/ |
D | LeanbackListPreferenceDialogFragment.java | 216 final int index = viewHolder.getAdapterPosition(); in onItemClick() 271 final int index = viewHolder.getAdapterPosition(); in onItemClick()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
D | SortedListActivity.java | 124 int adapterPosition = getAdapterPosition(); in onCreateViewHolder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | LockscreenFragment.java | 283 v -> mCallback.accept(mItems.get(holder.getAdapterPosition()))); in onBindViewHolder() 289 v -> mItems.get(holder.getAdapterPosition()).toggleExpando(Adapter.this)); in onBindViewHolder()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridActivity.java | 229 int position = vh.getAdapterPosition(); 385 int position = vh.getAdapterPosition();
|