Lines Matching refs:share
151 requireViewById<Button>(R.id.share).setOnClickListener(this::share) in <lambda>()
269 private fun share(view: View) { in <lambda>() method in com.android.sharetest.ShareTestActivity
270 val share = Intent(Intent.ACTION_SEND) in <lambda>() constant
271 share.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in <lambda>()
278 R.id.one_image -> share.apply { in <lambda>()
289 R.id.many_images -> share.apply { in <lambda>()
315 R.id.short_text -> share.setText(createShortText()) in <lambda>()
316 R.id.long_text -> share.setText(createLongText()) in <lambda>()
317 R.id.url_text -> share.setText(url) in <lambda>()
321 share.putExtra(Intent.EXTRA_TITLE, createTextTitle()) in <lambda>()
325 share.clipData = ClipData( in <lambda>()
328 share.data = ImageContentProvider.ICON_URI in <lambda>()
338 Intent.createChooser(share, null, chosenComponentPendingIntent.intentSender) in <lambda>()
346 arrayOf(createAlternateIntent(share)) in <lambda>()