/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListWithFirstScreenUnSelectableTest.java | 45 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); 50 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); 55 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition());
|
ListWithScreenOfNoSelectablesTest.java | 64 assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); 88 assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); 94 assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition());
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
AutoCompleteTextViewPopup.java | 56 waitAssertListSelection(textView, ListView.INVALID_POSITION); 88 waitAssertListSelection(textView, ListView.INVALID_POSITION); 115 waitAssertListSelection(textView, ListView.INVALID_POSITION); 128 waitAssertListSelection("setListSelection(ListView.INVALID_POSITION)", textView, 129 ListView.INVALID_POSITION); 148 waitAssertListSelection(textView, ListView.INVALID_POSITION); 242 int currentSelection = ListView.INVALID_POSITION;
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
TestListFragment.java | 30 private int mActivatedPosition = ListView.INVALID_POSITION; 86 if (mActivatedPosition != ListView.INVALID_POSITION) { 97 if (position == ListView.INVALID_POSITION) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
AdapterViewICS.java | 153 int mNextSelectedPosition = INVALID_POSITION; 164 int mSelectedPosition = INVALID_POSITION; 191 public static final int INVALID_POSITION = -1; 201 int mOldSelectedPosition = INVALID_POSITION; 548 * @return int Position (starting at 0), or {@link #INVALID_POSITION} if there is nothing selected. 600 * @return the position within the adapter's data set of the view, or {@link #INVALID_POSITION} 612 return INVALID_POSITION; 624 return INVALID_POSITION; 832 mSelectedPosition = INVALID_POSITION; 834 mNextSelectedPosition = INVALID_POSITION; [all...] |
AbsSpinnerICS.java | 90 mOldSelectedPosition = INVALID_POSITION; 101 int position = mItemCount > 0 ? 0 : INVALID_POSITION; 129 mOldSelectedPosition = INVALID_POSITION; 132 setSelectedPositionInt(INVALID_POSITION); 133 setNextSelectedPositionInt(INVALID_POSITION); 324 * {@link #INVALID_POSITION} if the point does not intersect an item. 343 return INVALID_POSITION; 401 ss.position = INVALID_POSITION;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListSetSelectionTest.java | 70 mListView.setSelection(ListView.INVALID_POSITION);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListWithEditTextHeaderTest.java | 56 assertEquals("something is selected", AbsListView.INVALID_POSITION, mListView.getSelectedItemPosition()); 65 assertEquals("something is selected", AbsListView.INVALID_POSITION, mListView.getSelectedItemPosition());
|
/frameworks/base/core/java/android/widget/ |
AdapterView.java | 151 int mNextSelectedPosition = INVALID_POSITION; 162 int mSelectedPosition = INVALID_POSITION; 189 public static final int INVALID_POSITION = -1; 199 int mOldSelectedPosition = INVALID_POSITION; 539 * @return int Position (starting at 0), or {@link #INVALID_POSITION} if there is nothing selected. 591 * @return the position within the adapter's data set of the view, or {@link #INVALID_POSITION} 603 return INVALID_POSITION; 615 return INVALID_POSITION; 830 mSelectedPosition = INVALID_POSITION; 832 mNextSelectedPosition = INVALID_POSITION; [all...] |
AbsSpinner.java | 109 mOldSelectedPosition = INVALID_POSITION; 120 int position = mItemCount > 0 ? 0 : INVALID_POSITION; 148 mOldSelectedPosition = INVALID_POSITION; 151 setSelectedPositionInt(INVALID_POSITION); 152 setNextSelectedPositionInt(INVALID_POSITION); 340 * {@link #INVALID_POSITION} if the point does not intersect an item. 359 return INVALID_POSITION; 417 ss.position = INVALID_POSITION;
|
ListView.java | 471 mOldSelectedPosition = INVALID_POSITION; 635 positionSelector(INVALID_POSITION, child); [all...] |
AbsListView.java | 306 int mSelectorPosition = INVALID_POSITION; 489 int mResurrectToPosition = INVALID_POSITION; 918 * {@link #INVALID_POSITION} if nothing is selected 927 return INVALID_POSITION; [all...] |
ExpandableListConnector.java | 535 if (newGPos == AdapterView.INVALID_POSITION) { 775 * {@link AdapterView#INVALID_POSITION} if it can't be found 782 return AdapterView.INVALID_POSITION; 787 return AdapterView.INVALID_POSITION; 817 return AdapterView.INVALID_POSITION; [all...] |
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
RecycleAccessibilityEventTest.java | 69 assertEquals(AccessibilityEvent.INVALID_POSITION, first.getCurrentItemIndex());
|
/frameworks/support/v4/java/android/support/v4/widget/ |
ListViewAutoScrollHelper.java | 39 if (firstPosition == ListView.INVALID_POSITION) {
|
/packages/apps/Browser/src/com/android/browser/ |
NavTabScroller.java | 42 static final int INVALID_POSITION = -1; 89 mGapPosition = INVALID_POSITION; 190 handleDataChanged(INVALID_POSITION); 205 if (mGapPosition > INVALID_POSITION){ 209 if (newscroll > INVALID_POSITION) { 287 int newpos = INVALID_POSITION; 352 mGapPosition = INVALID_POSITION; 362 if (mGapPosition != INVALID_POSITION) { 408 if (mGapPosition > INVALID_POSITION) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
IndexerListAdapter.java | 42 private int position = ListView.INVALID_POSITION; 48 position = ListView.INVALID_POSITION;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsSpinnerTest.java | 177 * 2. Should return INVALID_POSITION if the point does not intersect an item 182 assertEquals(AdapterView.INVALID_POSITION, absSpinner.pointToPosition(10, 10)); 199 assertEquals(AdapterView.INVALID_POSITION, absSpinner.pointToPosition(-1, -1)); 203 assertEquals(AdapterView.INVALID_POSITION,
|
AdapterViewTest.java | 309 assertEquals(AdapterView.INVALID_POSITION, mAdapterView.getPositionForView(null)); 316 assertEquals(AdapterView.INVALID_POSITION, 359 assertEquals(AdapterView.INVALID_POSITION, mAdapterView.getSelectedItemPosition());
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ListDialogPreference.java | 161 if (selectedPosition != AbsListView.INVALID_POSITION) { 171 * or {@link AbsListView#INVALID_POSITION} if not found 182 return AbsListView.INVALID_POSITION;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ListViewTest.java | 343 assertThat(listView.getPositionForView(new View(null)), equalTo(AdapterView.INVALID_POSITION)); 384 assertThat(listView.getCheckedItemPosition(), is(ListView.INVALID_POSITION)); 391 assertThat(listView.getCheckedItemPosition(), is(ListView.INVALID_POSITION)); 398 assertThat(listView.getCheckedItemPosition(), is(ListView.INVALID_POSITION)); 407 assertThat(listView.getCheckedItemPosition(), is(ListView.INVALID_POSITION));
|
/frameworks/base/core/java/com/android/internal/app/ |
ActionBarImpl.java | 89 private int mSavedTabPosition = INVALID_POSITION; 104 private static final int INVALID_POSITION = -1; 386 mSavedTabPosition = INVALID_POSITION; 558 mSavedTabPosition = tab != null ? tab.getPosition() : INVALID_POSITION; 571 mTabScrollView.setTabSelected(tab != null ? tab.getPosition() : Tab.INVALID_POSITION); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBarImplBase.java | 72 private int mSavedTabPosition = INVALID_POSITION; 87 private static final int INVALID_POSITION = -1; 370 if (mSavedTabPosition != INVALID_POSITION) { 372 mSavedTabPosition = INVALID_POSITION; 457 mSavedTabPosition = tab != null ? tab.getPosition() : INVALID_POSITION; 470 mTabScrollView.setTabSelected(tab != null ? tab.getPosition() : Tab.INVALID_POSITION); 944 mSavedTabPosition = INVALID_POSITION;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SwipeableListView.java | 325 int position = INVALID_POSITION; 330 position = INVALID_POSITION; 333 if (position == INVALID_POSITION) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowListView.java | 197 return ListView.INVALID_POSITION;
|