Lines Matching refs:shortcut
2651 final ShortcutInfo shortcut = (ShortcutInfo) tag; in onClickAppShortcut() local
2653 if (shortcut.isDisabled != 0) { in onClickAppShortcut()
2654 if ((shortcut.isDisabled & ShortcutInfo.FLAG_DISABLED_SUSPENDED) != 0 in onClickAppShortcut()
2655 || (shortcut.isDisabled & ShortcutInfo.FLAG_DISABLED_QUIET_USER) != 0) { in onClickAppShortcut()
2659 if ((shortcut.isDisabled & ShortcutInfo.FLAG_DISABLED_SAFEMODE) != 0) { in onClickAppShortcut()
2669 && shortcut.isPromise() in onClickAppShortcut()
2670 && !shortcut.hasStatusFlag(ShortcutInfo.FLAG_INSTALL_SESSION_ACTIVE)) { in onClickAppShortcut()
2672 shortcut.getTargetComponent().getPackageName(), in onClickAppShortcut()
2691 final ShortcutInfo shortcut; in startAppShortcutOrInfoActivity() local
2694 shortcut = (ShortcutInfo) tag; in startAppShortcutOrInfoActivity()
2695 intent = shortcut.intent; in startAppShortcutOrInfoActivity()
2702 shortcut = null; in startAppShortcutOrInfoActivity()
2709 mStats.recordLaunch(v, intent, shortcut); in startAppShortcutOrInfoActivity()