Searched defs:NO_POSITION (Results 1 - 3 of 3) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DListViewCompat.java43 public static final int NO_POSITION = -1; field in class:ListViewCompat
238 * shown. Specify {@link #NO_POSITION} if the last child
/frameworks/base/core/java/android/widget/
H A DListView.java85 static final int NO_POSITION = -1; field in class:ListView
1188 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1);
1242 * shown. Specify {@link #NO_POSITION} if the last child should be
1275 endPosition = (endPosition == NO_POSITION) ? adapter.getCount() - 1 : endPosition;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java133 * not yet been calculated. For this reasons, you should carefully handle {@link #NO_POSITION} or
161 public static final int NO_POSITION = -1; field in class:RecyclerView
3532 * @return Adapter position corresponding to the given view or {@link #NO_POSITION}
3536 return holder != null ? holder.getAdapterPosition() : NO_POSITION;
3546 * @return Adapter position of the given View as of last layout pass or {@link #NO_POSITION} if
3551 return holder != null ? holder.getLayoutPosition() : NO_POSITION;
8188 int mPosition = NO_POSITION;
8189 int mOldPosition = NO_POSITION;
8192 int mPreLayoutPosition = NO_POSITION;
8309 if (mOldPosition == NO_POSITION) {
[all...]

Completed in 179 milliseconds