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.java1780 public boolean hasIconResource() { in hasIconResource() method in ShortcutInfo
1791 return hasIconResource() || hasStringResources(); in hasAnyResources()
2192 if (hasIconResource()) { in toStringInner()
DLauncherApps.java1028 } else if (shortcut.hasIconResource()) { in getShortcutIconDrawable()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java2140 assertTrue("ID " + s.getId() + " not have icon res ID", s.hasIconResource());
2149 assertFalse("ID " + s.getId() + " shouldn't have icon res ID", s.hasIconResource());
2159 s.hasIconFile() || s.hasIconResource() || s.getIcon() != null);
DShortcutManagerTest1.java1120 assertTrue(s.hasIconResource()); in testUpdateShortcuts()
1126 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1139 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1146 assertFalse(s.hasIconResource()); in testUpdateShortcuts()
1178 assertTrue(si.hasIconResource()); in testUpdateShortcuts_icons()
1224 assertTrue(si.hasIconResource()); in testUpdateShortcuts_icons()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1402 if (shortcut.hasIconFile() || shortcut.hasIconResource()) { in saveIconAndFixUpShortcutLocked()
2786 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()
DShortcutPackage.java1906 if (si.hasIconFile() && si.hasIconResource()) { in verifyStates()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17281 Landroid/content/pm/ShortcutInfo;->hasIconResource()Z