Lines Matching full:menu
38 import android.view.Menu;
158 public boolean onCreateOptionsMenu(Menu menu) {
161 inflater.inflate(R.menu.downloadhistory, menu);
167 public boolean onPrepareOptionsMenu(Menu menu) {
169 menu.findItem(R.id.download_menu_cancel_all).setEnabled(showCancel);
170 return super.onPrepareOptionsMenu(menu);
270 // Close the context menu, reopen with up to date data.
285 public void onCreateContextMenu(ContextMenu menu, View v,
291 // Only show a context menu for the child views
297 menu.setHeaderTitle(mDownloadCursor.getString(mTitleColumnId));
302 inflater.inflate(R.menu.downloadhistorycontextfinished, menu);
304 inflater.inflate(R.menu.downloadhistorycontextfailed, menu);
308 // and if it does, we can then update the context menu
320 inflater.inflate(R.menu.downloadhistorycontextrunning, menu);
323 super.onCreateContextMenu(menu, v, menuInfo);