Home
last modified time | relevance | path

Searched refs:clipDescription (Results 1 – 5 of 5) sorted by relevance

/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDragSource.java94 final ClipDescription clipDescription = new ClipDescription("", new String[] { in onCreate() local
96 setUpDragSource("intent_sender", clipDescription, in onCreate()
101 final ClipDescription clipDescription = new ClipDescription("", new String[] { in setUpDragSource() local
105 clipDescription.setExtras(extras); in setUpDragSource()
106 setUpDragSource(mode, clipDescription, new ClipData.Item(uri), flags); in setUpDragSource()
109 private void setUpDragSource(String mode, final ClipDescription clipDescription, in setUpDragSource() argument
124 final ClipData clipData = new ClipData(clipDescription, item); in setUpDragSource()
DDropTarget.java251 final ClipDescription clipDescription = event.getClipDescription(); in checkDragEvent() local
253 if (clipDescription == null) { in checkDragEvent()
257 if (clipDescription != null) { in checkDragEvent()
/cts/tests/tests/content/src/android/content/cts/
DClipDescriptionTest.java113 ClipDescription clipDescription = new ClipDescription( in testIsStyledText() local
117 assertThat(clipDescription.isStyledText()).isFalse(); in testIsStyledText()
121 ClipData clipData = new ClipData(clipDescription, new ClipData.Item(spannable)); in testIsStyledText()
123 assertThat(clipDescription.isStyledText()).isTrue(); in testIsStyledText()
141 ClipDescription clipDescription = new ClipDescription( in testNotStyledText() local
143 ClipData clipData = new ClipData(clipDescription, new ClipData.Item("Just text")); in testNotStyledText()
144 assertThat(clipDescription.isStyledText()).isFalse(); in testNotStyledText()
166 ClipDescription clipDescription = new ClipDescription( in testClassificationNotCompletedBeforeCopy() local
168 assertThat(clipDescription.getClassificationStatus()) in testClassificationNotCompletedBeforeCopy()
172 assertThat(clipDescription.getClassificationStatus()) in testClassificationNotCompletedBeforeCopy()
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java248 final ClipDescription clipDescription = event.getClipDescription(); in checkDragEvent() local
250 if (clipDescription == null) { in checkDragEvent()
254 if (clipDescription != null) { in checkDragEvent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDragDropTest.java129 public ClipDescription clipDescription; // DragEvent.getClipDescription() field in DragDropTest.LogEntry
134 ClipDescription clipDescription, Object localState, boolean result) { in LogEntry() argument
140 this.clipDescription = clipDescription; in LogEntry()
158 && compareParcelables(clipDescription, other.clipDescription) in equals()