Home
last modified time | relevance | path

Searched refs:mUserCache (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DPredictionModel.java49 private UserCache mUserCache; field in PredictionModel
66 mUserCache = UserCache.INSTANCE.get(mContext); in init()
115 long userSerialNumber = mUserCache.getSerialNumberForUser(componentKey.user); in serializeComponentKeyToString()
130 UserHandle userHandle = mUserCache.getUserForSerialNumber(serialNumber); in getComponentKeyFromSerializedString()
DLoaderTask.java122 private final UserCache mUserCache; field in LoaderTask
142 mUserCache = UserCache.INSTANCE.get(mApp.getContext()); in LoaderTask()
366 mUserManagerState.init(mUserCache, mUserManager); in loadWorkspace()
368 for (UserHandle user : mUserCache.getUserProfiles()) { in loadWorkspace()
369 long serialNo = mUserCache.getSerialNumberForUser(user); in loadWorkspace()
887 final List<UserHandle> profiles = mUserCache.getUserProfiles(); in loadAllApps()
943 for (UserHandle user : mUserCache.getUserProfiles()) { in loadDeepShortcuts()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java81 private final UserCache mUserCache; field in WidgetPreviewLoader
90 mUserCache = UserCache.INSTANCE.get(context); in WidgetPreviewLoader()
200 values.put(CacheDb.COLUMN_USER, mUserCache.getSerialNumberForUser(key.user)); in writeToDb()
210 removePackage(packageName, user, mUserCache.getSerialNumberForUser(user)); in removePackage()
239 final long userId = mUserCache.getSerialNumberForUser(key.user); in removeObsoletePreviews()
250 : mUserCache.getSerialNumberForUser(packageUser.mUser); in removeObsoletePreviews()
289 UserHandle user = mUserCache.getUserForSerialNumber(userId); in removeObsoletePreviews()
315 Long.toString(mUserCache.getSerialNumberForUser(key.user)), in readFromDb()