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.java42 public static final int NO_POSITION = -1; field in class:ListViewCompat
231 * shown. Specify {@link #NO_POSITION} if the last child
/frameworks/base/core/java/android/widget/
H A DListView.java80 static final int NO_POSITION = -1; field in class:ListView
1182 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1);
1230 * shown. Specify {@link #NO_POSITION} if the last child should be
1264 endPosition = (endPosition == NO_POSITION) ? adapter.getCount() - 1 : endPosition;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java121 * not yet been calculated. For this reasons, you should carefully handle {@link #NO_POSITION} or
146 public static final int NO_POSITION = -1; field in class:RecyclerView
2788 * @return Adapter position corresponding to the given view or {@link #NO_POSITION}
2792 return holder != null ? holder.getAdapterPosition() : NO_POSITION;
2802 * @return Adapter position of the given View as of last layout pass or {@link #NO_POSITION} if
2807 return holder != null ? holder.getLayoutPosition() : NO_POSITION;
6994 int mPosition = NO_POSITION;
6995 int mOldPosition = NO_POSITION;
6998 int mPreLayoutPosition = NO_POSITION;
7094 if (mOldPosition == NO_POSITION) {
[all...]

Completed in 387 milliseconds