/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PackageUserKey.java | 13 public class PackageUserKey { class 20 public static PackageUserKey fromItemInfo(ItemInfo info) { in fromItemInfo() 22 return new PackageUserKey(info.getTargetComponent().getPackageName(), info.user); in fromItemInfo() 25 public static PackageUserKey fromNotification(StatusBarNotification notification) { in fromNotification() 26 return new PackageUserKey(notification.getPackageName(), notification.getUser()); in fromNotification() 29 public PackageUserKey(String packageName, UserHandle user) { in PackageUserKey() method in PackageUserKey 59 if (!(obj instanceof PackageUserKey)) return false; in equals() 60 PackageUserKey otherKey = (PackageUserKey) obj; in equals()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupDataProvider.java | 31 import com.android.launcher3.util.PackageUserKey; 62 private Map<PackageUserKey, DotInfo> mPackageUserToDotInfos = new HashMap<>(); 72 private void updateNotificationDots(Predicate<PackageUserKey> updatedDots) { in updateNotificationDots() 78 public void onNotificationPosted(PackageUserKey postedPackageUserKey, in onNotificationPosted() 105 public void onNotificationRemoved(PackageUserKey removedPackageUserKey, in onNotificationRemoved() 121 HashMap<PackageUserKey, DotInfo> updatedDots = new HashMap<>(mPackageUserToDotInfos); in onNotificationFullRefresh() 124 PackageUserKey packageUserKey = PackageUserKey.fromNotification(notification); in onNotificationFullRefresh() 134 for (PackageUserKey packageUserKey : mPackageUserToDotInfos.keySet()) { in onNotificationFullRefresh() 154 private void trimNotifications(Map<PackageUserKey, DotInfo> updatedDots) { in trimNotifications() argument 180 DotInfo dotInfo = mPackageUserToDotInfos.get(PackageUserKey.fromItemInfo(info)); in getDotInfoForItem() [all …]
|
D | PopupContainerWithArrow.java | 72 import com.android.launcher3.util.PackageUserKey; 496 public void onNotificationDotsUpdated(Predicate<PackageUserKey> updatedDots) { 498 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo); 514 public void trimNotifications(Map<PackageUserKey, DotInfo> updatedDots) { 519 DotInfo dotInfo = updatedDots.get(PackageUserKey.fromItemInfo(originalInfo));
|
D | PopupPopulator.java | 33 import com.android.launcher3.util.PackageUserKey; 164 PackageUserKey.fromItemInfo(originalInfo))); in createUpdateRunnable()
|
D | SystemShortcut.java | 31 import com.android.launcher3.util.PackageUserKey; 140 launcher.getPopupDataProvider().getWidgetsForPackageUser(new PackageUserKey( in getOnClickListener()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationListener.java | 38 import com.android.launcher3.util.PackageUserKey; 126 Pair<PackageUserKey, NotificationKeyData> pair 127 = (Pair<PackageUserKey, NotificationKeyData>) message.obj; 240 final PackageUserKey packageUserKey; 245 packageUserKey = PackageUserKey.fromNotification(sbn); in NotificationPostedMsg() 258 Pair<PackageUserKey, NotificationKeyData> packageUserKeyAndNotificationKey in onNotificationRemoved() 259 = new Pair<>(PackageUserKey.fromNotification(sbn), in onNotificationRemoved() 389 void onNotificationPosted(PackageUserKey postedPackageUserKey, in onNotificationPosted() 391 void onNotificationRemoved(PackageUserKey removedPackageUserKey, in onNotificationRemoved()
|
D | NotificationInfo.java | 35 import com.android.launcher3.util.PackageUserKey; 46 public final PackageUserKey packageUserKey; 62 packageUserKey = PackageUserKey.fromNotification(statusBarNotification); in NotificationInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | PackageInstallerCompatVL.java | 38 import com.android.launcher3.util.PackageUserKey; 52 @Thunk final SparseArray<PackageUserKey> mActiveSessions = new SparseArray<>(); 91 public HashMap<PackageUserKey, SessionInfo> updateAndGetActiveSessionCache() { in updateAndGetActiveSessionCache() 92 HashMap<PackageUserKey, SessionInfo> activePackages = new HashMap<>(); in updateAndGetActiveSessionCache() 96 activePackages.put(new PackageUserKey(info.getAppPackageName(), in updateAndGetActiveSessionCache() 99 new PackageUserKey(info.getAppPackageName(), getUserHandle(info))); in updateAndGetActiveSessionCache() 182 PackageUserKey key = mActiveSessions.get(sessionId); 226 new PackageUserKey(session.getAppPackageName(), user));
|
D | AppWidgetManagerCompatVL.java | 33 import com.android.launcher3.util.PackageUserKey; 53 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders() 101 getAllProviders(new PackageUserKey(provider.getPackageName(), user))) { in findProvider()
|
D | AppWidgetManagerCompatVO.java | 25 import com.android.launcher3.util.PackageUserKey; 37 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders()
|
D | AppWidgetManagerCompat.java | 32 import com.android.launcher3.util.PackageUserKey; 73 @Nullable PackageUserKey packageUser); in getAllProviders()
|
D | PackageInstallerCompat.java | 33 import com.android.launcher3.util.PackageUserKey; 64 public abstract HashMap<PackageUserKey, SessionInfo> updateAndGetActiveSessionCache(); in updateAndGetActiveSessionCache()
|
D | LauncherAppsCompat.java | 35 import com.android.launcher3.util.PackageUserKey; 92 @Nullable PackageUserKey packageUser); in getCustomShortcutActivityList()
|
D | LauncherAppsCompatVO.java | 41 import com.android.launcher3.util.PackageUserKey; 66 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()
|
D | LauncherAppsCompatVL.java | 40 import com.android.launcher3.util.PackageUserKey; 197 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsStore.java | 29 import com.android.launcher3.util.PackageUserKey; 47 private PackageUserKey mTempKey = new PackageUserKey(null, null); 126 public void updateNotificationDots(Predicate<PackageUserKey> updatedDots) { in updateNotificationDots()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | FirstScreenBroadcast.java | 29 import com.android.launcher3.util.PackageUserKey; 66 public FirstScreenBroadcast(HashMap<PackageUserKey, SessionInfo> sessionInfoForPackage) { in FirstScreenBroadcast() argument 75 HashMap<PackageUserKey, SessionInfo> sessionInfoForPackage) { in getPackagesForInstaller() argument 77 for (Map.Entry<PackageUserKey, SessionInfo> entry : sessionInfoForPackage.entrySet()) { in getPackagesForInstaller()
|
D | LoaderTask.java | 77 import com.android.launcher3.util.PackageUserKey; 288 final HashMap<PackageUserKey, SessionInfo> installingPkgs = in loadWorkspace() 290 final PackageUserKey tempPackageKey = new PackageUserKey(null, null); in loadWorkspace()
|
D | PackageUpdatedTask.java | 49 import com.android.launcher3.util.PackageUserKey; 330 dataModel.widgetsModel.update(app, new PackageUserKey(packages[i], mUser)); in execute()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/ |
D | CustomWidgetManager.java | 36 import com.android.launcher3.util.PackageUserKey; 63 private Consumer<PackageUserKey> mWidgetRefreshCallback; 105 public void setWidgetRefreshCallback(Consumer<PackageUserKey> cb) { in setWidgetRefreshCallback()
|
/packages/apps/Launcher3/go/src/com/android/launcher3/model/ |
D | WidgetsModel.java | 24 import com.android.launcher3.util.PackageUserKey; 59 @Nullable PackageUserKey packageUser) { in update()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | WidgetsModel.java | 26 import com.android.launcher3.util.PackageUserKey; 84 …public List<ComponentWithLabel> update(LauncherAppState app, @Nullable PackageUserKey packageUser)… in update() 128 LauncherAppState app, @Nullable PackageUserKey packageUser) { in setWidgetsAndShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsBottomSheet.java | 42 import com.android.launcher3.util.PackageUserKey; 100 new PackageUserKey( in onWidgetsBound()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 58 import com.android.launcher3.util.PackageUserKey; 529 public void refreshAndBindWidgetsAndShortcuts(@Nullable final PackageUserKey packageUser) { in refreshAndBindWidgetsAndShortcuts()
|
D | WidgetPreviewLoader.java | 46 import com.android.launcher3.util.PackageUserKey; 181 @Nullable PackageUserKey packageUser) { in removeObsoletePreviews()
|