HomeSort by relevance Sort by last modified time
    Searched refs:NO_POSITION (Results 1 - 25 of 63) sorted by null

1 2 3

  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
LinearSnapHelper.java 66 return RecyclerView.NO_POSITION;
71 return RecyclerView.NO_POSITION;
76 return RecyclerView.NO_POSITION;
80 if (currentPosition == RecyclerView.NO_POSITION) {
81 return RecyclerView.NO_POSITION;
92 return RecyclerView.NO_POSITION;
117 return RecyclerView.NO_POSITION;
244 if (pos == RecyclerView.NO_POSITION) {
PagerSnapHelper.java 83 return RecyclerView.NO_POSITION;
94 return RecyclerView.NO_POSITION;
97 if (centerPosition == RecyclerView.NO_POSITION) {
98 return RecyclerView.NO_POSITION;
LinearLayoutManager.java 20 import static android.support.v7.widget.RecyclerView.NO_POSITION;
123 int mPendingScrollPosition = NO_POSITION;
479 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
494 if (!mAnchorInfo.mValid || mPendingScrollPosition != NO_POSITION
522 if (state.isPreLayout() && mPendingScrollPosition != NO_POSITION
653 mPendingScrollPosition = NO_POSITION;
801 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) {
806 mPendingScrollPosition = NO_POSITION;
    [all...]
StaggeredGridLayoutManager.java 24 import static android.support.v7.widget.RecyclerView.NO_POSITION;
149 int mPendingScrollPosition = NO_POSITION;
611 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
619 boolean recalculateAnchor = !anchorInfo.mValid || mPendingScrollPosition != NO_POSITION
632 if (mPendingSavedState == null && mPendingScrollPosition == NO_POSITION) {
726 mPendingScrollPosition = NO_POSITION;
808 if (mPendingSavedState.mAnchorPosition != NO_POSITION) {
848 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) {
853 mPendingScrollPosition = NO_POSITION;
    [all...]
SnapHelper.java 168 if (targetPosition == RecyclerView.NO_POSITION) {
279 * @return the target adapter position to you want to snap or {@link RecyclerView#NO_POSITION}
RecyclerView.java 146 * not yet been calculated. For this reasons, you should carefully handle {@link #NO_POSITION} or
211 public static final int NO_POSITION = -1;
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/
FocusManager.java 119 if (endPos != RecyclerView.NO_POSITION) {
153 final int focusPos = (mScope.lastFocusPosition != RecyclerView.NO_POSITION)
199 return mScope.lastFocusPosition != RecyclerView.NO_POSITION;
204 if (mScope.lastFocusPosition != RecyclerView.NO_POSITION) {
218 * @return The adapter position of the destination item. Could be RecyclerView.NO_POSITION.
282 return RecyclerView.NO_POSITION;
641 mScope.lastFocusPosition = RecyclerView.NO_POSITION;
654 private int lastFocusPosition = RecyclerView.NO_POSITION;
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
BaseRecyclerViewAnimationsTest.java 176 RecyclerView.NO_POSITION, viewHolder.mOldPosition);
178 RecyclerView.NO_POSITION, viewHolder.mPreLayoutPosition);
190 viewHolder.mOldPosition != RecyclerView.NO_POSITION);
285 + "layout position", RecyclerView.NO_POSITION, vh.mPreLayoutPosition);
287 + "layout position", RecyclerView.NO_POSITION, vh.mOldPosition);
561 constraint.mOldPos = RecyclerView.NO_POSITION;
570 constraint.mPreLayoutPos = RecyclerView.NO_POSITION;
571 constraint.mOldPos = RecyclerView.NO_POSITION;
608 RecyclerView.NO_POSITION, result.adapterResult.getOldPosition());
BaseLinearLayoutManagerTest.java 244 int firstVisiblePosition = RecyclerView.NO_POSITION;
246 int firstFullyVisiblePosition = RecyclerView.NO_POSITION;
248 int lastVisiblePosition = RecyclerView.NO_POSITION;
250 int lastFullyVisiblePosition = RecyclerView.NO_POSITION;
559 visibleChildren.firstFullyVisiblePosition == RecyclerView.NO_POSITION) {
569 visibleChildren.firstVisiblePosition == RecyclerView.NO_POSITION) {
BaseStaggeredGridLayoutManagerTest.java 289 firstFullyVisiblePositions[i] = RecyclerView.NO_POSITION;
290 firstVisiblePositions[i] = RecyclerView.NO_POSITION;
291 lastVisiblePositions[i] = RecyclerView.NO_POSITION;
292 lastFullyVisiblePositions[i] = RecyclerView.NO_POSITION;
701 == RecyclerView.NO_POSITION) {
711 visibleChildren.firstVisiblePositions[span] == RecyclerView.NO_POSITION) {
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/base/
Events.java 200 private static final int UNSET_POSITION = RecyclerView.NO_POSITION - 1;
358 return getItemPosition() != RecyclerView.NO_POSITION;
372 : RecyclerView.NO_POSITION;
  /frameworks/base/core/java/com/android/internal/widget/
LinearLayoutManager.java 19 import static com.android.internal.widget.RecyclerView.NO_POSITION;
119 int mPendingScrollPosition = NO_POSITION;
475 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
490 if (!mAnchorInfo.mValid || mPendingScrollPosition != NO_POSITION
518 if (state.isPreLayout() && mPendingScrollPosition != NO_POSITION
649 mPendingScrollPosition = NO_POSITION;
796 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) {
801 mPendingScrollPosition = NO_POSITION;
    [all...]
RecyclerView.java 130 * not yet been calculated. For this reasons, you should carefully handle {@link #NO_POSITION} or
192 public static final int NO_POSITION = -1;
    [all...]
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
GridLayoutManagerActivity.java 125 if (pos == RecyclerView.NO_POSITION) {
StableIdActivity.java 118 if (pos != RecyclerView.NO_POSITION) {
  /packages/apps/DocumentsUI/src/com/android/documentsui/selection/
Range.java 43 assert(position != RecyclerView.NO_POSITION);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
GridLayoutManager.java 18 import static android.support.v7.widget.RecyclerView.NO_POSITION;
467 int mFocusPosition = NO_POSITION;
899 return NO_POSITION;
904 return NO_POSITION;
944 View view = mFocusPosition == NO_POSITION ? null : findViewByPosition(mFocusPosition);
954 mChildSelectedListener.onChildSelected(mBaseGridView, null, NO_POSITION, NO_ID);
956 fireOnChildViewHolderSelected(mBaseGridView, null, NO_POSITION, 0);
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
ItemAdapter.java 50 if (position != RecyclerView.NO_POSITION) {
61 if (position != RecyclerView.NO_POSITION) {
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
UserInputHandler_TouchTest.java 138 mInputHandler.onSingleTapUp(mEvent.at(RecyclerView.NO_POSITION).build());
  /frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
LeanbackListPreferenceDialogFragment.java 216 if (index == RecyclerView.NO_POSITION) {
271 if (index == RecyclerView.NO_POSITION) {
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceGroupAdapter.java 374 return RecyclerView.NO_POSITION;
386 return RecyclerView.NO_POSITION;
  /packages/apps/DeskClock/src/com/android/deskclock/ringtone/
RingtonePickerActivity.java 127 private int mIndexOfRingtoneToRemove = RecyclerView.NO_POSITION;
201 if (mIndexOfRingtoneToRemove != RecyclerView.NO_POSITION) {
355 mIndexOfRingtoneToRemove = RecyclerView.NO_POSITION;
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Conversation.java 44 public static final int NO_POSITION = -1;
223 position = NO_POSITION;
300 position = NO_POSITION;
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
CallLogAdapter.java 131 private int mCurrentlyExpandedPosition = RecyclerView.NO_POSITION;
301 mCurrentlyExpandedPosition = RecyclerView.NO_POSITION;
421 if (lastExpandedPosition != RecyclerView.NO_POSITION) {
434 savedInstanceState.getInt(KEY_EXPANDED_POSITION, RecyclerView.NO_POSITION);
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsRecyclerView.java 191 if (position != NO_POSITION) {
369 if (position == NO_POSITION) {

Completed in 1467 milliseconds

1 2 3