Home
last modified time | relevance | path

Searched refs:iconCache (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java34 InvariantDeviceProfile idp, IconCache iconCache) { in WidgetItem() argument
37 label = iconCache.getTitleNoCache(info); in WidgetItem()
45 public WidgetItem(ShortcutConfigActivityInfo info, IconCache iconCache, PackageManager pm) { in WidgetItem() argument
47 label = info.isPersistable() ? iconCache.getTitleNoCache(info) : in WidgetItem()
DPackageUpdatedTask.java96 final IconCache iconCache = app.getIconCache(); in execute() local
109 iconCache.updateIconsForPkg(packages[i], mUser); in execute()
128 iconCache.updateIconsForPkg(packages[i], mUser); in execute()
139 iconCache.removeIconsForPkg(packages[i], mUser); in execute()
251 iconCache.getTitleAndIcon(si, si.usingLowResIcon()); in execute()
DCacheDataUpdatedTask.java50 IconCache iconCache = app.getIconCache(); in execute() local
63 iconCache.getTitleAndIcon(si, si.usingLowResIcon()); in execute()
DAllAppsList.java78 public AllAppsList(IconCache iconCache, AppFilter appFilter) { in AllAppsList() argument
79 mIconCache = iconCache; in AllAppsList()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBaseModelUpdateTaskTestCase.java64 public MyIconCache iconCache; field in BaseModelUpdateTaskTestCase
92 iconCache = new MyIconCache(targetContext, idp); in setUp()
94 allAppsList = new AllAppsList(iconCache, new AppFilter()); in setUp()
96 when(appState.getIconCache()).thenReturn(iconCache); in setUp()
DCacheDataUpdatedTaskTest.java35 iconCache.addCache(info.getTargetComponent(), NEW_LABEL_PREFIX + info.id); in initData()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DDynamicItemCache.java210 IconCache iconCache = LauncherAppState.getInstance(mContext).getIconCache(); in loadInstantApp() local
211 iconCache.getTitleAndIcon(info, false); in loadInstantApp()
212 if (info.iconBitmap == null || iconCache.isDefaultIcon(info.iconBitmap, info.user)) { in loadInstantApp()
DPredictionUiStateManager.java260 IconCache iconCache = LauncherAppState.getInstance(mContext).getIconCache(); in updateDependencies() local
279 iconCache.updateIconInBackground(this, info); in updateDependencies()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DNormalizedIconLoader.java47 public NormalizedIconLoader(Context context, TaskKeyLruCache<Drawable> iconCache, in NormalizedIconLoader() argument
50 super(context, iconCache, activityInfoCache); in NormalizedIconLoader()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsDiffReporter.java41 public WidgetsDiffReporter(IconCache iconCache, RecyclerView.Adapter listener) { in WidgetsDiffReporter() argument
42 mIconCache = iconCache; in WidgetsDiffReporter()
DWidgetsListAdapter.java65 WidgetPreviewLoader widgetPreviewLoader, IconCache iconCache, in WidgetsListAdapter() argument
72 mDiffReporter = new WidgetsDiffReporter(iconCache, this); in WidgetsListAdapter()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java214 IconCache iconCache = app.getIconCache(); in setWidgetsAndShortcuts() local
216 iconCache.getTitleAndIconForApp(p, true /* userLowResIcon */); in setWidgetsAndShortcuts()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java125 LauncherModel(LauncherAppState app, IconCache iconCache, AppFilter appFilter) { in LauncherModel() argument
127 mBgAllAppsList = new AllAppsList(iconCache, appFilter); in LauncherModel()
DWidgetPreviewLoader.java80 public WidgetPreviewLoader(Context context, IconCache iconCache) { in WidgetPreviewLoader() argument
82 mIconCache = iconCache; in WidgetPreviewLoader()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskView.java347 TaskIconCache iconCache = model.getIconCache(); in onTaskListVisibilityChanged() local
350 mIconLoadRequest = iconCache.updateIconInBackground(mTask, in onTaskListVisibilityChanged()