Home
last modified time | relevance | path

Searched refs:shareIntent (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java112 final Intent shareIntent = new Intent(); in updateShareActionProvider() local
113 shareIntent.setAction(Intent.ACTION_SEND); in updateShareActionProvider()
114 shareIntent.setType(contentType); in updateShareActionProvider()
115 shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(photoUri)); in updateShareActionProvider()
116 mShareActionProvider.setShareIntent(shareIntent); in updateShareActionProvider()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailPlaybackPresenter.java953 Intent shareIntent = new Intent(); in getShareIntent() local
955 shareIntent.setAction(Intent.ACTION_SEND); in getShareIntent()
956 shareIntent.putExtra(Intent.EXTRA_STREAM, voicemailFileUri); in getShareIntent()
957 shareIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getShareIntent()
958 shareIntent.setType(context.getContentResolver().getType(voicemailFileUri)); in getShareIntent()
960 shareIntent.setAction(Intent.ACTION_SEND); in getShareIntent()
961 shareIntent.putExtra(Intent.EXTRA_STREAM, voicemailFileUri); in getShareIntent()
962 shareIntent.putExtra(Intent.EXTRA_TEXT, transcription); in getShareIntent()
963 shareIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getShareIntent()
964 shareIntent.setType(context.getContentResolver().getType(voicemailFileUri)); in getShareIntent()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActionBar.java425 public void setShareIntents(Intent sharePanoramaIntent, Intent shareIntent, in setShareIntents() argument
431 mShareIntent = shareIntent; in setShareIntents()
433 mShareActionProvider.setShareIntent(shareIntent); in setShareIntents()
DPhotoPage.java364 Intent shareIntent = createShareIntent(mCurrentPhoto); in onCreate()
366 mActionBar.setShareIntents(panoramaIntent, shareIntent, PhotoPage.this); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java389 final Intent shareIntent = new Intent();
390 shareIntent.setAction(Intent.ACTION_SEND);
392 shareIntent.putExtra(Intent.EXTRA_TEXT, data.getText());
393 shareIntent.setType("text/plain");
395 shareIntent.putExtra(
397 shareIntent.setType(attachmentToShare.getContentType());
400 startActivity(Intent.createChooser(shareIntent, title));
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.kt345 val shareIntent: Intent = Intent(Intent.ACTION_SEND) in <lambda>() constant
357 val shareChooserIntent: Intent = Intent.createChooser(shareIntent, title) in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java396 Intent shareIntent = new Intent(Intent.ACTION_SEND); in onCreate() local
397 shareIntent.setType("text/plain"); in onCreate()
398 shareIntent.putExtra(Intent.EXTRA_TEXT, stackTrace); in onCreate()
399 shareIntent = Intent.createChooser(shareIntent, null); in onCreate()
401 this, 0, shareIntent, PendingIntent.FLAG_UPDATE_CURRENT in onCreate()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java426 Intent shareIntent = getShareIntentByData(data);
427 if (shareIntent != null) {
429 launchActivityByIntent(shareIntent);