Home
last modified time | relevance | path

Searched refs:INVALID_POSITION (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewPopup.java56 waitAssertListSelection(textView, ListView.INVALID_POSITION); in testPopupSetListSelection()
88 waitAssertListSelection(textView, ListView.INVALID_POSITION); in testPopupGetListSelection()
115 waitAssertListSelection(textView, ListView.INVALID_POSITION); in testPopupClearListSelection()
129 ListView.INVALID_POSITION); in testPopupClearListSelection()
148 waitAssertListSelection(textView, ListView.INVALID_POSITION); in testPopupNavigateNoAdapter()
242 int currentSelection = ListView.INVALID_POSITION; in waitAssertListSelection()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithFirstScreenUnSelectableTest.java48 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testPreconditions()
53 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testRessurectSelection()
58 assertEquals(AdapterView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testScrollUpDoesNothing()
DListWithScreenOfNoSelectablesTest.java66 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromSelectedViewExistsToNoSelectedViewExists()
91 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromNoSelectionToSelectionExists()
97 … assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); in testGoFromNoSelectionToSelectionExists()
/frameworks/base/core/java/android/widget/
DAdapterView.java165 int mNextSelectedPosition = INVALID_POSITION;
178 int mSelectedPosition = INVALID_POSITION;
205 public static final int INVALID_POSITION = -1; field in AdapterView
216 int mOldSelectedPosition = INVALID_POSITION;
647 return INVALID_POSITION; in getPositionForView()
661 return INVALID_POSITION; in getPositionForView()
876 mSelectedPosition = INVALID_POSITION; in onInvalidated()
878 mNextSelectedPosition = INVALID_POSITION; in onInvalidated()
1102 mSelectedPosition = INVALID_POSITION; in handleDataChanged()
1104 mNextSelectedPosition = INVALID_POSITION; in handleDataChanged()
[all …]
DMenuPopupWindow.java121 setSelectedPositionInt(INVALID_POSITION); in clearSelection()
122 setNextSelectedPositionInt(INVALID_POSITION); in clearSelection()
137 setSelectedPositionInt(INVALID_POSITION); in onKeyDown()
138 setNextSelectedPositionInt(INVALID_POSITION); in onKeyDown()
168 if (position != INVALID_POSITION) { in onHoverEvent()
DAbsSpinner.java122 mOldSelectedPosition = INVALID_POSITION; in setAdapter()
133 int position = mItemCount > 0 ? 0 : INVALID_POSITION; in setAdapter()
161 mOldSelectedPosition = INVALID_POSITION; in resetList()
164 setSelectedPositionInt(INVALID_POSITION); in resetList()
165 setNextSelectedPositionInt(INVALID_POSITION); in resetList()
373 return INVALID_POSITION; in pointToPosition()
439 ss.position = INVALID_POSITION; in onSaveInstanceState()
DDropDownListView.java135 if (position != INVALID_POSITION && position != mSelectedPosition) { in onHoverEvent()
152 setSelectedPositionInt(INVALID_POSITION); in onHoverEvent()
153 setNextSelectedPositionInt(INVALID_POSITION); in onHoverEvent()
195 if (position == INVALID_POSITION) { in onForwardedEvent()
DListView.java570 mOldSelectedPosition = INVALID_POSITION; in setAdapter()
734 positionSelector(INVALID_POSITION, child); in requestChildRectangleOnScreen()
1473 return INVALID_POSITION; in findMotionRow()
1722 int accessibilityFocusPosition = INVALID_POSITION; in layoutChildren()
1878 positionSelector(INVALID_POSITION, sel); in layoutChildren()
1884 positionSelector(INVALID_POSITION, sel); in layoutChildren()
1896 } else if (mSelectorPosition != INVALID_POSITION) { in layoutChildren()
1933 } else if (accessibilityFocusPosition != INVALID_POSITION) { in layoutChildren()
2250 return INVALID_POSITION; in lookForSelectablePosition()
2269 return INVALID_POSITION; in lookForSelectablePosition()
[all …]
DAbsListView.java349 int mSelectorPosition = INVALID_POSITION;
546 int mResurrectToPosition = INVALID_POSITION;
1084 return INVALID_POSITION; in getCheckedItemPosition()
1927 ss.firstId = INVALID_POSITION; in onSaveInstanceState()
1949 ss.firstId = INVALID_POSITION; in onSaveInstanceState()
2004 setSelectedPositionInt(INVALID_POSITION); in onRestoreInstanceState()
2006 setNextSelectedPositionInt(INVALID_POSITION); in onRestoreInstanceState()
2007 mSelectorPosition = INVALID_POSITION; in onRestoreInstanceState()
2112 mOldSelectedPosition = INVALID_POSITION; in resetList()
2114 setSelectedPositionInt(INVALID_POSITION); in resetList()
[all …]
DExpandableListConnector.java535 if (newGPos == AdapterView.INVALID_POSITION) { in refreshExpGroupMetadataList()
782 return AdapterView.INVALID_POSITION; in findGroupPosition()
787 return AdapterView.INVALID_POSITION; in findGroupPosition()
817 return AdapterView.INVALID_POSITION; in findGroupPosition()
851 return AdapterView.INVALID_POSITION; in findGroupPosition()
DGridView.java216 mOldSelectedPosition = INVALID_POSITION; in setAdapter()
255 return INVALID_POSITION; in lookForSelectablePosition()
259 return INVALID_POSITION; in lookForSelectablePosition()
560 return INVALID_POSITION; in findMotionRow()
1251 int accessibilityFocusPosition = INVALID_POSITION; in layoutChildren()
1325 INVALID_POSITION : 0); in layoutChildren()
1330 INVALID_POSITION : last); in layoutChildren()
1351 positionSelector(INVALID_POSITION, sel); in layoutChildren()
1362 } else if (mSelectedPosition != INVALID_POSITION) { in layoutChildren()
1393 } else if (accessibilityFocusPosition != INVALID_POSITION) { in layoutChildren()
DListPopupWindow.java724 mDropDownList.setSelection(ListView.INVALID_POSITION); in show()
886 return ListView.INVALID_POSITION;
DSearchView.java1078 && mSearchSrcTextView.getListSelection() != ListView.INVALID_POSITION) {
1162 if (position != ListView.INVALID_POSITION) { in onSuggestionsKey()
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListWithEditTextHeaderTest.java58 …assertEquals("something is selected", AbsListView.INVALID_POSITION, mListView.getSelectedItemPosit… in testClickingHeaderKeepsFocus()
68 …assertEquals("something is selected", AbsListView.INVALID_POSITION, mListView.getSelectedItemPosit… in testClickingHeaderWhenOtherItemHasFocusGivesHeaderFocus()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListSetSelectionTest.java71 mListView.setSelection(ListView.INVALID_POSITION); in testClearSelection()
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java94 private int mSavedTabPosition = INVALID_POSITION;
109 private static final int INVALID_POSITION = -1; field in WindowDecorActionBar
436 mSavedTabPosition = INVALID_POSITION; in cleanupTabs()
616 mSavedTabPosition = tab != null ? tab.getPosition() : INVALID_POSITION; in selectTab()
629 mTabScrollView.setTabSelected(tab != null ? tab.getPosition() : Tab.INVALID_POSITION); in selectTab()
1340 if (mSavedTabPosition != INVALID_POSITION) { in setNavigationMode()
1342 mSavedTabPosition = INVALID_POSITION; in setNavigationMode()
DResolverActivity.java160 private int mLastSelected = AbsListView.INVALID_POSITION;
2188 mLastSelected = ListView.INVALID_POSITION;
2348 setAlwaysButtonEnabled(false, ListView.INVALID_POSITION, false);
2353 if (useLayoutWithDefault() && filteredPosition != ListView.INVALID_POSITION) {
2364 && currentAdapterView.getCheckedItemPosition() != ListView.INVALID_POSITION) {
2566 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION;
DResolverListAdapter.java153 return AbsListView.INVALID_POSITION; in getFilteredPosition()
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java510 int ownerPosition = AbsListView.INVALID_POSITION; in findParentViewForSubmenu()
517 if (ownerPosition == AbsListView.INVALID_POSITION) { in findParentViewForSubmenu()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1710 int oldMediaSizeNewIndex = AdapterView.INVALID_POSITION; in updateOptionsUi()
1726 if (oldMediaSizeNewIndex != AdapterView.INVALID_POSITION) { in updateOptionsUi()
1775 int oldColorModeNewIndex = AdapterView.INVALID_POSITION; in updateOptionsUi()
1793 if (oldColorModeNewIndex != AdapterView.INVALID_POSITION) { in updateOptionsUi()
1841 int oldDuplexModeNewIndex = AdapterView.INVALID_POSITION; in updateOptionsUi()
1860 if (oldDuplexModeNewIndex != AdapterView.INVALID_POSITION) { in updateOptionsUi()
2346 return AdapterView.INVALID_POSITION; in getPrinterIndex()
2761 if (position == AdapterView.INVALID_POSITION) { in onItemSelected()
/frameworks/base/core/java/android/app/
DActionBar.java1165 public static final int INVALID_POSITION = -1; field in ActionBar.Tab
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java444 public static final int INVALID_POSITION = -1; field in AccessibilityEvent
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3264 field public static final int INVALID_POSITION = -1; // 0xffffffff
34837 field public static final int INVALID_POSITION = -1; // 0xffffffff
36834 field public static final int INVALID_POSITION = -1; // 0xffffffff
/frameworks/base/core/api/
Dcurrent.txt4388 field @Deprecated public static final int INVALID_POSITION = -1; // 0xffffffff
54744 field public static final int INVALID_POSITION = -1; // 0xffffffff
58653 field public static final int INVALID_POSITION = -1; // 0xffffffff