/cts/tests/tests/app/src/android/app/cts/ |
ListActivityTest.java | 77 method = "getSelectedItemPosition", 122 assertEquals(pos, mStubListActivity.getSelectedItemPosition()); 135 assertEquals(pos, mStubListActivity.getSelectedItemPosition()); 154 assertEquals(selectPos, mStubListActivity.getSelectedItemPosition());
|
/frameworks/base/core/java/android/widget/ |
AdapterView.java | 525 public int getSelectedItemPosition() { 550 int selection = getSelectedItemPosition(); 861 int selection = this.getSelectedItemPosition(); 894 event.setCurrentItemIndex(getSelectedItemPosition()); 934 newPos = getSelectedItemPosition(); [all...] |
AbsSpinner.java | 186 int selectedPosition = getSelectedItemPosition(); 412 ss.position = getSelectedItemPosition();
|
AutoCompleteTextView.java | 636 if (isPopupShowing() && mDropDownList.getSelectedItemPosition() >= 0) { 663 && (mDropDownList.getSelectedItemPosition() >= 0 666 int curIndex = mDropDownList.getSelectedItemPosition(); 874 * @see ListView#getSelectedItemPosition() 878 return mDropDownList.getSelectedItemPosition(); [all...] |
Spinner.java | 257 mPopup = builder.setSingleChoiceItems(adapter, getSelectedItemPosition(), this).show();
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GridViewTest.java | 168 assertEquals(0, mGridView.getSelectedItemPosition()); 171 assertEquals(-1, mGridView.getSelectedItemPosition()); 174 assertEquals(mGridView.getCount(), mGridView.getSelectedItemPosition()); 217 assertEquals(0, mGridView.getSelectedItemPosition()); 220 assertEquals(1, mGridView.getSelectedItemPosition()); 224 assertEquals(0, mGridView.getSelectedItemPosition()); 226 assertEquals(0, mGridView.getSelectedItemPosition()); 228 assertEquals(1, mGridView.getSelectedItemPosition()); 231 assertEquals(0, mGridView.getSelectedItemPosition()); 234 assertEquals(NUM_COLUMNS, mGridView.getSelectedItemPosition()); [all...] |
SpinnerTest.java | 144 assertEquals(10, spinner.getSelectedItemPosition()); 158 assertEquals(-10, spinner.getSelectedItemPosition());
|
AdapterViewTest.java | 544 method = "getSelectedItemPosition", 555 assertEquals(AdapterView.INVALID_POSITION, mAdapterView.getSelectedItemPosition()); 561 assertEquals(0, mAdapterView.getSelectedItemPosition()); 567 assertEquals(expectedId, mAdapterView.getSelectedItemPosition()); 574 assertEquals(1, mAdapterView.getSelectedItemPosition()); 580 assertEquals(1, mAdapterView.getSelectedItemPosition());
|
GalleryTest.java | 451 assertEquals(gallery.getSelectedItemPosition(), gallery.computeHorizontalScrollOffset()); 515 assertEquals(gallery.getSelectedItemPosition(),
|
/development/samples/Home/src/com/example/android/home/ |
Wallpaper.java | 112 selectWallpaper(mGallery.getSelectedItemPosition());
|
/development/samples/SpinnerTest/src/com/android/example/spinner/test/ |
SpinnerActivityTest.java | 209 mPos = mSpinner.getSelectedItemPosition();
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowEditActivity.java | 166 if (mList.getSelectedItemPosition() >= 0) { 167 mState.putInt(SLIDE_INDEX, mList.getSelectedItemPosition()); 225 int position = mList.getSelectedItemPosition(); 253 int position = mList.getSelectedItemPosition();
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MenuInflateFromXml.java | 119 inflater.inflate(sMenuExampleResources[mSpinner.getSelectedItemPosition()], menu);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListOfButtonsTest.java | 64 0, mListView.getSelectedItemPosition());
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
GridTouchVerticalSpacingStackFromBottomTest.java | 56 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
GridTouchVerticalSpacingTest.java | 51 assertEquals(0, mGridView.getSelectedItemPosition());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListFocusableTest.java | 47 assertEquals(0, mListView.getSelectedItemPosition());
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
FileList.java | 55 Map map = (Map) getListView().getItemAtPosition(getListView().getSelectedItemPosition());
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CorpusSelectionDialog.java | 131 int selectedRow = mCorpusGrid.getSelectedItemPosition() / NUM_COLUMNS;
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiDialog.java | 146 config.phase2.setValue((mPhase2.getSelectedItemPosition() == 0) ? "" : 148 config.ca_cert.setValue((mEapCaCert.getSelectedItemPosition() == 0) ? "" : 151 config.client_cert.setValue((mEapUserCert.getSelectedItemPosition() == 0) ? "" : 154 config.private_key.setValue((mEapUserCert.getSelectedItemPosition() == 0) ? "" :
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 176 mContactPhoneTypeSpinner.getSelectedItemPosition()); 178 mContactEmailTypeSpinner.getSelectedItemPosition());;
|
/development/apps/Development/src/com/android/development/ |
PackageBrowser.java | 139 final int curSelection = getSelectedItemPosition();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
WallpaperChooser.java | 197 selectWallpaper(mGallery.getSelectedItemPosition());
|
/packages/apps/Stk/src/com/android/stk/ |
StkMenuActivity.java | 225 int position = getSelectedItemPosition();
|
/development/samples/RSSReader/src/com/example/android/rssreader/ |
RssReader.java | 423 outState.putInt(SELECTION_KEY, Integer.valueOf(getListView().getSelectedItemPosition()));
|