Home
last modified time | relevance | path

Searched refs:selectedItem (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/widget/
DMenuPopupWindow.java127 ListMenuItemView selectedItem = (ListMenuItemView) getSelectedView(); in onKeyDown() local
128 if (selectedItem != null && keyCode == mAdvanceKey) { in onKeyDown()
129 if (selectedItem.isEnabled() && selectedItem.getItemData().hasSubMenu()) { in onKeyDown()
131 selectedItem, in onKeyDown()
136 } else if (selectedItem != null && keyCode == mRetreatKey) { in onKeyDown()
DAutoCompleteTextView.java979 protected CharSequence convertSelectionToString(Object selectedItem) { in convertSelectionToString() argument
980 return mFilter.convertResultToString(selectedItem); in convertSelectionToString()
1047 Object selectedItem; in performCompletion() local
1049 selectedItem = mPopup.getSelectedItem(); in performCompletion()
1051 selectedItem = mAdapter.getItem(position); in performCompletion()
1053 if (selectedItem == null) { in performCompletion()
1059 replaceText(convertSelectionToString(selectedItem)); in performCompletion()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListItemFocusablesCloseTest.java95 final LinearLayout selectedItem = (LinearLayout) mListView.getSelectedView(); in testMoveDownToButtonInDifferentSelection() local
97 selectedItem.getChildAt(0).isFocused()); in testMoveDownToButtonInDifferentSelection()
/frameworks/base/core/java/android/preference/
DPreferenceFragment.java450 Object selectedItem = mList.getSelectedItem();
451 if (selectedItem instanceof Preference) {
453 return ((Preference)selectedItem).onKey(
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DManualActivity.java170 public void onItemSelected(AdapterView<?> parentView, View selectedItem, in DisplayModifierSpinner()