[go: nahoru, domu]

Searched refs:selectedItem (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DMenuPopupWindow.java127 ListMenuItemView selectedItem = (ListMenuItemView) getSelectedView();
128 if (selectedItem != null && keyCode == mAdvanceKey) {
129 if (selectedItem.isEnabled() && selectedItem.getItemData().hasSubMenu()) {
131 selectedItem,
136 } else if (selectedItem != null && keyCode == mRetreatKey) {
H A DAutoCompleteTextView.java920 * @param selectedItem the item selected by the user for completion
924 protected CharSequence convertSelectionToString(Object selectedItem) { argument
925 return mFilter.convertResultToString(selectedItem);
992 Object selectedItem;
994 selectedItem = mPopup.getSelectedItem();
996 selectedItem = mAdapter.getItem(position);
998 if (selectedItem == null) {
1004 replaceText(convertSelectionToString(selectedItem));
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DMenuPopupWindow.java159 ListMenuItemView selectedItem = (ListMenuItemView) getSelectedView();
160 if (selectedItem != null && keyCode == mAdvanceKey) {
161 if (selectedItem.isEnabled() && selectedItem.getItemData().hasSubMenu()) {
163 selectedItem,
168 } else if (selectedItem != null && keyCode == mRetreatKey) {
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseKeyboardShortcutsTestCase.java62 MenuItem selectedItem = getActivity().getOptionsItemSelected();
63 assertNotNull("Options item selected", selectedItem);
64 assertEquals("Correct options item selected", selectedItem.getItemId(), expectedId);
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListItemFocusablesCloseTest.java94 final LinearLayout selectedItem = (LinearLayout) mListView.getSelectedView();
96 selectedItem.getChildAt(0).isFocused());
/frameworks/base/core/java/android/preference/
H A DPreferenceFragment.java438 Object selectedItem = mList.getSelectedItem();
439 if (selectedItem instanceof Preference) {
441 return ((Preference)selectedItem).onKey(
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DManualActivity.java170 public void onItemSelected(AdapterView<?> parentView, View selectedItem,

Completed in 489 milliseconds