/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
H A D | SortedListActivity.java | 125 if (adapterPosition == RecyclerView.NO_POSITION) {
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | SnapHelper.java | 167 if (targetPosition == RecyclerView.NO_POSITION) { 297 * @return the target adapter position to you want to snap or {@link RecyclerView#NO_POSITION}
|
H A D | RecyclerView.java | 153 * 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 D | AdapterHelper.java | 601 return RecyclerView.NO_POSITION;
|
/frameworks/support/leanback-preference/src/main/java/androidx/leanback/preference/ |
H A D | LeanbackListPreferenceDialogFragment.java | 217 if (index == RecyclerView.NO_POSITION) { 272 if (index == RecyclerView.NO_POSITION) {
|
/frameworks/support/preference/src/main/java/androidx/preference/ |
H A D | PreferenceGroupAdapter.java | 387 return RecyclerView.NO_POSITION; 399 return RecyclerView.NO_POSITION;
|
H A D | PreferenceFragment.java | 696 if (position != RecyclerView.NO_POSITION) { 736 if (position != RecyclerView.NO_POSITION) {
|
H A D | PreferenceFragmentCompat.java | 696 if (position != RecyclerView.NO_POSITION) { 736 if (position != RecyclerView.NO_POSITION) {
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | BaseStaggeredGridLayoutManagerTest.java | 308 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 D | StaggeredGridLayoutManagerTest.java | 184 CoreMatchers.is(new int[]{RecyclerView.NO_POSITION, RecyclerView.NO_POSITION, 185 RecyclerView.NO_POSITION}));
|
H A D | RecyclerViewAccessibilityLifecycleTest.java | 327 assertEquals(RecyclerView.NO_POSITION,
|
H A D | RecyclerViewCacheTest.java | 497 assertNotEquals(RecyclerView.NO_POSITION, holder.getAdapterPosition()); 522 assertEquals(RecyclerView.NO_POSITION, pooledHolder.getAdapterPosition());
|
H A D | RecyclerViewLayoutTest.java | 19 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 D | RecyclerView.java | 130 * 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 D | AdapterHelper.java | 600 return RecyclerView.NO_POSITION;
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | BaseLayoutManagerActivity.java | 91 if (pos != RecyclerView.NO_POSITION && pos + 1 < getItemCount()) {
|
H A D | RecyclerViewActivity.java | 60 if (pos == RecyclerView.NO_POSITION) {
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | BaseLayoutManagerActivity.java | 91 if (pos != RecyclerView.NO_POSITION && pos + 1 < getItemCount()) {
|
H A D | RecyclerViewActivity.java | 60 if (pos == RecyclerView.NO_POSITION) {
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | DefaultSelectionTracker.java | 268 checkArgument(position != RecyclerView.NO_POSITION);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | DropDownListView.java | 48 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 D | WearableActionDrawerView.java | 385 if (childPos == RecyclerView.NO_POSITION) {
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
H A D | BrowseFragment.java | 19 import static androidx.recyclerview.widget.RecyclerView.NO_POSITION; 1536 if (position == NO_POSITION) {
|
H A D | BrowseSupportFragment.java | 16 import static androidx.recyclerview.widget.RecyclerView.NO_POSITION; 1514 if (position == NO_POSITION) {
|
/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 1260 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1);
|