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.java1445 public boolean hasIconResource() { in hasIconResource() method in ShortcutInfo
1456 return hasIconResource() || hasStringResources(); in hasAnyResources()
1810 if (hasIconResource()) { in toStringInner()
DLauncherApps.java841 } else if (shortcut.hasIconResource()) { in getShortcutIconDrawable()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java2034 assertTrue("ID " + s.getId() + " not have icon res ID", s.hasIconResource());
2043 assertFalse("ID " + s.getId() + " shouldn't have icon res ID", s.hasIconResource());
2053 s.hasIconFile() || s.hasIconResource() || s.getIcon() != null);
DShortcutManagerTest1.java1069 assertTrue(s.hasIconResource()); in testUpdateShortcuts()
1075 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1088 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1095 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1127 assertTrue(si.hasIconResource()); in testUpdateShortcuts_icons()
1173 assertTrue(si.hasIconResource()); in testUpdateShortcuts_icons()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java1597 if (si.hasIconFile() && si.hasIconResource()) { in verifyStates()
DShortcutService.java1347 if (shortcut.hasIconFile() || shortcut.hasIconResource()) { in saveIconAndFixUpShortcutLocked()
2569 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()