Searched refs:selectedItem (Results 1 – 8 of 8) sorted by relevance
100 final TextView selectedItem = findViewById(R.id.selected_item); in onCreate() local107 selectedItem.setText("Entering searching mode"); in onCreate()110 selectedItem.setText("Entering settings!?!"); in onCreate()113 selectedItem.setText("Play some music"); in onCreate()116 selectedItem.setText("Selected " + item.getTitle()); in onCreate()125 selectedItem.setText("Reselected " + item.getTitle()); in onCreate()
127 ListMenuItemView selectedItem = (ListMenuItemView) getSelectedView(); in onKeyDown() local128 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()
926 protected CharSequence convertSelectionToString(Object selectedItem) { in convertSelectionToString() argument927 return mFilter.convertResultToString(selectedItem); in convertSelectionToString()994 Object selectedItem; in performCompletion() local996 selectedItem = mPopup.getSelectedItem(); in performCompletion()998 selectedItem = mAdapter.getItem(position); in performCompletion()1000 if (selectedItem == null) { in performCompletion()1006 replaceText(convertSelectionToString(selectedItem)); in performCompletion()
161 ListMenuItemView selectedItem = (ListMenuItemView) getSelectedView(); in onKeyDown() local162 if (selectedItem != null && keyCode == mAdvanceKey) { in onKeyDown()163 if (selectedItem.isEnabled() && selectedItem.getItemData().hasSubMenu()) { in onKeyDown()165 selectedItem, in onKeyDown()170 } else if (selectedItem != null && keyCode == mRetreatKey) { in onKeyDown()
59 MenuItem selectedItem = getActivity().getOptionsItemSelected(); in testKeyboardShortcut() local60 assertNotNull("Options item selected", selectedItem); in testKeyboardShortcut()61 assertEquals("Correct options item selected", selectedItem.getItemId(), expectedId); in testKeyboardShortcut()
94 final LinearLayout selectedItem = (LinearLayout) mListView.getSelectedView(); in testMoveDownToButtonInDifferentSelection() local96 selectedItem.getChildAt(0).isFocused()); in testMoveDownToButtonInDifferentSelection()
452 Object selectedItem = mList.getSelectedItem();453 if (selectedItem instanceof Preference) {455 return ((Preference)selectedItem).onKey(
170 public void onItemSelected(AdapterView<?> parentView, View selectedItem, in DisplayModifierSpinner()