Searched refs:hasIconResource (Results 1 – 6 of 6) sorted by relevance
1445 public boolean hasIconResource() { in hasIconResource() method in ShortcutInfo1456 return hasIconResource() || hasStringResources(); in hasAnyResources()1810 if (hasIconResource()) { in toStringInner()
841 } else if (shortcut.hasIconResource()) { in getShortcutIconDrawable()
2034 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);
1069 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()
1597 if (si.hasIconFile() && si.hasIconResource()) { in verifyStates()
1347 if (shortcut.hasIconFile() || shortcut.hasIconResource()) { in saveIconAndFixUpShortcutLocked()2569 return (shortcutInfo != null && shortcutInfo.hasIconResource()) in getShortcutIconResId()