/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | GridLayoutManager.java | 33 import static android.support.v7.widget.RecyclerView.NO_POSITION; 440 private int mFocusPosition = NO_POSITION; 851 return NO_POSITION; in getPositionByView() 856 return NO_POSITION; in getPositionByView() 896 View view = mFocusPosition == NO_POSITION ? null : findViewByPosition(mFocusPosition); in dispatchChildSelected() 906 mChildSelectedListener.onChildSelected(mBaseGridView, null, NO_POSITION, NO_ID); in dispatchChildSelected() 908 fireOnChildViewHolderSelected(mBaseGridView, null, NO_POSITION, 0); in dispatchChildSelected() 1084 mFocusPosition = NO_POSITION; in layoutInit() 1089 } else if (mFocusPosition == NO_POSITION && newItemCount > 0) { in layoutInit() 1099 if (!focusViewWasInTree && mFocusPosition != NO_POSITION) { in layoutInit() [all …]
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseRecyclerViewAnimationsTest.java | 172 RecyclerView.NO_POSITION, viewHolder.mOldPosition); in validateClearedOldPositions() 174 RecyclerView.NO_POSITION, viewHolder.mPreLayoutPosition); in validateClearedOldPositions() 186 viewHolder.mOldPosition != RecyclerView.NO_POSITION); in validateOldPositions() 281 + "layout position", RecyclerView.NO_POSITION, vh.mPreLayoutPosition); in assertPreLayoutPosition() 283 + "layout position", RecyclerView.NO_POSITION, vh.mOldPosition); in assertPreLayoutPosition() 557 constraint.mOldPos = RecyclerView.NO_POSITION; in adapterScrap() 566 constraint.mPreLayoutPos = RecyclerView.NO_POSITION; in adapter() 567 constraint.mOldPos = RecyclerView.NO_POSITION; in adapter() 604 RecyclerView.NO_POSITION, result.adapterResult.getOldPosition()); in validate()
|
D | BaseLinearLayoutManagerTest.java | 229 int firstVisiblePosition = RecyclerView.NO_POSITION; 231 int firstFullyVisiblePosition = RecyclerView.NO_POSITION; 233 int lastVisiblePosition = RecyclerView.NO_POSITION; 235 int lastFullyVisiblePosition = RecyclerView.NO_POSITION; 468 visibleChildren.firstFullyVisiblePosition == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren() 478 visibleChildren.firstVisiblePosition == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren()
|
D | BaseStaggeredGridLayoutManagerTest.java | 285 firstFullyVisiblePositions[i] = RecyclerView.NO_POSITION; in VisibleChildren() 286 firstVisiblePositions[i] = RecyclerView.NO_POSITION; in VisibleChildren() 287 lastVisiblePositions[i] = RecyclerView.NO_POSITION; in VisibleChildren() 288 lastFullyVisiblePositions[i] = RecyclerView.NO_POSITION; in VisibleChildren() 627 == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren() 637 visibleChildren.firstVisiblePositions[span] == RecyclerView.NO_POSITION) { in traverseAndFindVisibleChildren()
|
D | StaggeredGridLayoutManagerTest.java | 108 CoreMatchers.is(new int[]{RecyclerView.NO_POSITION, RecyclerView.NO_POSITION, in getPositionsBeforeInitialization() 109 RecyclerView.NO_POSITION})); in getPositionsBeforeInitialization()
|
D | BaseRecyclerViewInstrumentationTest.java | 370 vh.getAdapterPosition(), RecyclerView.NO_POSITION); in setRecyclerView() 778 assertEquals(log, shouldHavePosition, adapterPosition != RecyclerView.NO_POSITION); in onViewRecycled()
|
D | RecyclerViewLayoutTest.java | 60 import static android.support.v7.widget.RecyclerView.NO_POSITION; 838 int scrollPos = RecyclerView.NO_POSITION; in scrollToPositionCallback() 843 if (scrollPos == RecyclerView.NO_POSITION) { in scrollToPositionCallback() 1423 RecyclerView.NO_POSITION); in adapterPositionInvalidation() 1429 RecyclerView.NO_POSITION); in adapterPositionInvalidation() 4032 if (pendingScrollPosition != NO_POSITION) {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | StaggeredGridLayoutManager.java | 23 import static android.support.v7.widget.RecyclerView.NO_POSITION; 148 int mPendingScrollPosition = NO_POSITION; 604 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) { 612 if (!anchorInfo.mValid || mPendingScrollPosition != NO_POSITION || 625 if (mPendingSavedState == null && mPendingScrollPosition == NO_POSITION) { 709 mPendingScrollPosition = NO_POSITION; 791 if (mPendingSavedState.mAnchorPosition != NO_POSITION) { 831 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) { 836 mPendingScrollPosition = NO_POSITION; 841 if (mPendingSavedState == null || mPendingSavedState.mAnchorPosition == NO_POSITION [all …]
|
D | LinearLayoutManager.java | 19 import static android.support.v7.widget.RecyclerView.NO_POSITION; 121 int mPendingScrollPosition = NO_POSITION; 466 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) { 481 if (!mAnchorInfo.mValid || mPendingScrollPosition != NO_POSITION || 509 if (state.isPreLayout() && mPendingScrollPosition != NO_POSITION && 640 mPendingScrollPosition = NO_POSITION; in onLayoutCompleted() 787 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) { 792 mPendingScrollPosition = NO_POSITION; 1689 return child == null ? NO_POSITION : getPosition(child); in findFirstVisibleItemPosition() 1706 return child == null ? NO_POSITION : getPosition(child); in findFirstCompletelyVisibleItemPosition() [all …]
|
D | RecyclerView.java | 182 public static final int NO_POSITION = -1; field in RecyclerView 3094 mState.mFocusedItemPosition = mDataSetHasChangedAfterLayout ? NO_POSITION : in saveFocusInfo() 3102 mState.mFocusedItemPosition = NO_POSITION; in resetFocusInfo() 3118 if (mState.mFocusedItemPosition != NO_POSITION) { in recoverFocusFromState() 3949 return holder != null ? holder.getAdapterPosition() : NO_POSITION; in getChildAdapterPosition() 3964 return holder != null ? holder.getLayoutPosition() : NO_POSITION; in getChildLayoutPosition() 5379 if (layoutIndex == RecyclerView.NO_POSITION) { in getScrapViewForPosition() 9251 int mPosition = NO_POSITION; 9252 int mOldPosition = NO_POSITION; 9255 int mPreLayoutPosition = NO_POSITION; [all …]
|
D | AdapterHelper.java | 602 return RecyclerView.NO_POSITION; in applyPendingUpdatesToPosition()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | FocusManager.java | 62 private int mLastFocusPosition = RecyclerView.NO_POSITION; 101 if (endPos != RecyclerView.NO_POSITION) { in handleKey() 128 if (mLastFocusPosition != RecyclerView.NO_POSITION) { in restoreLastFocus() 214 return RecyclerView.NO_POSITION; in findTargetPosition()
|
D | MultiSelectManager.java | 348 if (position == RecyclerView.NO_POSITION) { in toggleSelection() 427 if (position == RecyclerView.NO_POSITION) { in setSelectionRangeBegin() 566 assert(position != RecyclerView.NO_POSITION); in snapSelection()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | Events.java | 146 : RecyclerView.NO_POSITION; in MotionInputEvent() 186 return getItemPosition() != RecyclerView.NO_POSITION; in isOverItem()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | TestInputEvent.java | 60 return position != Integer.MIN_VALUE && position != RecyclerView.NO_POSITION; in isOverItem()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceGroupAdapter.java | 314 return RecyclerView.NO_POSITION; in getPreferenceAdapterPosition() 326 return RecyclerView.NO_POSITION; in getPreferenceAdapterPosition()
|
D | PreferenceFragmentCompat.java | 679 if (position != RecyclerView.NO_POSITION) { in scrollToPreferenceInternal() 719 if (position != RecyclerView.NO_POSITION) { in scrollToPreference()
|
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/ |
D | LeanbackListPreferenceDialogFragment.java | 158 if (index == RecyclerView.NO_POSITION) { in onItemClick() 213 if (index == RecyclerView.NO_POSITION) { in onItemClick()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
D | MultiSelectManagerTest.java | 84 click(RecyclerView.NO_POSITION); in testMouseClick_NoPosition_ClearsSelection() 115 tap(RecyclerView.NO_POSITION); in testSingleTapUp_NoPosition_ClearsSelection()
|
/frameworks/support/v14/preference/src/android/support/v14/preference/ |
D | PreferenceFragment.java | 696 if (position != RecyclerView.NO_POSITION) { in scrollToPreferenceInternal() 736 if (position != RecyclerView.NO_POSITION) { in scrollToPreference()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ListViewCompat.java | 44 public static final int NO_POSITION = -1; field in ListViewCompat
|
D | ListPopupWindow.java | 1280 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1); in buildDropDown()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | BrowseFragment.java | 16 import static android.support.v7.widget.RecyclerView.NO_POSITION; 1402 if (position == NO_POSITION) { in setSelection()
|
D | BrowseSupportFragment.java | 18 import static android.support.v7.widget.RecyclerView.NO_POSITION; 1404 if (position == NO_POSITION) { in setSelection()
|
/frameworks/base/core/java/android/widget/ |
D | ListPopupWindow.java | 1234 0, DropDownListView.NO_POSITION, maxHeight - otherHeights, -1); in buildDropDown()
|