/cts/tests/ApiDemosReferenceTest/src/android/apidemos/cts/ |
ApiDemosTest.java | 50 assert(a.getSelectedItemPosition() == 0); 53 assert(a.getSelectedItemPosition() == 0); 56 assert(a.getSelectedItemPosition() == 1); 59 assert(a.getSelectedItemPosition() == 1); 62 assert(a.getSelectedItemPosition() == 1); 79 assert(a.getSelectedItemPosition() == x + 1); 84 assert(a.getSelectedItemPosition() == numberOfActivities);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridStackFromBottomManyTest.java | 47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
GridStackFromBottomTest.java | 47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
GridSetSelectionBaseTest.java | 50 mGridView.getSelectedItemPosition()); 52 assertEquals(0, mGridView.getSelectedItemPosition()); 66 assertEquals(mGridView.getSelectedItemPosition(), target); 82 assertEquals(mGridView.getSelectedItemPosition(), target); 97 assertEquals(mGridView.getSelectedItemPosition(), 0);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListBottomGravityManyTest.java | 47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
|
ListBottomGravityTest.java | 47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
|
/frameworks/base/core/java/android/app/ |
ListActivity.java | 282 public int getSelectedItemPosition() { 283 return mList.getSelectedItemPosition();
|
ListFragment.java | 263 public int getSelectedItemPosition() { 265 return mList.getSelectedItemPosition();
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
GridTouchStackFromBottomManyTest.java | 50 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition()); 60 mGridView.getSelectedItemPosition()); 76 mGridView.getSelectedItemPosition());
|
GridTouchStackFromBottomTest.java | 49 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition()); 58 mGridView.getSelectedItemPosition()); 75 mGridView.getSelectedItemPosition()); 92 mGridView.getSelectedItemPosition()); 109 mGridView.getSelectedItemPosition());
|
GridTouchVerticalSpacingStackFromBottomTest.java | 56 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
ListTouchBottomGravityTest.java | 53 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition()); 66 mListView.getSelectedItemPosition()); 85 mListView.getSelectedItemPosition());
|
ListTouchBottomGravityManyTest.java | 56 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition()); 67 mListView.getSelectedItemPosition()); 87 mListView.getSelectedItemPosition());
|
/packages/apps/Browser/src/com/android/browser/ |
AutologinBar.java | 87 mAutoLoginAccount.getSelectedItemPosition(), this);
|
/packages/apps/Phone/src/com/android/phone/ |
FdnList.java | 77 boolean hasSelection = (getSelectedItemPosition() >= 0); 134 editSelected(getSelectedItemPosition()); 154 if (mCursor.moveToPosition(getSelectedItemPosition())) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
GridViewTest.java | 167 assertEquals(0, mGridView.getSelectedItemPosition()); 170 assertEquals(-1, mGridView.getSelectedItemPosition()); 173 assertEquals(mGridView.getCount(), mGridView.getSelectedItemPosition()); 216 assertEquals(0, mGridView.getSelectedItemPosition()); 219 assertEquals(1, mGridView.getSelectedItemPosition()); 223 assertEquals(0, mGridView.getSelectedItemPosition()); 225 assertEquals(0, mGridView.getSelectedItemPosition()); 227 assertEquals(1, mGridView.getSelectedItemPosition()); 230 assertEquals(0, mGridView.getSelectedItemPosition()); 233 assertEquals(NUM_COLUMNS, mGridView.getSelectedItemPosition()); [all...] |
AbsSpinnerTest.java | 123 assertEquals(0, absSpinner.getSelectedItemPosition()); 126 assertEquals(1, absSpinner.getSelectedItemPosition()); 129 assertEquals(absSpinner.getCount() - 1, absSpinner.getSelectedItemPosition()); 156 assertEquals(0, absSpinner.getSelectedItemPosition()); 159 assertEquals(1, absSpinner.getSelectedItemPosition()); 162 assertEquals(absSpinner.getCount() - 1, absSpinner.getSelectedItemPosition()); 197 assertEquals(0, absSpinner.getSelectedItemPosition()); 200 assertEquals(1, absSpinner.getSelectedItemPosition()); 342 assertEquals(0, absSpinner.getSelectedItemPosition()); 347 assertEquals(1, absSpinner.getSelectedItemPosition()); [all...] |
GalleryTest.java | 385 assertEquals(gallery.getSelectedItemPosition(), gallery.computeHorizontalScrollOffset()); 449 assertEquals(gallery.getSelectedItemPosition(),
|
/development/samples/Home/src/com/example/android/home/ |
Wallpaper.java | 112 selectWallpaper(mGallery.getSelectedItemPosition());
|
/frameworks/support/v4/java/android/support/v4/app/ |
ListFragment.java | 205 public int getSelectedItemPosition() { 207 return mList.getSelectedItemPosition();
|
/frameworks/base/core/java/android/widget/ |
AdapterView.java | 535 public int getSelectedItemPosition() { 560 int selection = getSelectedItemPosition(); 879 int selection = this.getSelectedItemPosition(); 931 event.setCurrentItemIndex(getSelectedItemPosition()); 981 newPos = getSelectedItemPosition(); [all...] |
Spinner.java | 503 int start = Math.max(0, getSelectedItemPosition()); 691 getSelectedItemPosition(), this).show(); 759 setSelection(Spinner.this.getSelectedItemPosition());
|
ListPopupWindow.java | 743 * @see ListView#getSelectedItemPosition() 745 public int getSelectedItemPosition() { 749 return mDropDownList.getSelectedItemPosition(); 815 && (mDropDownList.getSelectedItemPosition() >= 0 818 int curIndex = mDropDownList.getSelectedItemPosition(); 903 if (isShowing() && mDropDownList.getSelectedItemPosition() >= 0) { [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollingTabContainerView.java | 164 setTabSelected(mTabSpinner.getSelectedItemPosition());
|
/development/samples/training/multiscreen/newsreader/libs/ |
android-support-v4.jar | |