Home
last modified time | relevance | path

Searched refs:shareIntent (Results 1 – 11 of 11) 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/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DPreviewActionsViewModel.kt421 val shareIntent: Flow<Intent?> = in <lambda>() constant
428 val isShareVisible: Flow<Boolean> = shareIntent.map { it != null } in <lambda>()
525 val shareIntent = Intent(Intent.ACTION_SEND) in <lambda>() constant
526 shareIntent.putExtra(Intent.EXTRA_STREAM, shareUri) in <lambda>()
527 shareIntent.setType("image/*") in <lambda>()
528 shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in <lambda>()
529 shareIntent.clipData = ClipData.newRawUri(null, shareUri) in <lambda>()
530 return Intent.createChooser(shareIntent, null) in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DCreativeWallpaperInfo.java368 Intent shareIntent = new Intent(Intent.ACTION_SEND);
369 shareIntent.putExtra(Intent.EXTRA_STREAM, mShareUri);
370 shareIntent.setType("image/*");
371 shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
372 shareIntent.setClipData(ClipData.newRawUri(null, mShareUri));
373 return Intent.createChooser(shareIntent, null);
/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.java359 Intent shareIntent = createShareIntent(mCurrentPhoto); in onCreate()
361 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.java483 Intent shareIntent = new Intent(Intent.ACTION_SEND); in onCreate() local
484 shareIntent.setType("text/plain"); in onCreate()
485 shareIntent.putExtra(Intent.EXTRA_TEXT, stackTrace); in onCreate()
486 shareIntent = Intent.createChooser(shareIntent, null); in onCreate()
488 this, 0, shareIntent, FLAG_UPDATE_CURRENT | FLAG_IMMUTABLE); in onCreate()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DPreviewActionsBinder.kt329 actionsViewModel.shareIntent.collect { in <lambda>()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java421 Intent shareIntent = getShareIntentByData(data);
422 if (shareIntent != null) {
424 launchActivityByIntent(shareIntent);