Searched refs:NO_POSITION (Results 1 – 8 of 8) 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 RecyclerView3287 mState.mFocusedItemPosition = mDataSetHasChangedAfterLayout ? NO_POSITION in saveFocusInfo()3296 mState.mFocusedItemPosition = NO_POSITION; in resetFocusInfo()3696 into[0] = NO_POSITION; in findMinMaxChildLayoutPositions()3697 into[1] = NO_POSITION; in findMinMaxChildLayoutPositions()4239 return holder != null ? holder.getAdapterPosition() : NO_POSITION; in getChildAdapterPosition()4254 return holder != null ? holder.getLayoutPosition() : NO_POSITION; in getChildLayoutPosition()5913 if (layoutIndex == RecyclerView.NO_POSITION) { in getScrapOrHiddenOrCachedHolderForPosition()9911 int mPosition = NO_POSITION;9912 int mOldPosition = NO_POSITION;[all …]
600 return RecyclerView.NO_POSITION; in applyPendingUpdatesToPosition()
327 if (position == RecyclerView.NO_POSITION) return; in onBindViewHolder()578 if (position == RecyclerView.NO_POSITION) return;601 if (position == 0 || position == RecyclerView.NO_POSITION){629 if (from == 0 || from == RecyclerView.NO_POSITION ||630 to == 0 || to == RecyclerView.NO_POSITION) {
1281 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1); in buildDropDown()
155 static final int NO_POSITION = -1; field in ListView1323 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1); in onMeasure()1411 endPosition = (endPosition == NO_POSITION) ? adapter.getCount() - 1 : endPosition; in measureHeightOfChildren()
673 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { in postDispatchSwipe()
82622 Landroid/widget/ListView;->NO_POSITION:I