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.java9676 Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND); in shareSelectedText() local
9677 sharingIntent.setType("text/plain"); in shareSelectedText()
9678 sharingIntent.removeExtra(android.content.Intent.EXTRA_TEXT); in shareSelectedText()
9679 sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, selectedText); in shareSelectedText()
9680 getContext().startActivity(Intent.createChooser(sharingIntent, null)); in shareSelectedText()