/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemRequestRectAboveThinFirstItemTest.java | 59 assertEquals("selected position", 1, mListView.getSelectedItemPosition()); 80 while (mListView.getSelectedItemPosition() < secondToLastPos) { 84 mListView.getSelectedItemPosition());
|
ListBottomGravityManyTest.java | 47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
|
ListBottomGravityTest.java | 47 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListWithEditTextHeaderTest.java | 57 assertEquals("something is selected", AbsListView.INVALID_POSITION, mListView.getSelectedItemPosition()); 64 assertEquals("selected position", 1, mListView.getSelectedItemPosition()); 67 assertEquals("something is selected", AbsListView.INVALID_POSITION, mListView.getSelectedItemPosition());
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridPaddingTest.java | 47 assertEquals("The first item should be selected", mGridView.getSelectedItemPosition(), 0);
|
GridSingleColumnTest.java | 45 assertEquals(0, mGridView.getSelectedItemPosition());
|
GridStackFromBottomManyTest.java | 47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
GridStackFromBottomTest.java | 47 assertEquals(mGridView.getAdapter().getCount() - 1, mGridView.getSelectedItemPosition());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsSpinnerTest.java | 84 assertEquals(0, absSpinner.getSelectedItemPosition()); 87 assertEquals(1, absSpinner.getSelectedItemPosition()); 90 assertEquals(absSpinner.getCount() - 1, absSpinner.getSelectedItemPosition()); 107 assertEquals(0, absSpinner.getSelectedItemPosition()); 110 assertEquals(1, absSpinner.getSelectedItemPosition()); 113 assertEquals(absSpinner.getCount() - 1, absSpinner.getSelectedItemPosition()); 132 assertEquals(0, absSpinner.getSelectedItemPosition()); 135 assertEquals(1, absSpinner.getSelectedItemPosition()); 242 assertEquals(0, absSpinner.getSelectedItemPosition()); 247 assertEquals(1, absSpinner.getSelectedItemPosition()); [all...] |
/developers/build/prebuilts/gradle/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/ |
SampleTests.java | 93 int currentPosition = spinner2.getSelectedItemPosition(); 119 currentPosition = spinner3.getSelectedItemPosition();
|
/developers/samples/android/testing/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/ |
SampleTests.java | 93 int currentPosition = spinner2.getSelectedItemPosition(); 119 currentPosition = spinner3.getSelectedItemPosition();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListLastItemPartiallyVisibleTest.java | 50 assertEquals("selected position", 0, mListView.getSelectedItemPosition()); 71 mListView.getChildCount() - 1, mListView.getSelectedItemPosition());
|
ListOfThinItemsTest.java | 57 i, mListView.getSelectedItemPosition()); 87 numItems - 1, mListView.getSelectedItemPosition()); 95 expectedPostion, mListView.getSelectedItemPosition());
|
ListOfItemsTallerThanScreenTest.java | 77 assertEquals("selected position", 0, mListView.getSelectedItemPosition()); 120 1, mListView.getSelectedItemPosition()); 135 while (mListView.getSelectedItemPosition() < (numItems - 1)) { 153 assertEquals(numItems - 1, mListView.getSelectedItemPosition());
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
ScrollAdapterFragment.java | 71 public int getSelectedItemPosition() { 72 return mBase.getSelectedItemPosition();
|
BaseScrollAdapterFragment.java | 64 outState.putInt(STATE_SELECTION, getSelectedItemPosition()); 103 public int getSelectedItemPosition() { 104 return mScrollAdapterView.getSelectedItemPosition();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
ListSetSelectionTest.java | 62 mListView.getSelectedItemPosition()); 92 mListView.getSelectedItemPosition()); 130 mListView.getSelectedItemPosition());
|
ListTouchBottomGravityManyTest.java | 56 assertEquals(mListView.getAdapter().getCount() - 1, mListView.getSelectedItemPosition()); 67 mListView.getSelectedItemPosition()); 87 mListView.getSelectedItemPosition());
|
ListTouchManyTest.java | 55 assertEquals(0, mListView.getSelectedItemPosition()); 64 mListView.getSelectedItemPosition()); 82 mListView.getSelectedItemPosition());
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAbsSpinner.java | 34 int selectedItemPosition = getSelectedItemPosition();
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListWithFooterViewAndNewLabelsTest.java | 69 0, mListView.getSelectedItemPosition());
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SuggestionsView.java | 63 return getSelectedItemPosition();
|
/frameworks/base/core/java/android/app/ |
ListActivity.java | 282 public int getSelectedItemPosition() { 283 return mList.getSelectedItemPosition();
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
CustomHeaderViewPager.java | 88 public int getSelectedItemPosition() { 89 return mTabstrip.getSelectedItemPosition();
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SearchInvoke.java | 118 switch (mMenuMode.getSelectedItemPosition()) 147 switch (mMenuMode.getSelectedItemPosition()) { 193 if (mMenuMode.getSelectedItemPosition() == MENUMODE_DISABLED) {
|