Home
last modified time | relevance | path

Searched refs:createWithContentUri (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/
DIconsContentProviderTest.java51 final Drawable actual = Icon.createWithContentUri(uri).loadDrawable(context); in testLoadResource()
66 assertThat(Icon.createWithContentUri(badUri).loadDrawable(context)).isNull(); in testLoadResource_badUri()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java68 Icon.createWithContentUri("content://test"),
140 Icon.createWithContentUri("content://test"), in testRegisterSystemAction()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java538 return createWithContentUri(uriOrPath); in createFromStream()
677 public static Icon createWithContentUri(String uri) { in createWithContentUri() method in Icon
691 public static Icon createWithContentUri(Uri uri) { in createWithContentUri() method in Icon
695 return createWithContentUri(uri.toString()); in createWithContentUri()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DSystemActionPerformerTest.java81 Icon.createWithContentUri("content://test"),
88 Icon.createWithContentUri("content://test"),
DAccessibilityManagerServiceTest.java68 Icon.createWithContentUri("content://test"),
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java217 notification.setIcon(Icon.createWithContentUri(imageUri)); in loadIcon()
DNotificationShellCmd.java464 return Icon.createWithContentUri(asUri); in parseIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterView.java393 ((KeyButtonView) v).loadAsync(Icon.createWithContentUri(uri)); in createView()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1141 return Icon.createWithContentUri(uri); in changeIcon()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1374 return Icon.createWithContentUri(uri); in getShortcutIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1164 final Icon uriIcon = Icon.createWithContentUri("test_uri");
1389 final Icon uriIcon = Icon.createWithContentUri("test_uri");
DShortcutManagerTest1.java744 final Icon uri32x32 = Icon.createWithContentUri( in testIcons()
748 final Icon uri512x512 = Icon.createWithContentUri( in testIcons()
1351 .setIcon(Icon.createWithContentUri("test_uri")) in testUpdateShortcuts_icons()
1424 .setIcon(Icon.createWithContentUri("test_uri")) in testUpdateShortcuts_icons()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt16038 method public static android.graphics.drawable.Icon createWithContentUri(String);
16039 method public static android.graphics.drawable.Icon createWithContentUri(android.net.Uri);