Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java265 Intent sharingIntent = new Intent(Intent.ACTION_SEND); in doInBackground() local
266 sharingIntent.setType("image/png"); in doInBackground()
267 sharingIntent.putExtra(Intent.EXTRA_STREAM, uri); in doInBackground()
268 sharingIntent.putExtra(Intent.EXTRA_SUBJECT, subject); in doInBackground()
274 Intent chooserIntent = Intent.createChooser(sharingIntent, null, in doInBackground()
/frameworks/base/core/java/android/widget/
DTextView.java9675 Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND); in shareSelectedText() local
9676 sharingIntent.setType("text/plain"); in shareSelectedText()
9677 sharingIntent.removeExtra(android.content.Intent.EXTRA_TEXT); in shareSelectedText()
9678 sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, selectedText); in shareSelectedText()
9679 getContext().startActivity(Intent.createChooser(sharingIntent, null)); in shareSelectedText()