Home
last modified time | relevance | path

Searched refs:NO_POSITION (Results 1 – 13 of 13) 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
3408 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 …]
DAdapterHelper.java600 return RecyclerView.NO_POSITION; in applyPendingUpdatesToPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardCarousel.java77 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) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileAdapter.java453 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) {
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceListAdapter.java36 public int mSelectedPosition = RecyclerView.NO_POSITION;
/frameworks/base/core/java/com/android/internal/app/
DChooserListAdapter.java66 public static final int NO_POSITION = -1; field in ChooserListAdapter
491 if (position == NO_POSITION) { in targetInfoForPosition()
DChooserActivity.java3078 int mListPosition = ChooserListAdapter.NO_POSITION;
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlAdapter.kt421 if (position == RecyclerView.NO_POSITION) return in getItemOffsets()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java1299 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1); in buildDropDown()
DListView.java153 static final int NO_POSITION = -1; field in ListView
1321 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1); in onMeasure()
1409 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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt67550 Landroid/widget/ListView;->NO_POSITION:I