Home
last modified time | relevance | path

Searched defs:clip (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewReceiveContentTest.java194 ClipData clip = ClipData.newPlainText("test", "y"); in testDefaultReceiver_onReceive_text() local
208 ClipData clip = ClipData.newPlainText("test", ssb); in testDefaultReceiver_onReceive_styledText() local
222 ClipData clip = ClipData.newPlainText("test", "y"); in testDefaultReceiver_onReceive_text_convertToPlainText() local
236 ClipData clip = ClipData.newPlainText("test", ssb); in testDefaultReceiver_onReceive_styledText_convertToPlainText() local
250 ClipData clip = ClipData.newHtmlText("test", "*y*", "<b>y</b>"); in testDefaultReceiver_onReceive_html() local
261 ClipData clip = ClipData.newHtmlText("test", "*y*", "<b>y</b>"); in testDefaultReceiver_onReceive_html_convertToPlainText() local
272 ClipData clip = new ClipData("test", new String[]{"video/mp4"}, in testDefaultReceiver_onReceive_unsupportedMimeType() local
285 ClipData clip = new ClipData("test", new String[]{"video/mp4"}, in testDefaultReceiver_onReceive_unsupportedMimeType_convertToPlainText() local
298 ClipData clip = ClipData.newPlainText("test", "ONE"); in testDefaultReceiver_onReceive_multipleItemsInClipData() local
324 ClipData clip = ClipData.newPlainText("test", "y"); in testDefaultReceiver_onReceive_noSelectionPriorToPaste() local
[all …]
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/
DContentInfoTest.java60 ClipData clip = ClipData.newPlainText("", "Hello"); in testPartition_multipleItems() local
99 ClipData clip = ClipData.newPlainText("", "Hello"); in testPartition_singleItem() local
118 ClipData clip = ClipData.newPlainText("", "Hello"); in testBuilder_copy() local
164 ClipData clip = ClipData.newPlainText("", "Hello"); in testReleasePermissions() local
173 ClipData clip = ClipData.newPlainText("", "Hello"); in testReleasePermissions_ime() local
184 ClipData clip = ClipData.newPlainText("", "Hello"); in testReleasePermissions_ime_afterCopy() local
201 ClipData clip = ClipData.newPlainText("", "Hello"); in testReleasePermissions_dragAndDrop() local
212 ClipData clip = ClipData.newPlainText("", "Hello"); in testReleasePermissions_dragAndDrop_afterCopy() local
227 ClipData clip = ClipData.newPlainText("", "Hello"); in testParcel_withMinimalMetadata() local
240 ClipData clip = ClipData.newPlainText("", "Hello"); in testParcel_withAllMetadata() local
[all …]
/cts/tests/tests/content/src/android/content/cts/
DClipDataTest.java43 ClipData clip = ClipData.newPlainText(null, "secret-text"); in testToString_text() local
51 ClipData clip = ClipData.newHtmlText(null, "secret-text", "secret-html"); in testToString_html() local
59 ClipData clip = ClipData.newRawUri(null, Uri.parse("content://secret")); in testToString_uri() local
73 ClipData clip = new ClipData(description, new ClipData.Item("secret-text")); in testToString_metadata() local
81 ClipData clip = ClipData.newPlainText(null, "secret-one"); in testToString_multipleItems() local
102 ClipData clip = new ClipData("secret-label", mimeTypes, item); in testToString_complexItem() local
DClipboardManagerListenerActivity.java46 public synchronized void setPrimaryClip(ClipData clip) { in setPrimaryClip()
DClipboardManagerTest.java302 ClipData clip = ClipData.newPlainText("TextLabel", "Text1"); in testReadInBackgroundRequiresPermission() local
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUtils.java55 static void grantClipUriPermissionViaActivity(ClipData clip, int mode) { in grantClipUriPermissionViaActivity()
59 static void grantClipUriPermissionViaActivities(ClipData clip, int mode) { in grantClipUriPermissionViaActivities()
63 static void grantClipUriPermissionViaService(ClipData clip, int mode) { in grantClipUriPermissionViaService()
67 private static void grantClipUriPermission(ClipData clip, int mode, String action) { in grantClipUriPermission()
108 static void setPrimaryClip(ClipData clip) { in setPrimaryClip()
DUriGrantsClipboardTest.java54 final ClipData clip = makeSingleClipData(target); in testClipboardWithPermission() local
88 final ClipData clip = makeSingleClipData(target); in testClipboardWithoutPermission() local
DUriGrantsTest.java63 ClipData clip = new ClipData("foo", new String[] { "foo/bar" }, in makeMultiClipData() local
89 final ClipData clip = makeSingleClipData(target); in testGrantPersistableUriPermission() local
183 final ClipData clip = makeSingleClipData(target); in testGrantPrefixUriPermission() local
228 final ClipData clip = makeSingleClipData(target); in testGrantPersistablePrefixUriPermission() local
281 final ClipData clip = makeSingleClipData(target); in testDirectGrantRevokeUriPermission() local
348 final ClipData clip = makeSingleClipData(target); in testDirectGrantReceiverRevokeUriPermission() local
DAsserts.java43 static void assertAccess(ClipData clip, int mode) { in assertAccess()
93 static void assertReadingClipNotAllowed(ClipData clip) { in assertReadingClipNotAllowed()
97 static void assertReadingClipNotAllowed(ClipData clip, String msg) { in assertReadingClipNotAllowed()
197 static void assertWritingClipNotAllowed(ClipData clip) { in assertWritingClipNotAllowed()
201 static void assertWritingClipNotAllowed(ClipData clip, String msg) { in assertWritingClipNotAllowed()
221 static void assertReadingClipAllowed(ClipData clip) { in assertReadingClipAllowed()
249 static void assertWritingClipAllowed(ClipData clip) { in assertWritingClipAllowed()
DUriGrantsResultTest.java157 private Intent buildIntent(ClipData clip, int mode) { in buildIntent()
/cts/tests/tests/view/src/android/view/cts/
DViewReceiveContentTest.java179 ClipData clip = new ClipData( in testOnDragEvent_withOnReceiveContentListener() local
199 ClipData clip = new ClipData( in testOnDragEvent_withOnReceiveContentListener_noneOfTheContentAccepted() local
219 ClipData clip = new ClipData( in testOnDragEvent_withOnReceiveContentListener_someOfTheContentAccepted() local
228 ClipData clip = new ClipData( in sampleUriPayload() local
234 private static ContentInfo contentEq(ClipData clip, int source, int flags) { in contentEq()
243 private ContentInfoArgumentMatcher(ClipData clip, int source, int flags) { in ContentInfoArgumentMatcher()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DCopyPasteTest.java57 ClipData clip = ClipData.newPlainText(""/*label*/, INITIAL_TEXT); in testCanReadAcrossProfiles() local
67 ClipData clip = ClipData.newPlainText(""/*label*/, INITIAL_TEXT); in testCannotReadAcrossProfiles() local
85 ClipData clip = mClipboard.getPrimaryClip(); in getTextFromClipboard() local
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTest.java301 Rect clip = new Rect(20, 20, A4_WIDTH_PTS - 20, A4_HEIGHT_PTS - 20); in render45degreeRotationTranslationAndScaleAndClip() local
315 Rect clip = new Rect(20, 20, A4_WIDTH_PTS - 50, A4_HEIGHT_PTS - 50); in renderWithClip() local
322 Rect clip = new Rect(A4_WIDTH_PTS / 2, A4_HEIGHT_PTS / 2, A4_WIDTH_PTS / 2, in renderWithAllClipped() local
330 Rect clip = new Rect(0, 0, A4_WIDTH_PTS + 20, A4_HEIGHT_PTS + 20); in renderWithBadLowerCornerOfClip() local
338 Rect clip = new Rect(-20, -20, A4_WIDTH_PTS, A4_HEIGHT_PTS); in renderWithBadUpperCornerOfClip() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DIntrinsicColorMatrix.java38 boolean clip) { in subtest()
82 boolean clip) { in test()
DIntrinsicHistogram.java62 private void testNorm(int inVSize, int outVSize, int w, int h, boolean clip) { in testNorm()
185 private void testDot(int inVSize, int w, int h, boolean clip) { in testDot()
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DIntentReceiverActivity.java86 ClipData clip = ClipData.newPlainText("", text); in onCreate() local
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DDatasetTest.java309 ClipData clip = ClipData.newIntent("", new Intent()); in testBuilder_setContentWithIntentIsNotAllowed() local
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DMockJobService.java82 ClipData clip = params.getClipData(); in onStartJob() local
/cts/tests/tests/transition/src/android/transition/cts/
DChangeBoundsTest.java470 public final Rect clip; field in ChangeBoundsTest.PositionAndClip
/cts/tests/JobScheduler/src/android/jobscheduler/
DMockJobService.java86 ClipData clip = params.getClipData(); in onStartJob() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DRegionTest.java1357 Region clip = new Region(0, 0, 10, 10); in testGetBoundaryPath1() local
1390 Region clip = new Region(); in testSetPath() local