Home
last modified time | relevance | path

Searched refs:popupMenu (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorDraw.java166 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), button); in showPopupMenu() local
167 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_draw, popupMenu.getMenu()); in showPopupMenu()
169 Menu menu = popupMenu.getMenu(); in showPopupMenu()
177 popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in showPopupMenu()
186 popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in showPopupMenu()
195 popupMenu.show(); in showPopupMenu()
196 ((FilterShowActivity)mContext).onShowMenu(popupMenu); in showPopupMenu()
DEditorCrop.java134 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), button); in showPopupMenu() local
135 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_crop, popupMenu.getMenu()); in showPopupMenu()
136 popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in showPopupMenu()
143 popupMenu.show(); in showPopupMenu()
144 ((FilterShowActivity)mContext).onShowMenu(popupMenu); in showPopupMenu()
DEditorColorBorder.java129 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), button); in showPopupMenu() local
130 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_color_border, in showPopupMenu()
131 popupMenu.getMenu()); in showPopupMenu()
132 popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in showPopupMenu()
140 popupMenu.show(); in showPopupMenu()
141 ((FilterShowActivity)mContext).onShowMenu(popupMenu); in showPopupMenu()
DEditorVignette.java161 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), mButton); in openUtilityPanel() local
163 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_vignette, in openUtilityPanel()
164 popupMenu.getMenu()); in openUtilityPanel()
166 popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in openUtilityPanel()
176 popupMenu.show(); in openUtilityPanel()
177 ((FilterShowActivity)mContext).onShowMenu(popupMenu); in openUtilityPanel()
DEditorChanSat.java103 final PopupMenu popupMenu = new PopupMenu(mImageShow.getActivity(), mButton); in openUtilityPanel() local
105 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_chan_sat, in openUtilityPanel()
106 popupMenu.getMenu()); in openUtilityPanel()
108 popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in openUtilityPanel()
118 popupMenu.show(); in openUtilityPanel()
119 ((FilterShowActivity)mContext).onShowMenu(popupMenu); in openUtilityPanel()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCurves.java108 PopupMenu popupMenu = new PopupMenu(getActivity(), button); in showPopupMenu() local
109 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_curves, popupMenu.getMenu()); in showPopupMenu()
110 popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() { in showPopupMenu()
118 Editor.hackFixStrings(popupMenu.getMenu()); in showPopupMenu()
119 popupMenu.show(); in showPopupMenu()
120 ((FilterShowActivity)getContext()).onShowMenu(popupMenu); in showPopupMenu()
/packages/apps/Dialer/src/com/android/dialer/
DDialtactsActivity.java906 final OptionsPopupMenu popupMenu = new OptionsPopupMenu(this, invoker); in buildOptionsMenu() local
907 popupMenu.inflate(R.menu.dialtacts_options); in buildOptionsMenu()
909 popupMenu.getMenu().findItem(R.id.menu_archive).setVisible(true); in buildOptionsMenu()
911 popupMenu.setOnMenuItemClickListener(this); in buildOptionsMenu()
912 return popupMenu; in buildOptionsMenu()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DDialpadFragment.java889 final PopupMenu popupMenu = new PopupMenu(getActivity(), invoker) { in buildOptionsMenu() local
905 popupMenu.inflate(R.menu.dialpad_options); in buildOptionsMenu()
906 popupMenu.setOnMenuItemClickListener(this); in buildOptionsMenu()
907 return popupMenu; in buildOptionsMenu()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java723 public void onDismiss(PopupMenu popupMenu){ in onDismiss() argument