Home
last modified time | relevance | path

Searched refs:PackageUserKey (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java31 import com.android.launcher3.util.PackageUserKey;
57 private Map<PackageUserKey, DotInfo> mPackageUserToDotInfos = new HashMap<>();
67 private void updateNotificationDots(Predicate<PackageUserKey> updatedDots) { in updateNotificationDots()
73 public void onNotificationPosted(PackageUserKey postedPackageUserKey, in onNotificationPosted()
100 public void onNotificationRemoved(PackageUserKey removedPackageUserKey, in onNotificationRemoved()
116 HashMap<PackageUserKey, DotInfo> updatedDots = new HashMap<>(mPackageUserToDotInfos); in onNotificationFullRefresh()
119 PackageUserKey packageUserKey = PackageUserKey.fromNotification(notification); in onNotificationFullRefresh()
129 for (PackageUserKey packageUserKey : mPackageUserToDotInfos.keySet()) { in onNotificationFullRefresh()
148 private void trimNotifications(Map<PackageUserKey, DotInfo> updatedDots) { in trimNotifications() argument
175 return mPackageUserToDotInfos.get(PackageUserKey.fromItemInfo(info)); in getDotInfoForItem()
[all …]
DPopupContainerWithArrow.java74 import com.android.launcher3.util.PackageUserKey;
494 public void onNotificationDotsUpdated(Predicate<PackageUserKey> updatedDots) {
496 PackageUserKey packageUser = PackageUserKey.fromItemInfo(itemInfo);
512 public void trimNotifications(Map<PackageUserKey, DotInfo> updatedDots) {
517 DotInfo dotInfo = updatedDots.get(PackageUserKey.fromItemInfo(originalInfo));
DPopupPopulator.java33 import com.android.launcher3.util.PackageUserKey;
164 PackageUserKey.fromItemInfo(originalInfo))); in createUpdateRunnable()
DSystemShortcut.java28 import com.android.launcher3.util.PackageUserKey;
135 launcher.getPopupDataProvider().getWidgetsForPackageUser(new PackageUserKey( in getOnClickListener()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageUserKey.java12 public class PackageUserKey { class
18 public static PackageUserKey fromItemInfo(ItemInfo info) { in fromItemInfo()
19 return new PackageUserKey(info.getTargetComponent().getPackageName(), info.user); in fromItemInfo()
22 public static PackageUserKey fromNotification(StatusBarNotification notification) { in fromNotification()
23 return new PackageUserKey(notification.getPackageName(), notification.getUser()); in fromNotification()
26 public PackageUserKey(String packageName, UserHandle user) { in PackageUserKey() method in PackageUserKey
55 if (!(obj instanceof PackageUserKey)) return false; in equals()
56 PackageUserKey otherKey = (PackageUserKey) obj; in equals()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java36 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()
DNotificationInfo.java35 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/allapps/
DAllAppsStore.java26 import com.android.launcher3.util.PackageUserKey;
47 private PackageUserKey mTempKey = new PackageUserKey(null, null);
137 public void updateNotificationDots(Predicate<PackageUserKey> updatedDots) { in updateNotificationDots()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAppWidgetManagerCompatVL.java31 import com.android.launcher3.util.PackageUserKey;
52 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders()
105 getAllProviders(new PackageUserKey(provider.getPackageName(), user))) { in findProvider()
DAppWidgetManagerCompatVO.java23 import com.android.launcher3.util.PackageUserKey;
37 public List<AppWidgetProviderInfo> getAllProviders(@Nullable PackageUserKey packageUser) { in getAllProviders()
DAppWidgetManagerCompat.java31 import com.android.launcher3.util.PackageUserKey;
76 @Nullable PackageUserKey packageUser); in getAllProviders()
DLauncherAppsCompat.java31 import com.android.launcher3.util.PackageUserKey;
88 @Nullable PackageUserKey packageUser); in getCustomShortcutActivityList()
DLauncherAppsCompatVO.java39 import com.android.launcher3.util.PackageUserKey;
66 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()
DLauncherAppsCompatVL.java36 import com.android.launcher3.util.PackageUserKey;
188 @Nullable PackageUserKey packageUser) { in getCustomShortcutActivityList()
/packages/apps/Launcher3/go/src/com/android/launcher3/model/
DWidgetsModel.java24 import com.android.launcher3.util.PackageUserKey;
59 @Nullable PackageUserKey packageUser) { in update()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/
DWidgetsModel.java26 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/
DWidgetsBottomSheet.java42 import com.android.launcher3.util.PackageUserKey;
100 new PackageUserKey( in onWidgetsBound()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java50 import com.android.launcher3.util.PackageUserKey;
349 dataModel.widgetsModel.update(app, new PackageUserKey(packages[i], mUser)); in execute()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java55 import com.android.launcher3.util.PackageUserKey;
558 public void refreshAndBindWidgetsAndShortcuts(@Nullable final PackageUserKey packageUser) { in refreshAndBindWidgetsAndShortcuts()
DWidgetPreviewLoader.java41 import com.android.launcher3.util.PackageUserKey;
184 @Nullable PackageUserKey packageUser) { in removeObsoletePreviews()
DWorkspace.java96 import com.android.launcher3.util.PackageUserKey;
3160 public void updateNotificationDots(Predicate<PackageUserKey> updatedDots) { in updateNotificationDots()
3161 final PackageUserKey packageUserKey = new PackageUserKey(null, null); in updateNotificationDots()
DLauncher.java127 import com.android.launcher3.util.PackageUserKey;
1275 public void updateNotificationDots(Predicate<PackageUserKey> updatedDots) { in updateNotificationDots()
2427 public void refreshAndBindWidgetsForPackageUser(@Nullable PackageUserKey packageUser) { in refreshAndBindWidgetsForPackageUser()