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 …]
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.java1281 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.java686 ContextMenu.ContextMenuInfo menuInfo) {
/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/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java1890 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
1891 super.onCreateContextMenu(menu, view, menuInfo); in onCreateContextMenu()
1893 AdapterView.AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo; in onCreateContextMenu()
1929 AdapterView.AdapterContextMenuInfo menuInfo; in onContextItemSelected() local
1931 menuInfo = (AdapterView.AdapterContextMenuInfo) item.getMenuInfo(); in onContextItemSelected()
1939 copyToClipboard(menuInfo.position); in onContextItemSelected()
1942 setDefaultContactMethod(mListView.getItemIdAtPosition(menuInfo.position)); in onContextItemSelected()
1945 clearDefaultContactMethod(mListView.getItemIdAtPosition(menuInfo.position)); in onContextItemSelected()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java737 ContextMenu.ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
738 super.onCreateContextMenu(menu, view, menuInfo); in onCreateContextMenu()
741 if (!(menuInfo instanceof ExpandableListContextMenuInfo)) return; in onCreateContextMenu()
743 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.java189 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
191 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.java413 ContextMenuInfo menuInfo) { in onCreateContextMenu() argument
416 AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo) menuInfo; in onCreateContextMenu()
DConversationList.java533 ContextMenuInfo menuInfo) {
543 (AdapterView.AdapterContextMenuInfo) menuInfo;
DManageSimMessages.java178 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.java184 ContextMenuInfo menuInfo) {
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java4335 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) { in onCreateContextMenu() argument