/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AutoCompleteTextViewPopup.java | 56 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/ |
D | AdapterView.java | 165 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 …]
|
D | MenuPopupWindow.java | 121 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()
|
D | AbsSpinner.java | 122 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()
|
D | DropDownListView.java | 135 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()
|
D | ListView.java | 572 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 …]
|
D | AbsListView.java | 329 int mSelectorPosition = INVALID_POSITION; 526 int mResurrectToPosition = INVALID_POSITION; 998 return INVALID_POSITION; in getCheckedItemPosition() 1840 ss.firstId = INVALID_POSITION; in onSaveInstanceState() 1862 ss.firstId = INVALID_POSITION; in onSaveInstanceState() 1917 setSelectedPositionInt(INVALID_POSITION); in onRestoreInstanceState() 1919 setNextSelectedPositionInt(INVALID_POSITION); in onRestoreInstanceState() 1920 mSelectorPosition = INVALID_POSITION; in onRestoreInstanceState() 2025 mOldSelectedPosition = INVALID_POSITION; in resetList() 2027 setSelectedPositionInt(INVALID_POSITION); in resetList() [all …]
|
D | ExpandableListConnector.java | 535 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()
|
D | GridView.java | 215 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()
|
D | ListPopupWindow.java | 724 mDropDownList.setSelection(ListView.INVALID_POSITION); in show() 886 return ListView.INVALID_POSITION;
|
D | SearchView.java | 1071 && mSearchSrcTextView.getListSelection() != ListView.INVALID_POSITION) { 1155 if (position != ListView.INVALID_POSITION) { in onSuggestionsKey()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListWithFirstScreenUnSelectableTest.java | 48 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()
|
D | ListWithScreenOfNoSelectablesTest.java | 66 … 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/ |
D | ListWithEditTextHeaderTest.java | 58 …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/ |
D | ListSetSelectionTest.java | 71 mListView.setSelection(ListView.INVALID_POSITION); in testClearSelection()
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | RecycleAccessibilityEventTest.java | 69 assertEquals(AccessibilityEvent.INVALID_POSITION, first.getCurrentItemIndex()); in testAccessibilityEventViewTextChangedType()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | WindowDecorActionBar.java | 93 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()
|
D | ResolverActivity.java | 122 private int mLastSelected = AbsListView.INVALID_POSITION; 1715 mLastSelected = ListView.INVALID_POSITION; 1879 setAlwaysButtonEnabled(false, ListView.INVALID_POSITION, false); 1884 if (useLayoutWithDefault() && filteredPosition != ListView.INVALID_POSITION) { 1895 && currentAdapterView.getCheckedItemPosition() != ListView.INVALID_POSITION) { 2088 final boolean hasValidSelection = checkedPos != ListView.INVALID_POSITION;
|
D | ResolverListAdapter.java | 140 return AbsListView.INVALID_POSITION; in getFilteredPosition()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | CascadingMenuPopup.java | 504 int ownerPosition = AbsListView.INVALID_POSITION; in findParentViewForSubmenu() 511 if (ownerPosition == AbsListView.INVALID_POSITION) { in findParentViewForSubmenu()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 1708 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/ |
D | ActionBar.java | 1165 public static final int INVALID_POSITION = -1; field in ActionBar.Tab
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityEvent.java | 407 public static final int INVALID_POSITION = -1; field in AccessibilityEvent
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 3264 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
|