Searched refs:NO_POSITION (Results 1 – 13 of 13) sorted by relevance
19 import static com.android.internal.widget.RecyclerView.NO_POSITION;119 int mPendingScrollPosition = NO_POSITION;471 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {486 if (!mAnchorInfo.mValid || mPendingScrollPosition != NO_POSITION514 if (state.isPreLayout() && mPendingScrollPosition != NO_POSITION645 mPendingScrollPosition = NO_POSITION; in onLayoutCompleted()792 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) {797 mPendingScrollPosition = NO_POSITION;1208 if (mPendingScrollPosition == NO_POSITION) { in collectInitialPrefetchPositions()1798 return child == null ? NO_POSITION : getPosition(child); in findFirstVisibleItemPosition()[all …]
191 public static final int NO_POSITION = -1; field in RecyclerView3408 mState.mFocusedItemPosition = mDataSetHasChangedAfterLayout ? NO_POSITION in saveFocusInfo()3417 mState.mFocusedItemPosition = NO_POSITION; in resetFocusInfo()3817 into[0] = NO_POSITION; in findMinMaxChildLayoutPositions()3818 into[1] = NO_POSITION; in findMinMaxChildLayoutPositions()4360 return holder != null ? holder.getAdapterPosition() : NO_POSITION; in getChildAdapterPosition()4375 return holder != null ? holder.getLayoutPosition() : NO_POSITION; in getChildLayoutPosition()6034 if (layoutIndex == RecyclerView.NO_POSITION) { in getScrapOrHiddenOrCachedHolderForPosition()10032 int mPosition = NO_POSITION;10033 int mOldPosition = NO_POSITION;[all …]
600 return RecyclerView.NO_POSITION; in applyPendingUpdatesToPosition()
77 int mCenteredAdapterPosition = RecyclerView.NO_POSITION;236 && mCenteredAdapterPosition != NO_POSITION) { in updatePadding()269 if (childAdapterPosition == RecyclerView.NO_POSITION) { in updateCardView()303 mCenteredAdapterPosition = RecyclerView.NO_POSITION;309 if (mCenteredAdapterPosition == RecyclerView.NO_POSITION || dx == 0) {
453 if (position == RecyclerView.NO_POSITION) return; in onBindViewHolder()480 mFocusIndex = RecyclerView.NO_POSITION;821 if (position == RecyclerView.NO_POSITION) return;844 if (position == 0 || position == RecyclerView.NO_POSITION){872 if (from == 0 || from == RecyclerView.NO_POSITION ||873 to == 0 || to == RecyclerView.NO_POSITION) {
36 public int mSelectedPosition = RecyclerView.NO_POSITION;
66 public static final int NO_POSITION = -1; field in ChooserListAdapter491 if (position == NO_POSITION) { in targetInfoForPosition()
3078 int mListPosition = ChooserListAdapter.NO_POSITION;
421 if (position == RecyclerView.NO_POSITION) return in getItemOffsets()
1299 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1); in buildDropDown()
153 static final int NO_POSITION = -1; field in ListView1321 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1); in onMeasure()1409 endPosition = (endPosition == NO_POSITION) ? adapter.getCount() - 1 : endPosition; in measureHeightOfChildren()
673 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { in postDispatchSwipe()
67550 Landroid/widget/ListView;->NO_POSITION:I