/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | PinnedAppsAdapter.java | 41 import com.android.launcher3.util.ComponentKey; 66 private final Set<ComponentKey> mPinnedApps = new HashSet<>(); 88 Set<ComponentKey> apps = prefs.getStringSet(key, Collections.emptySet()) in onSharedPreferenceChanged() 171 private void update(ItemInfo info, Function<ComponentKey, Boolean> op) { in update() argument 172 ComponentKey key = new ComponentKey(info.getTargetComponent(), info.user); in update() 175 Set<ComponentKey> copy = new HashSet<>(mPinnedApps); in update() 183 private ComponentKey parseComponentKey(String string) { in parseComponentKey() 194 return new ComponentKey(cn, user); in parseComponentKey() 200 private String encode(ComponentKey key) { in encode() 210 mPinnedApps.contains(new ComponentKey(info.getTargetComponent(), info.user))); in getSystemShortcut()
|
D | SecondaryDisplayLauncher.java | 42 import com.android.launcher3.util.ComponentKey; 284 public void bindDeepShortcutMap(HashMap<ComponentKey, Integer> deepShortcutMap) { in bindDeepShortcutMap() argument
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | WidgetsPredictionUpdateTask.java | 28 import com.android.launcher3.util.ComponentKey; 56 Set<ComponentKey> widgetsInWorkspace = dataModel.appWidgets.stream().map( in execute() 57 widget -> new ComponentKey(widget.providerName, widget.user)).collect( in execute() 73 new ComponentKey(item.componentName, item.user))) in execute() 85 Map<ComponentKey, WidgetItem> widgetItems = in execute() 87 .collect(Collectors.toMap(widget -> (ComponentKey) widget, in execute() 93 ComponentKey targetWidget = new ComponentKey( in execute()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupDataProvider.java | 31 import com.android.launcher3.util.ComponentKey; 59 private HashMap<ComponentKey, Integer> mDeepShortcutMap = new HashMap<>(); 146 public void setDeepShortcutMap(HashMap<ComponentKey, Integer> deepShortcutMapCopy) { in setDeepShortcutMap() argument 160 Integer count = mDeepShortcutMap.get(new ComponentKey(component, info.user)); in getShortcutCountForItem() 218 HashMap<ComponentKey, WidgetItem> allWidgetItems = new HashMap<>(); in getRecommendedWidgets() 223 new ComponentKey(widget.componentName, widget.user), widget))); in getRecommendedWidgets() 226 new ComponentKey(recommendedWidget.getTargetComponent(), in getRecommendedWidgets()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | CachingWidgetPreviewLoader.java | 30 import com.android.launcher3.util.ComponentKey; 42 @NonNull private final Map<ComponentKey, Map<Size, CacheResult>> mCache = new ArrayMap<>(); 85 ComponentKey key = toComponentKey(item); in putCacheResult() 106 ComponentKey key = toComponentKey(item); in removeCacheResult() 286 private static ComponentKey toComponentKey(@NonNull WidgetItem item) { in toComponentKey() 287 return new ComponentKey(item.componentName, item.user); in toComponentKey()
|
D | DatabaseWidgetPreviewLoader.java | 65 import com.android.launcher3.util.ComponentKey; 234 public void removeObsoletePreviews(ArrayList<? extends ComponentKey> list, in removeObsoletePreviews() 240 for (ComponentKey key : list) { in removeObsoletePreviews() 771 private static final class WidgetCacheKey extends ComponentKey {
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | BgDataModel.java | 47 import com.android.launcher3.util.ComponentKey; 107 public final HashMap<ComponentKey, Integer> deepShortcutMap = new HashMap<>(); 352 Iterator<ComponentKey> keysIter = deepShortcutMap.keySet().iterator(); in updateDeepShortcutCounts() 354 ComponentKey next = keysIter.next(); in updateDeepShortcutCounts() 368 ComponentKey targetComponent in updateDeepShortcutCounts() 369 = new ComponentKey(shortcut.getActivity(), shortcut.getUserHandle()); in updateDeepShortcutCounts() 473 void bindDeepShortcutMap(HashMap<ComponentKey, Integer> deepShortcutMap); in bindDeepShortcutMap() argument
|
D | WidgetItem.java | 14 import com.android.launcher3.util.ComponentKey; 22 public class WidgetItem extends ComponentKey {
|
D | UserLockStateChangedTask.java | 30 import com.android.launcher3.util.ComponentKey; 103 Iterator<ComponentKey> keysIter = dataModel.deepShortcutMap.keySet().iterator(); in execute()
|
D | BaseModelUpdateTask.java | 29 import com.android.launcher3.util.ComponentKey; 120 final HashMap<ComponentKey, Integer> shortcutMapCopy = in bindDeepShortcuts()
|
D | LoaderTask.java | 87 import com.android.launcher3.util.ComponentKey; 135 protected final Map<ComponentKey, AppWidgetProviderInfo> mWidgetProvidersMap = new ArrayMap<>(); 677 ComponentKey providerKey = new ComponentKey(component, c.user); in loadWorkspace()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskUtils.java | 29 import com.android.launcher3.util.ComponentKey; 62 public static ComponentKey getLaunchComponentKeyForTask(Task.TaskKey taskKey) { in getLaunchComponentKeyForTask() 66 return new ComponentKey(cn, UserHandle.of(taskKey.userId)); in getLaunchComponentKeyForTask()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/shadows/ |
D | LShadowLauncherApps.java | 36 import com.android.launcher3.util.ComponentKey; 56 public final ArraySet<ComponentKey> disabledActivities = new ArraySet<>(); 75 return !disabledActivities.contains(new ComponentKey(component, user)); in isActivityEnabled()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | AppInfo.java | 38 import com.android.launcher3.util.ComponentKey; 142 public ComponentKey toComponentKey() { in toComponentKey() 143 return new ComponentKey(componentName, user); in toComponentKey()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | LoaderResults.java | 23 import com.android.launcher3.util.ComponentKey; 41 final HashMap<ComponentKey, Integer> shortcutMapCopy; in bindDeepShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 85 import com.android.launcher3.util.ComponentKey; 280 Map<ComponentKey, AppWidgetProviderInfo> widgetProviderInfoMap) { in getRenderedView() argument 351 Map<ComponentKey, AppWidgetProviderInfo> widgetProviderInfoMap) { 356 new ComponentKey(info.providerName, info.user)); 413 Map<ComponentKey, AppWidgetProviderInfo> widgetProviderInfoMap) {
|
D | PreviewSurfaceRenderer.java | 52 import com.android.launcher3.util.ComponentKey; 202 Map<ComponentKey, AppWidgetProviderInfo> widgetProviderInfoMap) { in renderView() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutKey.java | 10 import com.android.launcher3.util.ComponentKey; 15 public class ShortcutKey extends ComponentKey {
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsStore.java | 30 import com.android.launcher3.util.ComponentKey; 89 public AppInfo getApp(ComponentKey key) { in getApp()
|
/packages/apps/Launcher3/quickstep/robolectric_tests/src/com/android/launcher3/model/ |
D | WidgetsPredicationUpdateTaskTest.java | 49 import com.android.launcher3.util.ComponentKey; 296 public void bindDeepShortcutMap(HashMap<ComponentKey, Integer> deepShortcutMap) { } in bindDeepShortcutMap() argument
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskView.java | 88 import com.android.launcher3.util.ComponentKey; 419 ComponentKey componentKey = TaskUtils.getLaunchComponentKeyForTask(task.key); in getItemInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 167 import com.android.launcher3.util.ComponentKey; 2646 public void bindDeepShortcutMap(HashMap<ComponentKey, Integer> deepShortcutMapCopy) { in bindDeepShortcutMap() argument
|