Home
last modified time | relevance | path

Searched refs:clip (Results 1 – 3 of 3) sorted by relevance

/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShare.java38 ClipData clip = intent.getClipData(); in getShareUri() local
39 if (clip != null && clip.getItemCount() > 0) { in getShareUri()
40 uri = clip.getItemAt(0).getUri(); in getShareUri()
107 ClipData clip = ClipData.newUri(getContentResolver(), "Something", uri); in onCreate()
108 intent.setClipData(clip); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DClipboardSample.java130 ClipData clip = mClipboard.getPrimaryClip(); in updateClipData() local
131 String[] mimeTypes = clip != null ? clip.getDescription().filterMimeTypes("*/*") : null; in updateClipData()
145 if (clip != null) { in updateClipData()
146 ClipData.Item item = clip.getItemAt(0); in updateClipData()
163 if (clip != null) { in updateClipData()
164 ClipData.Item item = clip.getItemAt(0); in updateClipData()
/development/samples/NotePad/src/com/example/android/notepad/
DNoteEditor.java406 ClipData clip = clipboard.getPrimaryClip(); in performPaste() local
407 if (clip != null) { in performPaste()
413 ClipData.Item item = clip.getItemAt(0); in performPaste()