Home
last modified time | relevance | path

Searched refs:pinnedShortcut (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java285 ShortcutKey pinnedShortcut = ShortcutKey.fromItemInfo(item); in removeItem() local
286 MutableInt count = pinnedShortcutCounts.get(pinnedShortcut); in removeItem()
289 .contains(pinnedShortcut)) { in removeItem()
290 DeepShortcutManager.getInstance(context).unpinShortcut(pinnedShortcut); in removeItem()
316 ShortcutKey pinnedShortcut = ShortcutKey.fromItemInfo(item); in addItem() local
317 MutableInt count = pinnedShortcutCounts.get(pinnedShortcut); in addItem()
320 pinnedShortcutCounts.put(pinnedShortcut, count); in addItem()
327 DeepShortcutManager.getInstance(context).pinShortcut(pinnedShortcut); in addItem()
DLoaderTask.java484 ShortcutInfo pinnedShortcut = in loadWorkspace() local
486 if (pinnedShortcut == null) { in loadWorkspace()
491 info = new WorkspaceItemInfo(pinnedShortcut, context); in loadWorkspace()
499 info.applyFrom(li.createShortcutIcon(pinnedShortcut, in loadWorkspace()
503 pinnedShortcut.getPackage(), info.user)) { in loadWorkspace()