Searched refs:hasIconResource (Results 1 – 7 of 7) sorted by relevance
1839 public boolean hasIconResource() { in hasIconResource() method in ShortcutInfo1859 return hasIconResource() || hasStringResources(); in hasAnyResources()2275 if (hasIconResource()) { in toStringInner()
1294 } else if (shortcut.hasIconResource()) { in getShortcutIconDrawable()1376 } else if (shortcut.hasIconResource()) { in getShortcutIcon()
2206 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);
1299 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()
2077 if (si.hasIconFile() && si.hasIconResource()) { in verifyStates()2087 if (si.hasIconUri() && si.hasIconResource()) { in verifyStates()
1429 if (shortcut.hasIconFile() || shortcut.hasIconResource() || shortcut.hasIconUri()) { in saveIconAndFixUpShortcutLocked()3218 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()
6014 HSPLandroid/content/pm/ShortcutInfo;->hasIconResource()Z