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

1 2

  /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) {
StaggeredGridLayoutManager.java 23 import static android.support.v7.widget.RecyclerView.NO_POSITION;
149 int mPendingScrollPosition = NO_POSITION;
605 if (mPendingSavedState != null || mPendingScrollPosition != NO_POSITION) {
613 if (!anchorInfo.mValid || mPendingScrollPosition != NO_POSITION ||
626 if (mPendingSavedState == null && mPendingScrollPosition == NO_POSITION) {
710 mPendingScrollPosition = NO_POSITION;
792 if (mPendingSavedState.mAnchorPosition != NO_POSITION) {
832 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) {
837 mPendingScrollPosition = NO_POSITION;
842 if (mPendingSavedState == null || mPendingSavedState.mAnchorPosition == NO_POSITION
    [all...]
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;
787 if (state.isPreLayout() || mPendingScrollPosition == NO_POSITION) {
792 mPendingScrollPosition = NO_POSITION;
    [all...]
SnapHelper.java 158 if (targetPosition == RecyclerView.NO_POSITION) {
269 * @return the target adapter position to you want to snap or {@link RecyclerView#NO_POSITION}
RecyclerView.java 142 * not yet been calculated. For this reasons, you should carefully handle {@link #NO_POSITION} or
181 public static final int NO_POSITION = -1;
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
Events.java 146 : RecyclerView.NO_POSITION;
186 return getItemPosition() != RecyclerView.NO_POSITION;
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
TestInputEvent.java 60 return position != Integer.MIN_VALUE && position != RecyclerView.NO_POSITION;
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
BaseRecyclerViewAnimationsTest.java 172 RecyclerView.NO_POSITION, viewHolder.mOldPosition);
174 RecyclerView.NO_POSITION, viewHolder.mPreLayoutPosition);
186 viewHolder.mOldPosition != RecyclerView.NO_POSITION);
281 + "layout position", RecyclerView.NO_POSITION, vh.mPreLayoutPosition);
283 + "layout position", RecyclerView.NO_POSITION, vh.mOldPosition);
557 constraint.mOldPos = RecyclerView.NO_POSITION;
566 constraint.mPreLayoutPos = RecyclerView.NO_POSITION;
567 constraint.mOldPos = RecyclerView.NO_POSITION;
604 RecyclerView.NO_POSITION, result.adapterResult.getOldPosition());
BaseLinearLayoutManagerTest.java 232 int firstVisiblePosition = RecyclerView.NO_POSITION;
234 int firstFullyVisiblePosition = RecyclerView.NO_POSITION;
236 int lastVisiblePosition = RecyclerView.NO_POSITION;
238 int lastFullyVisiblePosition = RecyclerView.NO_POSITION;
502 visibleChildren.firstFullyVisiblePosition == RecyclerView.NO_POSITION) {
512 visibleChildren.firstVisiblePosition == RecyclerView.NO_POSITION) {
BaseStaggeredGridLayoutManagerTest.java 285 firstFullyVisiblePositions[i] = RecyclerView.NO_POSITION;
286 firstVisiblePositions[i] = RecyclerView.NO_POSITION;
287 lastVisiblePositions[i] = RecyclerView.NO_POSITION;
288 lastFullyVisiblePositions[i] = RecyclerView.NO_POSITION;
679 == RecyclerView.NO_POSITION) {
689 visibleChildren.firstVisiblePositions[span] == RecyclerView.NO_POSITION) {
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
GridLayoutManager.java 33 import static android.support.v7.widget.RecyclerView.NO_POSITION;
440 private int mFocusPosition = NO_POSITION;
851 return NO_POSITION;
856 return NO_POSITION;
896 View view = mFocusPosition == NO_POSITION ? null : findViewByPosition(mFocusPosition);
906 mChildSelectedListener.onChildSelected(mBaseGridView, null, NO_POSITION, NO_ID);
908 fireOnChildViewHolderSelected(mBaseGridView, null, NO_POSITION, 0);
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
FocusManager.java 62 private int mLastFocusPosition = RecyclerView.NO_POSITION;
101 if (endPos != RecyclerView.NO_POSITION) {
128 if (mLastFocusPosition != RecyclerView.NO_POSITION) {
150 * @return The adapter position of the destination item. Could be RecyclerView.NO_POSITION.
214 return RecyclerView.NO_POSITION;
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallLogAdapter.java 117 private int mCurrentlyExpandedPosition = RecyclerView.NO_POSITION;
121 private int mHiddenPosition = RecyclerView.NO_POSITION;
176 mCurrentlyExpandedPosition = RecyclerView.NO_POSITION;
218 if (mCurrentlyExpandedPosition != RecyclerView.NO_POSITION) {
309 savedInstanceState.getInt(KEY_EXPANDED_POSITION, RecyclerView.NO_POSITION);
621 - (mHiddenPosition != RecyclerView.NO_POSITION ? 1 : 0);
642 + ((mHiddenPosition != RecyclerView.NO_POSITION && position >= mHiddenPosition)
687 mCurrentlyExpandedPosition = RecyclerView.NO_POSITION;
694 mCurrentlyExpandedPosition = RecyclerView.NO_POSITION;
695 mHiddenPosition = RecyclerView.NO_POSITION;
    [all...]
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
GridLayoutManagerActivity.java 124 if (pos == RecyclerView.NO_POSITION) {
BaseLayoutManagerActivity.java 92 if (pos != RecyclerView.NO_POSITION && pos + 1 < getItemCount()) {
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
MultiSelectManagerTest.java 84 click(RecyclerView.NO_POSITION);
115 tap(RecyclerView.NO_POSITION);
  /frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
LeanbackListPreferenceDialogFragment.java 158 if (index == RecyclerView.NO_POSITION) {
213 if (index == RecyclerView.NO_POSITION) {
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceGroupAdapter.java 328 return RecyclerView.NO_POSITION;
340 return RecyclerView.NO_POSITION;
PreferenceFragmentCompat.java 685 if (position != RecyclerView.NO_POSITION) {
725 if (position != RecyclerView.NO_POSITION) {
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsRecyclerView.java 177 if (position != NO_POSITION) {
355 if (position != 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;
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
SortedListActivity.java 123 if (adapterPosition == RecyclerView.NO_POSITION) {
  /packages/apps/PackageInstaller/src/android/support/wearable/view/
WearableListView.java     [all...]
  /frameworks/support/v14/preference/src/android/support/v14/preference/
PreferenceFragment.java 696 if (position != RecyclerView.NO_POSITION) {
736 if (position != RecyclerView.NO_POSITION) {
    [all...]
  /external/libxml2/
trio.c 377 NO_POSITION = -1,
1026 return NO_POSITION;
1262 positional = (NO_POSITION != currentParam);
    [all...]

Completed in 1064 milliseconds

1 2