Home
last modified time | relevance | path

Searched refs:ItemInfoMatcher (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DItemInfoMatcher.java34 public interface ItemInfoMatcher { interface
72 default ItemInfoMatcher or(ItemInfoMatcher matcher) { in or()
79 default ItemInfoMatcher and(ItemInfoMatcher matcher) { in and()
87 static ItemInfoMatcher not(ItemInfoMatcher matcher) { in not()
91 static ItemInfoMatcher ofUser(UserHandle user) { in ofUser()
95 static ItemInfoMatcher ofComponents(HashSet<ComponentName> components, UserHandle user) { in ofComponents()
99 static ItemInfoMatcher ofPackages(HashSet<String> packageNames, UserHandle user) { in ofPackages()
103 static ItemInfoMatcher ofShortcutKeys(HashSet<ShortcutKey> keys) { in ofShortcutKeys()
108 static ItemInfoMatcher ofItemIds(IntSparseArrayMap<Boolean> ids, Boolean matchDefault) { in ofItemIds()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java48 import com.android.launcher3.util.ItemInfoMatcher;
95 ItemInfoMatcher matcher = ItemInfoMatcher.ofPackages(packageSet, mUser); in execute()
151 matcher = ItemInfoMatcher.ofUser(mUser); in execute()
295 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofItemIds(removedShortcuts, false)); in execute()
326 ItemInfoMatcher removeMatch = ItemInfoMatcher.ofPackages(removedPackages, mUser) in execute()
327 .or(ItemInfoMatcher.ofComponents(removedComponents, mUser)) in execute()
328 .and(ItemInfoMatcher.ofItemIds(removedShortcuts, true)); in execute()
DBaseModelUpdateTask.java28 import com.android.launcher3.util.ItemInfoMatcher;
124 public void deleteAndBindComponentsRemoved(final ItemInfoMatcher matcher) { in deleteAndBindComponentsRemoved()
DShortcutsChangedTask.java30 import com.android.launcher3.util.ItemInfoMatcher;
112 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofShortcutKeys(removedKeys)); in execute()
DUserLockStateChangedTask.java34 import com.android.launcher3.util.ItemInfoMatcher;
107 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofShortcutKeys(removedKeys)); in execute()
DModelWriter.java43 import com.android.launcher3.util.ItemInfoMatcher;
259 public void deleteItemsFromDatabase(ItemInfoMatcher matcher) { in deleteItemsFromDatabase()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java54 import com.android.launcher3.util.ItemInfoMatcher;
82 private final ItemInfoMatcher mPersonalMatcher = ItemInfoMatcher.ofUser(Process.myUserHandle());
83 private final ItemInfoMatcher mWorkMatcher = ItemInfoMatcher.not(mPersonalMatcher);
584 void setup(@NonNull View rv, @Nullable ItemInfoMatcher matcher) { in setup()
DAlphabeticalAppsList.java28 import com.android.launcher3.util.ItemInfoMatcher;
154 private ItemInfoMatcher mItemFilter;
166 public void updateItemFilter(ItemInfoMatcher itemFilter) { in updateItemFilter()
/packages/apps/Launcher3/src/com/android/launcher3/
DAllAppsList.java31 import com.android.launcher3.util.ItemInfoMatcher;
154 public void updateDisabledFlags(ItemInfoMatcher matcher, FlagOp op) { in updateDisabledFlags()
DLauncherModel.java54 import com.android.launcher3.util.ItemInfoMatcher;
155 public void bindWorkspaceComponentsRemoved(ItemInfoMatcher matcher); in bindWorkspaceComponentsRemoved()
DWorkspace.java95 import com.android.launcher3.util.ItemInfoMatcher;
3021 public void removeItemsByMatcher(final ItemInfoMatcher matcher) { in removeItemsByMatcher()
3199 ItemInfoMatcher matcher = ItemInfoMatcher.ofPackages(packages, user); in removeAbandonedPromise()
DLauncher.java123 import com.android.launcher3.util.ItemInfoMatcher;
2408 public void bindWorkspaceComponentsRemoved(final ItemInfoMatcher matcher) { in bindWorkspaceComponentsRemoved()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java46 import com.android.launcher3.util.ItemInfoMatcher;
286 public void onAppsRemoved(ItemInfoMatcher matcher) { in onAppsRemoved()