Searched refs:ItemInfoMatcher (Results 1 – 16 of 16) sorted by relevance
32 public interface ItemInfoMatcher { interface51 default ItemInfoMatcher or(ItemInfoMatcher matcher) { in or()58 default ItemInfoMatcher and(ItemInfoMatcher matcher) { in and()65 default ItemInfoMatcher negate() { in negate()69 static ItemInfoMatcher ofUser(UserHandle user) { in ofUser()73 static ItemInfoMatcher ofComponents(HashSet<ComponentName> components, UserHandle user) { in ofComponents()77 static ItemInfoMatcher ofPackages(Set<String> packageNames, UserHandle user) { in ofPackages()81 static ItemInfoMatcher ofShortcutKeys(Set<ShortcutKey> keys) { in ofShortcutKeys()89 static ItemInfoMatcher ofItemIds(IntSet ids) { in ofItemIds()
49 import com.android.launcher3.util.ItemInfoMatcher;98 final ItemInfoMatcher matcher = mOp == OP_USER_AVAILABILITY_CHANGE in execute()99 ? ItemInfoMatcher.ofUser(mUser) // We want to update all packages for this user in execute()100 : ItemInfoMatcher.ofPackages(packageSet, mUser); in execute()317 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofItemIds(removedShortcuts)); in execute()343 ItemInfoMatcher removeMatch = ItemInfoMatcher.ofPackages(removedPackages, mUser) in execute()344 .or(ItemInfoMatcher.ofComponents(removedComponents, mUser)) in execute()345 .and(ItemInfoMatcher.ofItemIds(forceKeepShortcuts).negate()); in execute()
31 import com.android.launcher3.util.ItemInfoMatcher;99 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofShortcutKeys(removedKeys)); in execute()
27 import com.android.launcher3.util.ItemInfoMatcher;108 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofShortcutKeys( in execute()
30 import com.android.launcher3.util.ItemInfoMatcher;131 public void deleteAndBindComponentsRemoved(final ItemInfoMatcher matcher) { in deleteAndBindComponentsRemoved()
41 import com.android.launcher3.util.ItemInfoMatcher;232 public void updateDisabledFlags(ItemInfoMatcher matcher, FlagOp op) { in updateDisabledFlags()
51 import com.android.launcher3.util.ItemInfoMatcher;469 void bindWorkspaceComponentsRemoved(ItemInfoMatcher matcher); in bindWorkspaceComponentsRemoved()
44 import com.android.launcher3.util.ItemInfoMatcher;262 public void deleteItemsFromDatabase(ItemInfoMatcher matcher) { in deleteItemsFromDatabase()
71 import com.android.launcher3.util.ItemInfoMatcher;94 private final ItemInfoMatcher mPersonalMatcher = ItemInfoMatcher.ofUser(Process.myUserHandle());95 private final ItemInfoMatcher mWorkMatcher = mPersonalMatcher.negate();724 private ItemInfoMatcher mInfoMatcher;751 void setup(@NonNull View rv, @Nullable ItemInfoMatcher matcher) { in setup()
25 import com.android.launcher3.util.ItemInfoMatcher;86 private ItemInfoMatcher mItemFilter;98 public void updateItemFilter(ItemInfoMatcher itemFilter) { in updateItemFilter()
44 import com.android.launcher3.util.ItemInfoMatcher;226 public void bindWorkspaceComponentsRemoved(ItemInfoMatcher matcher) { } in bindWorkspaceComponentsRemoved()
51 import com.android.launcher3.util.ItemInfoMatcher;284 public void bindWorkspaceComponentsRemoved(ItemInfoMatcher matcher) { } in bindWorkspaceComponentsRemoved()
37 import com.android.launcher3.util.ItemInfoMatcher;270 public void onAppsRemoved(ItemInfoMatcher matcher) { in onAppsRemoved()
64 import com.android.launcher3.util.ItemInfoMatcher;457 deleteAndBindComponentsRemoved(ItemInfoMatcher.ofItemIds(removedIds)); in onSessionFailure()
103 import com.android.launcher3.util.ItemInfoMatcher;3075 public void removeItemsByMatcher(final ItemInfoMatcher matcher) { in removeItemsByMatcher()3206 ItemInfoMatcher matcher = ItemInfoMatcher.ofPackages( in removeAbandonedPromise()
169 import com.android.launcher3.util.ItemInfoMatcher;2692 public void bindWorkspaceComponentsRemoved(final ItemInfoMatcher matcher) { in bindWorkspaceComponentsRemoved()