/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 | 66 assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); 90 assertEquals("selected position", ListView.INVALID_POSITION, mListView.getSelectedItemPosition()); 96 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;
|
/frameworks/base/core/java/android/widget/ |
AdapterView.java | 145 int mNextSelectedPosition = INVALID_POSITION; 156 int mSelectedPosition = INVALID_POSITION; 183 public static final int INVALID_POSITION = -1; 193 int mOldSelectedPosition = INVALID_POSITION; 522 * @return int Position (starting at 0), or {@link #INVALID_POSITION} if there is nothing selected. 574 * @return the position within the adapter's data set of the view, or {@link #INVALID_POSITION} 586 return INVALID_POSITION; 598 return INVALID_POSITION; 806 mSelectedPosition = INVALID_POSITION; 808 mNextSelectedPosition = INVALID_POSITION; [all...] |
AbsSpinner.java | 108 mOldSelectedPosition = INVALID_POSITION; 119 int position = mItemCount > 0 ? 0 : INVALID_POSITION; 147 mOldSelectedPosition = INVALID_POSITION; 150 setSelectedPositionInt(INVALID_POSITION); 151 setNextSelectedPositionInt(INVALID_POSITION); 337 * {@link #INVALID_POSITION} if the point does not intersect an item. 356 return INVALID_POSITION; 414 ss.position = INVALID_POSITION;
|
AbsListView.java | 367 int mResurrectToPosition = INVALID_POSITION; 878 ss.firstId = INVALID_POSITION; 888 ss.firstId = INVALID_POSITION; 923 setSelectedPositionInt(INVALID_POSITION); 925 setNextSelectedPositionInt(INVALID_POSITION); 1005 mOldSelectedPosition = INVALID_POSITION; 1007 setSelectedPositionInt(INVALID_POSITION); 1008 setNextSelectedPositionInt(INVALID_POSITION); [all...] |
ListView.java | 431 mOldSelectedPosition = INVALID_POSITION; [all...] |
ExpandableListConnector.java | 533 if (newGPos == AdapterView.INVALID_POSITION) { 769 * {@link AdapterView#INVALID_POSITION} if it can't be found 776 return AdapterView.INVALID_POSITION; 781 return AdapterView.INVALID_POSITION; 811 return AdapterView.INVALID_POSITION; 845 return AdapterView.INVALID_POSITION; [all...] |
GridView.java | 123 mOldSelectedPosition = INVALID_POSITION; 159 return INVALID_POSITION; 163 return INVALID_POSITION; 435 return INVALID_POSITION; [all...] |
AutoCompleteTextView.java | 868 * {@link ListView#INVALID_POSITION ListView.INVALID_POSITION} if there is no dropdown or if 872 * {@link ListView#INVALID_POSITION ListView.INVALID_POSITION} if not. 880 return ListView.INVALID_POSITION [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListWithEditTextHeaderTest.java | 55 assertEquals("something is selected", AbsListView.INVALID_POSITION, mListView.getSelectedItemPosition()); 64 assertEquals("something is selected", AbsListView.INVALID_POSITION, mListView.getSelectedItemPosition());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListSetSelectionTest.java | 70 mListView.setSelection(ListView.INVALID_POSITION);
|
/packages/apps/Email/src/com/android/exchange/provider/ |
GalEmailAddressAdapter.java | 169 mergedResultCursor.setSeparatorPosition(ListView.INVALID_POSITION); 210 return ListView.INVALID_POSITION; 286 if (getSeparatorPosition() != ListView.INVALID_POSITION) { 298 if (separatorPosition == ListView.INVALID_POSITION) { 342 mSeparatorPosition = ListView.INVALID_POSITION;
|
/packages/apps/Camera/src/com/android/camera/ui/ |
ZoomController.java | 37 private static final int INVALID_POSITION = Integer.MAX_VALUE; 69 private int mSliderPosition = INVALID_POSITION; 147 if (mSliderPosition != INVALID_POSITION) { 152 if (mSliderPosition != INVALID_POSITION) { 154 mSliderPosition = INVALID_POSITION; 266 if (mSliderPosition == INVALID_POSITION) {
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
RecycleAccessibilityEventTest.java | 70 assertEquals(AccessibilityEvent.INVALID_POSITION, first.getCurrentItemIndex());
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityEvent.java | 155 public static final int INVALID_POSITION = -1; 254 mCurrentItemIndex = INVALID_POSITION; 615 mCurrentItemIndex = INVALID_POSITION;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SuggestionsView.java | 110 if (position != INVALID_POSITION) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsSpinnerTest.java | 260 * 2. Should return INVALID_POSITION if the point does not intersect an item 265 assertEquals(AdapterView.INVALID_POSITION, absSpinner.pointToPosition(10, 10)); 282 assertEquals(AdapterView.INVALID_POSITION, absSpinner.pointToPosition(-1, -1)); 286 assertEquals(AdapterView.INVALID_POSITION,
|
AdapterViewTest.java | 466 assertEquals(AdapterView.INVALID_POSITION, mAdapterView.getPositionForView(null)); 473 assertEquals(AdapterView.INVALID_POSITION, 555 assertEquals(AdapterView.INVALID_POSITION, mAdapterView.getSelectedItemPosition());
|
ListViewTest.java | 321 assertEquals(ListView.INVALID_POSITION, mListView.getCheckedItemPosition()); 348 assertEquals(ListView.INVALID_POSITION, mListView.getCheckedItemPosition()); 356 assertEquals(ListView.INVALID_POSITION, mListView.getCheckedItemPosition()); [all...] |
/packages/apps/Music/src/com/android/music/ |
TouchInterceptor.java | 108 if (itemnum == AdapterView.INVALID_POSITION) { 163 return INVALID_POSITION; 317 if (ref == AdapterView.INVALID_POSITION) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
AgendaListView.java | 161 if (position != INVALID_POSITION) {
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageGallery.java | 73 private static final float INVALID_POSITION = -1f; 99 private float mScrollPosition = INVALID_POSITION; 421 STATE_SCROLL_POSITION, INVALID_POSITION); 752 if (mScrollPosition == INVALID_POSITION) { [all...] |
/development/apps/Development/src/com/android/development/ |
SyncAdapterDriver.java | 332 if (position == AdapterView.INVALID_POSITION) {
|
/packages/apps/Email/src/com/android/email/activity/ |
AccountFolderList.java | [all...] |