Home
last modified time | relevance | path

Searched refs:INVALID_POSITION (Results 1 – 25 of 25) 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/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()
1101 mSelectedPosition = INVALID_POSITION; in handleDataChanged()
1103 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()
372 return INVALID_POSITION; in pointToPosition()
438 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.java572 mOldSelectedPosition = INVALID_POSITION; in setAdapter()
736 positionSelector(INVALID_POSITION, child); in requestChildRectangleOnScreen()
1475 return INVALID_POSITION; in findMotionRow()
1724 int accessibilityFocusPosition = INVALID_POSITION; in layoutChildren()
1880 positionSelector(INVALID_POSITION, sel); in layoutChildren()
1886 positionSelector(INVALID_POSITION, sel); in layoutChildren()
1898 } else if (mSelectorPosition != INVALID_POSITION) { in layoutChildren()
1935 } else if (accessibilityFocusPosition != INVALID_POSITION) { in layoutChildren()
2252 return INVALID_POSITION; in lookForSelectablePosition()
2271 return INVALID_POSITION; in lookForSelectablePosition()
[all …]
DAbsListView.java329 int mSelectorPosition = INVALID_POSITION;
526 int mResurrectToPosition = INVALID_POSITION;
1001 return INVALID_POSITION; in getCheckedItemPosition()
1858 ss.firstId = INVALID_POSITION; in onSaveInstanceState()
1880 ss.firstId = INVALID_POSITION; in onSaveInstanceState()
1935 setSelectedPositionInt(INVALID_POSITION); in onRestoreInstanceState()
1937 setNextSelectedPositionInt(INVALID_POSITION); in onRestoreInstanceState()
1938 mSelectorPosition = INVALID_POSITION; in onRestoreInstanceState()
2043 mOldSelectedPosition = INVALID_POSITION; in resetList()
2045 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.java215 mOldSelectedPosition = INVALID_POSITION; in setAdapter()
254 return INVALID_POSITION; in lookForSelectablePosition()
258 return INVALID_POSITION; in lookForSelectablePosition()
559 return INVALID_POSITION; in findMotionRow()
1250 int accessibilityFocusPosition = INVALID_POSITION; in layoutChildren()
1324 INVALID_POSITION : 0); in layoutChildren()
1329 INVALID_POSITION : last); in layoutChildren()
1350 positionSelector(INVALID_POSITION, sel); in layoutChildren()
1361 } else if (mSelectedPosition != INVALID_POSITION) { in layoutChildren()
1392 } else if (accessibilityFocusPosition != INVALID_POSITION) { in layoutChildren()
DListPopupWindow.java717 mDropDownList.setSelection(ListView.INVALID_POSITION); in show()
870 return ListView.INVALID_POSITION;
DSearchView.java1071 && mSearchSrcTextView.getListSelection() != ListView.INVALID_POSITION) {
1154 if (position != ListView.INVALID_POSITION) { in onSuggestionsKey()
/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/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.java93 private int mSavedTabPosition = INVALID_POSITION;
108 private static final int INVALID_POSITION = -1; field in WindowDecorActionBar
435 mSavedTabPosition = INVALID_POSITION; in cleanupTabs()
615 mSavedTabPosition = tab != null ? tab.getPosition() : INVALID_POSITION; in selectTab()
628 mTabScrollView.setTabSelected(tab != null ? tab.getPosition() : Tab.INVALID_POSITION); in selectTab()
1339 if (mSavedTabPosition != INVALID_POSITION) { in setNavigationMode()
1341 mSavedTabPosition = INVALID_POSITION; in setNavigationMode()
DResolverActivity.java119 private int mLastSelected = AbsListView.INVALID_POSITION;
1389 && mAdapter.getFilteredPosition() != ListView.INVALID_POSITION) {
1397 && mAdapterView.getCheckedItemPosition() != ListView.INVALID_POSITION) {
1718 return AbsListView.INVALID_POSITION;
2217 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION;
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DRecycleAccessibilityEventTest.java69 assertEquals(AccessibilityEvent.INVALID_POSITION, first.getCurrentItemIndex()); in testAccessibilityEventViewTextChangedType()
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java504 int ownerPosition = AbsListView.INVALID_POSITION; in findParentViewForSubmenu()
511 if (ownerPosition == AbsListView.INVALID_POSITION) { in findParentViewForSubmenu()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1708 int oldMediaSizeNewIndex = AdapterView.INVALID_POSITION; in updateOptionsUi()
1724 if (oldMediaSizeNewIndex != AdapterView.INVALID_POSITION) { in updateOptionsUi()
1773 int oldColorModeNewIndex = AdapterView.INVALID_POSITION; in updateOptionsUi()
1791 if (oldColorModeNewIndex != AdapterView.INVALID_POSITION) { in updateOptionsUi()
1839 int oldDuplexModeNewIndex = AdapterView.INVALID_POSITION; in updateOptionsUi()
1858 if (oldDuplexModeNewIndex != AdapterView.INVALID_POSITION) { in updateOptionsUi()
2344 return AdapterView.INVALID_POSITION; in getPrinterIndex()
2759 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.java402 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/non-updatable-api/
Dcurrent.txt3651 field @Deprecated public static final int INVALID_POSITION = -1; // 0xffffffff
53344 field public static final int INVALID_POSITION = -1; // 0xffffffff
56376 field public static final int INVALID_POSITION = -1; // 0xffffffff
/frameworks/base/api/
Dcurrent.txt3651 field @Deprecated public static final int INVALID_POSITION = -1; // 0xffffffff
53488 field public static final int INVALID_POSITION = -1; // 0xffffffff
56520 field public static final int INVALID_POSITION = -1; // 0xffffffff