/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | BaseIconCache.java | 53 import com.android.launcher3.util.ComponentKey; 84 private final Map<ComponentKey, CacheEntry> mCache; 108 mCache = new AbstractMap<ComponentKey, CacheEntry>() { in BaseIconCache() 110 public Set<Entry<ComponentKey, CacheEntry>> entrySet() { in BaseIconCache() 115 public CacheEntry put(ComponentKey key, CacheEntry value) { in BaseIconCache() 196 mCache.remove(new ComponentKey(componentName, user)); in remove() 203 HashSet<ComponentKey> forDeletion = new HashSet<>(); in removeFromMemCacheLocked() 204 for (ComponentKey key: mCache.keySet()) { in removeFromMemCacheLocked() 210 for (ComponentKey condemned: forDeletion) { in removeFromMemCacheLocked() 257 final ComponentKey key = new ComponentKey(componentName, user); in addIconToDBAndMemCache() [all …]
|
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/util/ |
D | ComponentKey.java | 24 public class ComponentKey { class 31 public ComponentKey(ComponentName componentName, UserHandle user) { in ComponentKey() method in ComponentKey 48 ComponentKey other = (ComponentKey) o; in equals()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | AppWidgetManagerCompatVL.java | 32 import com.android.launcher3.util.ComponentKey; 118 public HashMap<ComponentKey, AppWidgetProviderInfo> getAllProvidersMap() { in getAllProvidersMap() 119 HashMap<ComponentKey, AppWidgetProviderInfo> result = new HashMap<>(); in getAllProvidersMap() 126 result.put(new ComponentKey(info.provider, user), info); in getAllProvidersMap() 130 result.put(new ComponentKey(info.provider, info.getProfile()), info); in getAllProvidersMap()
|
D | AppWidgetManagerCompat.java | 31 import com.android.launcher3.util.ComponentKey; 81 public abstract HashMap<ComponentKey, AppWidgetProviderInfo> getAllProvidersMap(); in getAllProvidersMap()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | ComponentKeyMapper.java | 27 import com.android.launcher3.util.ComponentKey; 31 protected final ComponentKey componentKey; 35 public ComponentKeyMapper(Context context, ComponentKey key, DynamicItemCache cache) { in ComponentKeyMapper() 49 public ComponentKey getComponentKey() { in getComponentKey()
|
D | PredictionUiStateManager.java | 47 import com.android.launcher3.util.ComponentKey; 241 ComponentKey key; in parseLastState() 245 key = new ComponentKey(new ComponentName(appTarget.getPackageName(), in parseLastState() 347 final ComponentKey k = new ComponentKey(itemInfo.getTargetComponent(), itemInfo.user); in fillInPredictedRank()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | BgDataModel.java | 41 import com.android.launcher3.util.ComponentKey; 105 public final HashMap<ComponentKey, Integer> deepShortcutMap = new HashMap<>(); 378 Iterator<ComponentKey> keysIter = deepShortcutMap.keySet().iterator(); in updateDeepShortcutCounts() 380 ComponentKey next = keysIter.next(); in updateDeepShortcutCounts() 393 ComponentKey targetComponent in updateDeepShortcutCounts() 394 = new ComponentKey(shortcut.getActivity(), shortcut.getUserHandle()); in updateDeepShortcutCounts() 423 void bindDeepShortcutMap(HashMap<ComponentKey, Integer> deepShortcutMap); in bindDeepShortcutMap() argument
|
D | WidgetItem.java | 13 import com.android.launcher3.util.ComponentKey; 22 public class WidgetItem extends ComponentKey implements Comparable<WidgetItem> {
|
D | BaseModelUpdateTask.java | 27 import com.android.launcher3.util.ComponentKey; 104 final HashMap<ComponentKey, Integer> shortcutMapCopy = in bindDeepShortcuts()
|
D | UserLockStateChangedTask.java | 32 import com.android.launcher3.util.ComponentKey; 109 Iterator<ComponentKey> keysIter = dataModel.deepShortcutMap.keySet().iterator(); in execute()
|
D | LoaderTask.java | 72 import com.android.launcher3.util.ComponentKey; 297 HashMap<ComponentKey, AppWidgetProviderInfo> widgetProvidersMap = null; in loadWorkspace() 613 new ComponentKey(component, c.user)); in loadWorkspace()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
D | DefaultAppSearchAlgorithm.java | 21 import com.android.launcher3.util.ComponentKey; 50 final ArrayList<ComponentKey> result = getTitleMatchResult(query); in doSearch() 60 private ArrayList<ComponentKey> getTitleMatchResult(String query) { in getTitleMatchResult() 64 final ArrayList<ComponentKey> result = new ArrayList<>(); in getTitleMatchResult()
|
D | AllAppsSearchBarController.java | 32 import com.android.launcher3.util.ComponentKey; 170 void onSearchResult(String query, ArrayList<ComponentKey> apps); in onSearchResult()
|
D | AppsSearchContainerLayout.java | 51 import com.android.launcher3.util.ComponentKey; 176 public void onSearchResult(String query, ArrayList<ComponentKey> apps) { in onSearchResult()
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | StatsLogManager.java | 23 import com.android.launcher3.util.ComponentKey; 42 public void logTaskLaunch(View v, ComponentKey key) { } in logTaskLaunch() 43 public void logTaskDismiss(View v, ComponentKey key) { } in logTaskDismiss()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskUtils.java | 28 import com.android.launcher3.util.ComponentKey; 60 public static ComponentKey getLaunchComponentKeyForTask(Task.TaskKey taskKey) { in getLaunchComponentKeyForTask() 64 return new ComponentKey(cn, UserHandle.of(taskKey.userId)); in getLaunchComponentKeyForTask()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppInfo.java | 29 import com.android.launcher3.util.ComponentKey; 101 public ComponentKey toComponentKey() { in toComponentKey() 102 return new ComponentKey(componentName, user); in toComponentKey()
|
D | WidgetPreviewLoader.java | 44 import com.android.launcher3.util.ComponentKey; 180 public void removeObsoletePreviews(ArrayList<? extends ComponentKey> list, in removeObsoletePreviews() 186 for (ComponentKey key : list) { in removeObsoletePreviews() 666 private static final class WidgetCacheKey extends ComponentKey {
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AlphabeticalAppsList.java | 25 import com.android.launcher3.util.ComponentKey; 144 private ArrayList<ComponentKey> mSearchResults; 224 public boolean setOrderedFilter(ArrayList<ComponentKey> f) { in setOrderedFilter() 411 for (ComponentKey key : mSearchResults) { in getFiltersAppInfos()
|
D | AllAppsStore.java | 28 import com.android.launcher3.util.ComponentKey; 70 public AppInfo getApp(ComponentKey key) { in getApp()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupDataProvider.java | 30 import com.android.launcher3.util.ComponentKey; 60 private HashMap<ComponentKey, Integer> mDeepShortcutMap = new HashMap<>(); 158 public void setDeepShortcutMap(HashMap<ComponentKey, Integer> deepShortcutMapCopy) { in setDeepShortcutMap() argument 172 Integer count = mDeepShortcutMap.get(new ComponentKey(component, info.user)); in getShortcutCountForItem()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | BaseModelUpdateTaskTestCase.java | 29 import com.android.launcher3.util.ComponentKey; 188 private final HashMap<ComponentKey, CacheEntry> mCache = new HashMap<>(); 200 CacheEntry entry = mCache.get(new ComponentKey(componentName, user)); in cacheLocked() 213 mCache.put(new ComponentKey(key, Process.myUserHandle()), entry); in addCache()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | LoaderResults.java | 21 import com.android.launcher3.util.ComponentKey; 40 final HashMap<ComponentKey, Integer> shortcutMapCopy; in bindDeepShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutKey.java | 9 import com.android.launcher3.util.ComponentKey; 14 public class ShortcutKey extends ComponentKey {
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/ |
D | StatsLogCompatManager.java | 42 import com.android.launcher3.util.ComponentKey; 76 public void logTaskLaunch(View v, ComponentKey componentKey) { in logTaskLaunch() 86 public void logTaskDismiss(View v, ComponentKey componentKey) { in logTaskDismiss()
|