Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1622 public boolean hasIconResource() { in hasIconResource() method in ShortcutInfo
1633 return hasIconResource() || hasStringResources(); in hasAnyResources()
2028 if (hasIconResource()) { in toStringInner()
DLauncherApps.java951 } else if (shortcut.hasIconResource()) { in getShortcutIconDrawable()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java2084 assertTrue("ID " + s.getId() + " not have icon res ID", s.hasIconResource());
2093 assertFalse("ID " + s.getId() + " shouldn't have icon res ID", s.hasIconResource());
2103 s.hasIconFile() || s.hasIconResource() || s.getIcon() != null);
DShortcutManagerTest1.java1109 assertTrue(s.hasIconResource()); in testUpdateShortcuts()
1115 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1128 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1135 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1167 assertTrue(si.hasIconResource()); in testUpdateShortcuts_icons()
1213 assertTrue(si.hasIconResource()); in testUpdateShortcuts_icons()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java1732 if (si.hasIconFile() && si.hasIconResource()) { in verifyStates()
DShortcutService.java1394 if (shortcut.hasIconFile() || shortcut.hasIconResource()) { in saveIconAndFixUpShortcutLocked()
2722 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()