Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DItemInfoMatcher.java35 public abstract class ItemInfoMatcher { class
73 public ItemInfoMatcher or(final ItemInfoMatcher matcher) { in or()
74 final ItemInfoMatcher that = this; in or()
75 return new ItemInfoMatcher() { in or()
86 public ItemInfoMatcher and(final ItemInfoMatcher matcher) {
87 final ItemInfoMatcher that = this;
88 return new ItemInfoMatcher() {
96 public static ItemInfoMatcher ofUser(final UserHandle user) {
97 return new ItemInfoMatcher() {
105 public static ItemInfoMatcher ofComponents(
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java45 import com.android.launcher3.util.ItemInfoMatcher;
92 ItemInfoMatcher matcher = ItemInfoMatcher.ofPackages(packageSet, mUser); in execute()
148 matcher = ItemInfoMatcher.ofUser(mUser); in execute()
283 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofItemIds(removedShortcuts, false)); in execute()
320 ItemInfoMatcher removeMatch = ItemInfoMatcher.ofPackages(removedPackages, mUser) in execute()
321 .or(ItemInfoMatcher.ofComponents(removedComponents, mUser)) in execute()
322 .and(ItemInfoMatcher.ofItemIds(removedShortcuts, true)); in execute()
DBaseModelUpdateTask.java29 import com.android.launcher3.util.ItemInfoMatcher;
130 public void deleteAndBindComponentsRemoved(final ItemInfoMatcher matcher) { in deleteAndBindComponentsRemoved()
DShortcutsChangedTask.java30 import com.android.launcher3.util.ItemInfoMatcher;
109 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofShortcutKeys(removedKeys)); in execute()
DUserLockStateChangedTask.java32 import com.android.launcher3.util.ItemInfoMatcher;
102 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofShortcutKeys(removedKeys)); in execute()
DModelWriter.java36 import com.android.launcher3.util.ItemInfoMatcher;
238 public void deleteItemsFromDatabase(ItemInfoMatcher matcher) { in deleteItemsFromDatabase()
/packages/apps/Launcher3/src/com/android/launcher3/
DAllAppsList.java32 import com.android.launcher3.util.ItemInfoMatcher;
152 public void updateDisabledFlags(ItemInfoMatcher matcher, FlagOp op) { in updateDisabledFlags()
DLauncherModel.java59 import com.android.launcher3.util.ItemInfoMatcher;
155 public void bindWorkspaceComponentsRemoved(ItemInfoMatcher matcher); in bindWorkspaceComponentsRemoved()
DWorkspace.java83 import com.android.launcher3.util.ItemInfoMatcher;
3764 public void removeItemsByMatcher(final ItemInfoMatcher matcher) {
3935 ItemInfoMatcher matcher = ItemInfoMatcher.ofPackages(packages, user);
DLauncher.java125 import com.android.launcher3.util.ItemInfoMatcher;
3793 public void bindWorkspaceComponentsRemoved(final ItemInfoMatcher matcher) {
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java39 import com.android.launcher3.util.ItemInfoMatcher;
258 public void onAppsRemoved(ItemInfoMatcher matcher) { in onAppsRemoved()