Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DClipDescriptionTest.java94 ClipDescription clipDescription = new ClipDescription( in testIsStyledText() local
98 assertThat(clipDescription.isStyledText()).isFalse(); in testIsStyledText()
102 ClipData clipData = new ClipData(clipDescription, new ClipData.Item(spannable)); in testIsStyledText()
104 assertThat(clipDescription.isStyledText()).isTrue(); in testIsStyledText()
120 ClipDescription clipDescription = new ClipDescription( in testNotStyledText() local
122 ClipData clipData = new ClipData(clipDescription, new ClipData.Item("Just text")); in testNotStyledText()
123 assertThat(clipDescription.isStyledText()).isFalse(); in testNotStyledText()
145 ClipDescription clipDescription = new ClipDescription( in testClassificationNotCompletedBeforeCopy() local
147 assertThat(clipDescription.getClassificationStatus()) in testClassificationNotCompletedBeforeCopy()
151 assertThat(clipDescription.getClassificationStatus()) in testClassificationNotCompletedBeforeCopy()
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDragSource.java100 final ClipDescription clipDescription = new ClipDescription("", new String[] { in setUpDragSource()
104 clipDescription.setExtras(extras); in setUpDragSource()
105 final ClipData clipData = new ClipData(clipDescription, new ClipData.Item(uri)); in setUpDragSource()
/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/
DDragDropTest.java112 public ClipDescription clipDescription; // DragEvent.getClipDescription() field in DragDropTest.LogEntry
117 ClipDescription clipDescription, Object localState, boolean result) { in LogEntry() argument
123 this.clipDescription = clipDescription; in LogEntry()
140 && compareParcelables(clipDescription, other.clipDescription) in equals()