Home
last modified time | relevance | path

Searched refs:createWithContentUri (Results 1 – 13 of 13) 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.java70 Icon.createWithContentUri("content://test"),
159 Icon.createWithContentUri("content://test"), in testRegisterSystemAction()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java557 return createWithContentUri(uriOrPath); in createFromStream()
696 public static Icon createWithContentUri(String uri) { in createWithContentUri() method in Icon
710 public static Icon createWithContentUri(Uri uri) { in createWithContentUri() method in Icon
714 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.java72 Icon.createWithContentUri("content://test"),
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java217 notification.setIcon(Icon.createWithContentUri(imageUri)); in loadIcon()
DNotificationShellCmd.java445 return Icon.createWithContentUri(asUri); in parseIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarInflaterView.java396 ((KeyButtonView) v).loadAsync(Icon.createWithContentUri(uri)); in createView()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1317 return Icon.createWithContentUri(uri); in changeIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1170 final Icon uriIcon = Icon.createWithContentUri("test_uri");
1395 final Icon uriIcon = Icon.createWithContentUri("test_uri");
DShortcutManagerTest1.java780 final Icon uri32x32 = Icon.createWithContentUri( in testIcons()
784 final Icon uri512x512 = Icon.createWithContentUri( in testIcons()
1387 .setIcon(Icon.createWithContentUri("test_uri")) in testUpdateShortcuts_icons()
1460 .setIcon(Icon.createWithContentUri("test_uri")) in testUpdateShortcuts_icons()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java1452 return Icon.createWithContentUri(uri); in getShortcutIcon()
/frameworks/base/core/api/
Dcurrent.txt16694 method public static android.graphics.drawable.Icon createWithContentUri(String);
16695 method public static android.graphics.drawable.Icon createWithContentUri(android.net.Uri);