Lines Matching refs:app
219 for (LauncherActivityInfo app : mLauncherApps.getActivityList(packageName, user)) { in updateIconsForPkg()
220 addIconToDBAndMemCache(app, info, userSerial, false /*replace existing*/); in updateIconsForPkg()
274 for (LauncherActivityInfo app : apps) { in updateDBIcons()
275 componentMap.put(app.getComponentName(), app); in updateDBIcons() local
314 LauncherActivityInfo app = componentMap.remove(component); in updateDBIcons() local
320 if (app == null) { in updateDBIcons()
324 appsToUpdate.add(app); in updateDBIcons()
355 @Thunk synchronized void addIconToDBAndMemCache(LauncherActivityInfo app, in addIconToDBAndMemCache() argument
357 final ComponentKey key = new ComponentKey(app.getComponentName(), app.getUser()); in addIconToDBAndMemCache()
368 entry.icon = LauncherIcons.createBadgedIconBitmap(getFullResIcon(app), app.getUser(), in addIconToDBAndMemCache()
369 mContext, app.getApplicationInfo().targetSdkVersion); in addIconToDBAndMemCache()
371 entry.title = app.getLabel(); in addIconToDBAndMemCache()
372 entry.contentDescription = mUserManager.getBadgedLabelForUser(entry.title, app.getUser()); in addIconToDBAndMemCache()
377 app.getApplicationInfo().packageName); in addIconToDBAndMemCache()
378 addIconToDB(values, app.getComponentName(), info, userSerial); in addIconToDBAndMemCache()
728 LauncherActivityInfo app = mAppsToUpdate.pop(); in run() local
729 String pkg = app.getComponentName().getPackageName(); in run()
731 addIconToDBAndMemCache(app, info, mUserSerial, true /*replace existing*/); in run()
743 LauncherActivityInfo app = mAppsToAdd.pop(); in run() local
744 PackageInfo info = mPkgInfoMap.get(app.getComponentName().getPackageName()); in run()
748 addIconToDBAndMemCache(app, info, mUserSerial, false /*replace existing*/); in run()