Home
last modified time | relevance | path

Searched refs:menuInfo (Results 1 – 21 of 21) 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 …]
DActivityController.java46 void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo); in onCreateContextMenu() argument
DBrowserActivity.java226 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
227 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()
DController.java1274 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
/packages/apps/Phone/src/com/android/phone/
DSimContacts.java315 ContextMenu.ContextMenuInfo menuInfo = item.getMenuInfo(); in onContextItemSelected() local
316 if (menuInfo instanceof AdapterView.AdapterContextMenuInfo) { in onContextItemSelected()
317 int position = ((AdapterView.AdapterContextMenuInfo)menuInfo).position; in onContextItemSelected()
327 ContextMenu.ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
328 if (menuInfo instanceof AdapterView.AdapterContextMenuInfo) { in onCreateContextMenu()
330 (AdapterView.AdapterContextMenuInfo) menuInfo; in onCreateContextMenu()
/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.java686 ContextMenu.ContextMenuInfo menuInfo) {
/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/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/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferHistory.java189 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
191 AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo)menuInfo; in onCreateContextMenu()
/packages/apps/Browser/src/com/android/browser/stub/
DNullController.java86 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClock.java268 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
273 final AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo; in onCreateContextMenu()
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java738 ContextMenu.ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
739 super.onCreateContextMenu(menu, view, menuInfo); in onCreateContextMenu()
742 if (!(menuInfo instanceof ExpandableListContextMenuInfo)) return; in onCreateContextMenu()
744 final ExpandableListContextMenuInfo info = (ExpandableListContextMenuInfo) menuInfo; in onCreateContextMenu()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java1867 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
1868 super.onCreateContextMenu(menu, view, menuInfo); in onCreateContextMenu()
1870 AdapterView.AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo; in onCreateContextMenu()
1901 AdapterView.AdapterContextMenuInfo menuInfo; in onContextItemSelected() local
1903 menuInfo = (AdapterView.AdapterContextMenuInfo) item.getMenuInfo(); in onContextItemSelected()
1911 copyToClipboard(menuInfo.position); in onContextItemSelected()
1914 setDefaultContactMethod(mListView.getItemIdAtPosition(menuInfo.position)); in onContextItemSelected()
1917 clearDefaultContactMethod(mListView.getItemIdAtPosition(menuInfo.position)); in onContextItemSelected()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java170 ContextMenuInfo menuInfo) {
/packages/apps/Mms/src/com/android/mms/ui/
DManageSimMessages.java177 ContextMenu.ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
DConversationList.java479 ContextMenuInfo menuInfo) {
489 (AdapterView.AdapterContextMenuInfo) menuInfo;
DComposeMessageActivity.java770 ContextMenuInfo menuInfo) {
771 if (menuInfo != null) {
772 Contact c = ((RecipientContextMenuInfo) menuInfo).recipient;
846 private void addPositionBasedMenuItems(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in addPositionBasedMenuItems() argument
850 info = (AdapterView.AdapterContextMenuInfo) menuInfo; in addPositionBasedMenuItems()
989 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
997 addPositionBasedMenuItems(menu, v, menuInfo);
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java4295 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument