Home
last modified time | relevance | path

Searched refs:findItem (Results 1 – 19 of 19) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarUsage.java52 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu()
60 Drawable icon = menu.findItem(mSortMode).getIcon(); in onPrepareOptionsMenu()
61 menu.findItem(R.id.action_sort).setIcon(icon); in onPrepareOptionsMenu()
DActionBarShareActionProviderActivity.java57 MenuItem actionItem = menu.findItem(R.id.menu_item_share_action_provider_action_bar); in onCreateOptionsMenu()
65 MenuItem overflowItem = menu.findItem(R.id.menu_item_share_action_provider_overflow); in onCreateOptionsMenu()
DMenuInflateFromXml.java157 final boolean shouldShowBrowser = !mMenu.findItem(R.id.refresh).isVisible(); in onOptionsItemSelected()
163 final boolean shouldShowEmail = !mMenu.findItem(R.id.reply).isVisible(); in onOptionsItemSelected()
DPresentationWithMediaRouterActivity.java149 MenuItem mediaRouteMenuItem = menu.findItem(R.id.menu_media_route); in onCreateOptionsMenu()
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
DActionBarHelperHoneycomb.java54 final MenuItem refreshItem = mOptionsMenu.findItem(R.id.menu_refresh); in setRefreshActionItemState()
DSimpleMenu.java121 public MenuItem findItem(int id) { in findItem() method in SimpleMenu
DActionBarHelperBase.java132 menu.findItem(id).setVisible(false); in onCreateOptionsMenu()
/development/samples/SkeletonApp/src/com/example/android/skeletonapp/
DSkeletonActivity.java96 menu.findItem(CLEAR_ID).setVisible(mEditor.getText().length() > 0); in onPrepareOptionsMenu()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSearchViewActionBar.java63 MenuItem searchItem = menu.findItem(R.id.action_search); in onCreateOptionsMenu()
DVideoPlayerActivity.java211 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu()
215 MenuItem actionItem = menu.findItem(R.id.menu_item_share_action_provider_action_bar); in onCreateOptionsMenu()
DContentBrowserActivity.java187 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu()
191 MenuItem actionItem = menu.findItem(R.id.menu_item_share_action_provider_action_bar); in onCreateOptionsMenu()
DOverscanActivity.java219 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu()
223 MenuItem actionItem = menu.findItem(R.id.menu_item_share_action_provider_action_bar); in onCreateOptionsMenu()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DScreenSlideActivity.java85 menu.findItem(R.id.action_previous).setEnabled(mPager.getCurrentItem() > 0); in onCreateOptionsMenu()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DWordActivity.java74 SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView(); in onCreateOptionsMenu()
DSearchableDictionary.java137 SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView(); in onCreateOptionsMenu()
/development/samples/NotePad/src/com/example/android/notepad/
DNoteEditor.java416 menu.findItem(R.id.menu_revert).setVisible(false); in onPrepareOptionsMenu()
418 menu.findItem(R.id.menu_revert).setVisible(true); in onPrepareOptionsMenu()
DNotesList.java180 MenuItem mPasteItem = menu.findItem(R.id.menu_paste); in onPrepareOptionsMenu()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DMainActivity.java108 menu.findItem(R.id.menu_toggleTitles).setTitle(mToggleLabels[mTitlesHidden ? 0 : 1]); in onPrepareOptionsMenu()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java123 menu.findItem(FADE_ID).setChecked(mFading); in onPrepareOptionsMenu()