Home
last modified time | relevance | path

Searched refs:mShareItem (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java50 private MenuItem mShareItem; field in BuglePhotoViewController
100 if (mShareActionProvider == null || mShareItem == null || adapter == null || in updateShareActionProvider()
107 mShareItem.setVisible(false); in updateShareActionProvider()
117 mShareItem.setVisible(true); in updateShareActionProvider()
135 mShareItem = menu.findItem(R.id.action_share); in onCreateOptionsMenu()
136 mShareActionProvider = (ShareActionProvider) mShareItem.getActionProvider(); in onCreateOptionsMenu()
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewController.java74 private MenuItem mShareItem; field in MailPhotoViewController
119 mShareItem = mMenu.findItem(R.id.menu_share); in onCreateOptionsMenu()
174 if (attachment != null && mSaveItem != null && mShareItem != null) { in updateActionItems()
178 mShareItem.setEnabled(canShare); in updateActionItems()
216 mShareItem.setVisible(false); in updateActionItems()