HomeSort by relevance Sort by last modified time
    Searched refs:getSelectedItemPosition (Results 26 - 50 of 93) sorted by null

12 3 4

  /frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
ListItemsExpandOnSelectionTest.java 50 assertEquals(0, mListView.getSelectedItemPosition());
60 assertEquals(1, mListView.getSelectedItemPosition());
70 assertEquals(1, mListView.getSelectedItemPosition());
90 assertEquals("list position", lastItemIndex, mListView.getSelectedItemPosition());
112 assertEquals("list position", 1, mListView.getSelectedItemPosition());
ListLastItemPartiallyVisibleTest.java 50 assertEquals("selected position", 0, mListView.getSelectedItemPosition());
71 mListView.getChildCount() - 1, mListView.getSelectedItemPosition());
ListOfThinItemsTest.java 55 i, mListView.getSelectedItemPosition());
85 numItems - 1, mListView.getSelectedItemPosition());
93 expectedPostion, mListView.getSelectedItemPosition());
ListOfItemsTallerThanScreenTest.java 77 assertEquals("selected position", 0, mListView.getSelectedItemPosition());
119 1, mListView.getSelectedItemPosition());
134 while (mListView.getSelectedItemPosition() < (numItems - 1)) {
152 assertEquals(numItems - 1, mListView.getSelectedItemPosition());
ListOfShortShortTallShortShortTest.java 62 assertEquals("selected item position", 2, mListView.getSelectedItemPosition());
104 assertEquals("selected item position", 2, mListView.getSelectedItemPosition());
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
ScrollingThroughListOfFocusablesTest.java 75 assertEquals(0, mListView.getSelectedItemPosition());
88 assertEquals(0, mListView.getSelectedItemPosition());
122 1, mListView.getSelectedItemPosition());
138 assertEquals(mNumItems - 1, mListView.getSelectedItemPosition());
166 assertEquals(1, mListView.getSelectedItemPosition());
173 assertEquals(1, mListView.getSelectedItemPosition());
187 assertEquals(1, mListView.getSelectedItemPosition());
ListWithFooterViewAndNewLabelsTest.java 69 0, mListView.getSelectedItemPosition());
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListItemRequestRectAboveThinFirstItemTest.java 57 assertEquals("selected position", 1, mListView.getSelectedItemPosition());
78 while (mListView.getSelectedItemPosition() < secondToLastPos) {
82 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/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());
GridDelete.java 58 ((DeleteAdapter)g.getAdapter()).deletePosition(g.getSelectedItemPosition());
  /packages/apps/Calendar/src/com/android/calendar/
AgendaListView.java 94 int position = getSelectedItemPosition();
133 int position = getSelectedItemPosition();
160 int position = getSelectedItemPosition();
191 Log.v(TAG, "Shifting: Looking at header here. " + getSelectedItemPosition());
194 } else if (getSelectedItemPosition() >= 0) {
196 Log.v(TAG, "Shifting selection from " + getSelectedItemPosition() + " by " + offset);
198 setSelection(getSelectedItemPosition() + offset);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
ListSetSelectionTest.java 60 mListView.getSelectedItemPosition());
90 mListView.getSelectedItemPosition());
128 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());
  /packages/apps/Phone/src/com/android/phone/
FdnList.java 65 boolean hasSelection = (getSelectedItemPosition() >= 0);
114 editSelected(getSelectedItemPosition());
134 if (mCursor.moveToPosition(getSelectedItemPosition())) {
  /cts/tests/tests/widget/src/android/widget/cts/
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...]
  /frameworks/base/core/java/android/app/
ListActivity.java 284 public int getSelectedItemPosition() {
285 return mList.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) {
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SuggestionsView.java 74 return getSelectedItemPosition();
99 + ", selected=" + getSelectedItemPosition());
  /frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
GridTouchSetSelectionTest.java 60 mGridView.getSelectedItemPosition());

Completed in 3067 milliseconds

12 3 4