Home
last modified time | relevance | path

Searched refs:clipData (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java163 ClipData clipData = ClipData.newPlainText("TextLabel", "Text"); in testSetPrimaryClip_multipleMimeTypes() local
164 clipData.addItem(contentResolver, new Item("More Text")); in testSetPrimaryClip_multipleMimeTypes()
165 clipData.addItem(contentResolver, new Item(intent)); in testSetPrimaryClip_multipleMimeTypes()
166 clipData.addItem(contentResolver, new Item(uri)); in testSetPrimaryClip_multipleMimeTypes()
167 clipData.addItem(contentResolver, new Item(contentUri1)); in testSetPrimaryClip_multipleMimeTypes()
168 clipData.addItem(contentResolver, new Item(contentUri2)); in testSetPrimaryClip_multipleMimeTypes()
169 clipData.addItem(contentResolver, new Item(contentUri3)); in testSetPrimaryClip_multipleMimeTypes()
170 clipData.addItem(contentResolver, new Item(contentUri4)); in testSetPrimaryClip_multipleMimeTypes()
171 clipData.addItem(contentResolver, new Item(contentUri5)); in testSetPrimaryClip_multipleMimeTypes()
172 clipData.addItem(contentResolver, new Item(contentUri6)); in testSetPrimaryClip_multipleMimeTypes()
[all …]
DReadableFileReceiverActivity.java80 ClipData clipData = intent.getClipData(); in getFilesFromIntent() local
81 if (clipData == null) { in getFilesFromIntent()
85 if (clipData.getItemCount() == 0) { in getFilesFromIntent()
91 for (int i = 0; i < clipData.getItemCount(); i++) { in getFilesFromIntent()
92 Uri filePath = clipData.getItemAt(i).getUri(); in getFilesFromIntent()
DImageCaptureActivity.java80 ClipData clipData = intent.getClipData(); in getFileFromIntent() local
81 if (clipData == null) { in getFileFromIntent()
85 if (clipData.getItemCount() == 0) { in getFileFromIntent()
90 Uri filePath = clipData.getItemAt(0).getUri(); in getFileFromIntent()
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java158 final ClipData clipData = event.getClipData(); in processDrop() local
159 if (clipData == null) { in processDrop()
162 if (clipData.getItemCount() == 0) { in processDrop()
165 ClipData.Item item = clipData.getItemAt(0); in processDrop()
198 final ClipData clipData = event.getClipData(); in checkDragEvent() local
200 if (clipData == null) { in checkDragEvent()
204 if (clipData != null) { in checkDragEvent()
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DIntentReceiverActivity.java81 final ClipData clipData = getIntent().getClipData(); in onCreate() local
82 final Uri uri = clipData != null ? clipData.getItemAt(0).getUri() : null; in onCreate()
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDragSource.java104 final ClipData clipData = new ClipData(clipDescription, new ClipData.Item(uri)); in setUpDragSource()
106 clipData, in setUpDragSource()
/cts/tests/tests/view/src/android/view/cts/
DDragDropTest.java104 public ClipData clipData; // DragEvent.getClipData() field in DragDropTest.LogEntry
109 LogEntry(View v, int action, float x, float y, ClipData clipData, in LogEntry() argument
115 this.clipData = clipData; in LogEntry()
132 && compareParcelables(clipData, other.clipData) in equals()