Searched refs:shortcut (Results 1 – 2 of 2) sorted by relevance
96 for (ShortcutInfo shortcut : mShortcutManager.getDynamicShortcuts()) { in getShortcuts()97 if (!shortcut.isImmutable()) { in getShortcuts()98 ret.add(shortcut); in getShortcuts()99 seenKeys.add(shortcut.getId()); in getShortcuts()102 for (ShortcutInfo shortcut : mShortcutManager.getPinnedShortcuts()) { in getShortcuts()103 if (!shortcut.isImmutable() && !seenKeys.contains(shortcut.getId())) { in getShortcuts()104 ret.add(shortcut); in getShortcuts()105 seenKeys.add(shortcut.getId()); in getShortcuts()129 for (ShortcutInfo shortcut : getShortcuts()) { in refreshShortcuts()130 if (shortcut.isImmutable()) { in refreshShortcuts()[all …]
129 final ShortcutInfo shortcut = (ShortcutInfo) ((View) v.getParent()).getTag(); in onClick() local133 if (shortcut.isEnabled()) { in onClick()134 mHelper.disableShortcut(shortcut); in onClick()136 mHelper.enableShortcut(shortcut); in onClick()141 mHelper.removeShortcut(shortcut); in onClick()149 private String getType(ShortcutInfo shortcut) { in getType() argument152 if (shortcut.isDynamic()) { in getType()157 if (shortcut.isPinned()) { in getType()162 if (!shortcut.isEnabled()) { in getType()229 public void bindView(View view, int position, ShortcutInfo shortcut) { in bindView() argument[all …]