Home
last modified time | relevance | path

Searched refs:hasIconResource (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1839 public boolean hasIconResource() { in hasIconResource() method in ShortcutInfo
1859 return hasIconResource() || hasStringResources(); in hasAnyResources()
2275 if (hasIconResource()) { in toStringInner()
DLauncherApps.java1294 } else if (shortcut.hasIconResource()) { in getShortcutIconDrawable()
1376 } else if (shortcut.hasIconResource()) { in getShortcutIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java2206 assertTrue("ID " + s.getId() + " not have icon res ID", s.hasIconResource());
2216 assertFalse("ID " + s.getId() + " shouldn't have icon res ID", s.hasIconResource());
2226 assertFalse("ID " + s.getId() + " shouldn't have icon res ID", s.hasIconResource());
2237 s.hasIconFile() || s.hasIconResource() || s.getIcon() != null);
DShortcutManagerTest1.java1299 assertTrue(s.hasIconResource()); in testUpdateShortcuts()
1305 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1318 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1325 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1369 assertTrue(si.hasIconResource()); in testUpdateShortcuts_icons()
1418 assertTrue(si.hasIconResource()); in testUpdateShortcuts_icons()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java2077 if (si.hasIconFile() && si.hasIconResource()) { in verifyStates()
2087 if (si.hasIconUri() && si.hasIconResource()) { in verifyStates()
DShortcutService.java1429 if (shortcut.hasIconFile() || shortcut.hasIconResource() || shortcut.hasIconUri()) { in saveIconAndFixUpShortcutLocked()
3218 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()
/frameworks/base/config/
Dboot-image-profile.txt6014 HSPLandroid/content/pm/ShortcutInfo;->hasIconResource()Z