Home
last modified time | relevance | path

Searched refs:NO_POSITION (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java19 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_POSITION
514 if (state.isPreLayout() && mPendingScrollPosition != NO_POSITION
645 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 …]
DRecyclerView.java191 public static final int NO_POSITION = -1; field in RecyclerView
3287 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 …]
DAdapterHelper.java600 return RecyclerView.NO_POSITION; in applyPendingUpdatesToPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java327 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) {
/frameworks/base/core/java/android/widget/
DListPopupWindow.java1281 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1); in buildDropDown()
DListView.java155 static final int NO_POSITION = -1; field in ListView
1323 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1); in onMeasure()
1411 endPosition = (endPosition == NO_POSITION) ? adapter.getCount() - 1 : endPosition; in measureHeightOfChildren()
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java673 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { in postDispatchSwipe()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt82622 Landroid/widget/ListView;->NO_POSITION:I