Searched refs:NO_POSITION (Results 26 - 50 of 57) sorted by relevance

123

/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/
H A DSortedListActivity.java125 if (adapterPosition == RecyclerView.NO_POSITION) {
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DSnapHelper.java167 if (targetPosition == RecyclerView.NO_POSITION) {
297 * @return the target adapter position to you want to snap or {@link RecyclerView#NO_POSITION}
H A DRecyclerView.java153 * not yet been calculated. For this reasons, you should carefully handle {@link #NO_POSITION} or
226 public static final int NO_POSITION = -1; field in class:RecyclerView
3623 mState.mFocusedItemPosition = mDataSetHasChangedAfterLayout ? NO_POSITION
3632 mState.mFocusedItemPosition = NO_POSITION;
4047 into[0] = NO_POSITION;
4048 into[1] = NO_POSITION;
4579 * @return Adapter position corresponding to the given view or {@link #NO_POSITION}
4583 return holder != null ? holder.getAdapterPosition() : NO_POSITION;
4593 * @return Adapter position of the given View as of last layout pass or {@link #NO_POSITION} if
4598 return holder != null ? holder.getLayoutPosition() : NO_POSITION;
[all...]
H A DAdapterHelper.java601 return RecyclerView.NO_POSITION;
/frameworks/support/leanback-preference/src/main/java/androidx/leanback/preference/
H A DLeanbackListPreferenceDialogFragment.java217 if (index == RecyclerView.NO_POSITION) {
272 if (index == RecyclerView.NO_POSITION) {
/frameworks/support/preference/src/main/java/androidx/preference/
H A DPreferenceGroupAdapter.java387 return RecyclerView.NO_POSITION;
399 return RecyclerView.NO_POSITION;
H A DPreferenceFragment.java696 if (position != RecyclerView.NO_POSITION) {
736 if (position != RecyclerView.NO_POSITION) {
H A DPreferenceFragmentCompat.java696 if (position != RecyclerView.NO_POSITION) {
736 if (position != RecyclerView.NO_POSITION) {
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseStaggeredGridLayoutManagerTest.java308 firstFullyVisiblePositions[i] = RecyclerView.NO_POSITION;
309 firstVisiblePositions[i] = RecyclerView.NO_POSITION;
310 lastVisiblePositions[i] = RecyclerView.NO_POSITION;
311 lastFullyVisiblePositions[i] = RecyclerView.NO_POSITION;
720 == RecyclerView.NO_POSITION) {
730 visibleChildren.firstVisiblePositions[span] == RecyclerView.NO_POSITION) {
H A DStaggeredGridLayoutManagerTest.java184 CoreMatchers.is(new int[]{RecyclerView.NO_POSITION, RecyclerView.NO_POSITION,
185 RecyclerView.NO_POSITION}));
H A DRecyclerViewAccessibilityLifecycleTest.java327 assertEquals(RecyclerView.NO_POSITION,
H A DRecyclerViewCacheTest.java497 assertNotEquals(RecyclerView.NO_POSITION, holder.getAdapterPosition());
522 assertEquals(RecyclerView.NO_POSITION, pooledHolder.getAdapterPosition());
H A DRecyclerViewLayoutTest.java19 import static androidx.recyclerview.widget.RecyclerView.NO_POSITION;
496 * RecyclerView#NO_POSITION inside of
511 // adapter should be RecyclerView.NO_POSITION.
514 + "RecyclerView.NO_POSITION",
516 is(RecyclerView.NO_POSITION));
1573 int scrollPos = RecyclerView.NO_POSITION;
1578 if (scrollPos == RecyclerView.NO_POSITION) {
2249 RecyclerView.NO_POSITION);
2255 RecyclerView.NO_POSITION);
3521 assertThat(adapterPos, is(not(NO_POSITION)));
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DRecyclerView.java130 * not yet been calculated. For this reasons, you should carefully handle {@link #NO_POSITION} or
190 public static final int NO_POSITION = -1; field in class:RecyclerView
3286 mState.mFocusedItemPosition = mDataSetHasChangedAfterLayout ? NO_POSITION
3295 mState.mFocusedItemPosition = NO_POSITION;
3695 into[0] = NO_POSITION;
3696 into[1] = NO_POSITION;
4234 * @return Adapter position corresponding to the given view or {@link #NO_POSITION}
4238 return holder != null ? holder.getAdapterPosition() : NO_POSITION;
4248 * @return Adapter position of the given View as of last layout pass or {@link #NO_POSITION} if
4253 return holder != null ? holder.getLayoutPosition() : NO_POSITION;
[all...]
H A DAdapterHelper.java600 return RecyclerView.NO_POSITION;
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DBaseLayoutManagerActivity.java91 if (pos != RecyclerView.NO_POSITION && pos + 1 < getItemCount()) {
H A DRecyclerViewActivity.java60 if (pos == RecyclerView.NO_POSITION) {
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DBaseLayoutManagerActivity.java91 if (pos != RecyclerView.NO_POSITION && pos + 1 < getItemCount()) {
H A DRecyclerViewActivity.java60 if (pos == RecyclerView.NO_POSITION) {
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DDefaultSelectionTracker.java268 checkArgument(position != RecyclerView.NO_POSITION);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DDropDownListView.java48 public static final int NO_POSITION = -1; field in class:DropDownListView
269 * shown. Specify {@link #NO_POSITION} if the last child
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
H A DWearableActionDrawerView.java385 if (childPos == RecyclerView.NO_POSITION) {
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DBrowseFragment.java19 import static androidx.recyclerview.widget.RecyclerView.NO_POSITION;
1536 if (position == NO_POSITION) {
H A DBrowseSupportFragment.java16 import static androidx.recyclerview.widget.RecyclerView.NO_POSITION;
1514 if (position == NO_POSITION) {
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java1260 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1);

Completed in 1539 milliseconds

123