Home | History | Annotate | Download | only in dialer

Lines Matching refs:Menu

49 import android.view.Menu;
146 /** Whether we should show "edit number before call" in the options menu. */
148 /** Whether we should show "trash" in the options menu. */
150 /** Whether we should show "remove from call log" in the options menu. */
866 public boolean onCreateOptionsMenu(Menu menu) {
867 getMenuInflater().inflate(R.menu.call_details_options, menu);
868 return super.onCreateOptionsMenu(menu);
872 public boolean onPrepareOptionsMenu(Menu menu) {
875 menu.findItem(R.id.menu_remove_from_call_log).setVisible(mHasRemoveFromCallLogOption);
876 menu.findItem(R.id.menu_edit_number_before_call).setVisible(mHasEditNumberBeforeCallOption);
877 menu.findItem(R.id.menu_trash).setVisible(mHasTrashOption);
878 return super.onPrepareOptionsMenu(menu);
983 public boolean onCreateActionMode(ActionMode mode, Menu menu) {
986 getMenuInflater().inflate(R.menu.call_details_cab, menu);
991 public boolean onPrepareActionMode(ActionMode mode, Menu menu) {