Searched refs:hasIconResource (Results 1 – 6 of 6) sorted by relevance
1622 public boolean hasIconResource() { in hasIconResource() method in ShortcutInfo1633 return hasIconResource() || hasStringResources(); in hasAnyResources()2028 if (hasIconResource()) { in toStringInner()
951 } else if (shortcut.hasIconResource()) { in getShortcutIconDrawable()
2084 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);
1109 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()
1732 if (si.hasIconFile() && si.hasIconResource()) { in verifyStates()
1394 if (shortcut.hasIconFile() || shortcut.hasIconResource()) { in saveIconAndFixUpShortcutLocked()2722 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()