Home
last modified time | relevance | path

Searched refs:menuInfo (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Browser/src/com/android/browser/
DBrowserHistoryPage.java332 View getTargetView(ContextMenuInfo menuInfo) { in getTargetView() argument
333 if (menuInfo instanceof AdapterContextMenuInfo) { in getTargetView()
334 return ((AdapterContextMenuInfo) menuInfo).targetView; in getTargetView()
336 if (menuInfo instanceof ExpandableListContextMenuInfo) { in getTargetView()
337 return ((ExpandableListContextMenuInfo) menuInfo).targetView; in getTargetView()
343 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
345 View targetView = getTargetView(menuInfo); in onCreateContextMenu()
382 super.onCreateContextMenu(menu, v, menuInfo); in onCreateContextMenu()
387 ContextMenuInfo menuInfo = item.getMenuInfo(); in onContextItemSelected() local
388 if (menuInfo == null) { in onContextItemSelected()
[all …]
DBrowserActivity.java227 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
228 mController.onCreateContextMenu(menu, v, menuInfo); in onCreateContextMenu()
DBrowserSnapshotPage.java158 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
164 AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo; in onCreateContextMenu()
DBrowserBookmarksPage.java269 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
270 BookmarkContextMenuInfo info = (BookmarkContextMenuInfo) menuInfo; in onCreateContextMenu()
DActivityController.java46 void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo); in onCreateContextMenu() argument
DController.java1263 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java102 final ContextMenuInfo menuInfo) { in onCreate()
103 onCreateGalleryPickerContextMenu(menu, menuInfo); in onCreate()
202 final ContextMenuInfo menuInfo) { in onCreateGalleryPickerContextMenu() argument
203 int position = ((AdapterContextMenuInfo) menuInfo).position; in onCreateGalleryPickerContextMenu()
211 return onSlideShowClicked(menuInfo); in onCreateGalleryPickerContextMenu()
219 return onViewClicked(menuInfo); in onCreateGalleryPickerContextMenu()
225 private boolean onSlideShowClicked(ContextMenuInfo menuInfo) { in onSlideShowClicked() argument
226 AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo; in onSlideShowClicked()
248 private boolean onViewClicked(ContextMenuInfo menuInfo) { in onViewClicked() argument
249 AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo; in onViewClicked()
DImageGallery.java681 ContextMenu.ContextMenuInfo menuInfo) {
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java317 ContextMenu.ContextMenuInfo menuInfo = item.getMenuInfo(); in onContextItemSelected() local
318 if (menuInfo instanceof AdapterView.AdapterContextMenuInfo) { in onContextItemSelected()
319 int position = ((AdapterView.AdapterContextMenuInfo)menuInfo).position; in onContextItemSelected()
329 ContextMenu.ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
330 if (menuInfo instanceof AdapterView.AdapterContextMenuInfo) { in onCreateContextMenu()
332 (AdapterView.AdapterContextMenuInfo) menuInfo; in onCreateContextMenu()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java413 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
414 if (menuInfo == null) {
417 final EntryContextMenuInfo info = (EntryContextMenuInfo) menuInfo;
452 EntryContextMenuInfo menuInfo; in onContextItemSelected() local
454 menuInfo = (EntryContextMenuInfo) item.getMenuInfo(); in onContextItemSelected()
462 ClipboardUtils.copyText(this, menuInfo.getCopyLabel(), menuInfo.getCopyText(), in onContextItemSelected()
467 menuInfo.getId()); in onContextItemSelected()
472 menuInfo.getId()); in onContextItemSelected()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java740 ContextMenu.ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
741 super.onCreateContextMenu(menu, view, menuInfo); in onCreateContextMenu()
744 if (!(menuInfo instanceof ExpandableListContextMenuInfo)) return; in onCreateContextMenu()
746 final ExpandableListContextMenuInfo info = (ExpandableListContextMenuInfo) menuInfo; in onCreateContextMenu()
/packages/apps/Browser/src/com/android/browser/view/
DBookmarkExpandableView.java164 ContextMenuInfo menuInfo = getContextMenuInfo(); in createContextMenu() local
168 ((MenuBuilder)menu).setCurrentMenuInfo(menuInfo); in createContextMenu()
172 mOnCreateContextMenuListener.onCreateContextMenu(menu, this, menuInfo); in createContextMenu()
/packages/experimental/BugReportSender/src/com/android/bugreportsender/
DBugReportListActivity.java84 ContextMenu.ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
85 super.onCreateContextMenu(menu, v, menuInfo); in onCreateContextMenu()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java192 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
195 AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo)menuInfo; in onCreateContextMenu()
/packages/apps/Mms/src/com/android/mms/ui/
DComposeMessageActivity.java823 ContextMenuInfo menuInfo) {
824 if (menuInfo != null) {
825 Contact c = ((RecipientContextMenuInfo) menuInfo).recipient;
899 private void addPositionBasedMenuItems(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in addPositionBasedMenuItems() argument
903 info = (AdapterView.AdapterContextMenuInfo) menuInfo; in addPositionBasedMenuItems()
1042 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
1050 addPositionBasedMenuItems(menu, v, menuInfo);
DSlideshowEditActivity.java414 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
417 AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo) menuInfo; in onCreateContextMenu()
DConversationList.java654 ContextMenuInfo menuInfo) {
664 (AdapterView.AdapterContextMenuInfo) menuInfo;
DManageSimMessages.java197 ContextMenu.ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
/packages/apps/Browser/src/com/android/browser/stub/
DNullController.java86 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java188 ContextMenuInfo menuInfo) {
/packages/apps/Stk/src/com/android/stk/
DStkMenuActivity.java348 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java2311 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
2312 super.onCreateContextMenu(menu, v, menuInfo); in onCreateContextMenu()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java4337 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument