Home
last modified time | relevance | path

Searched refs:ShortcutRequest (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutRequest.java39 public class ShortcutRequest { class
56 public ShortcutRequest(Context context, UserHandle userHandle) { in ShortcutRequest() method in ShortcutRequest
62 public ShortcutRequest forPackage(String packageName) { in forPackage()
67 public ShortcutRequest forPackage(String packageName, String... shortcutIds) { in forPackage()
75 public ShortcutRequest forPackage(String packageName, @Nullable List<String> shortcutIds) { in forPackage()
83 public ShortcutRequest withContainer(@Nullable ComponentName activity) { in withContainer()
DShortcutKey.java40 public ShortcutRequest buildRequest(Context context) { in buildRequest()
41 return new ShortcutRequest(context, user) in buildRequest()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DUserLockStateChangedTask.java28 import com.android.launcher3.shortcuts.ShortcutRequest;
29 import com.android.launcher3.shortcuts.ShortcutRequest.QueryResult;
57 QueryResult shortcuts = new ShortcutRequest(context, mUser) in execute()
58 .query(ShortcutRequest.PINNED); in execute()
113 new ShortcutRequest(context, mUser).query(ShortcutRequest.ALL)); in execute()
DShortcutsChangedTask.java26 import com.android.launcher3.shortcuts.ShortcutRequest;
83 List<ShortcutInfo> shortcuts = new ShortcutRequest(context, mUser) in execute()
85 .query(ShortcutRequest.ALL); in execute()
DBgDataModel.java21 import static com.android.launcher3.shortcuts.ShortcutRequest.PINNED;
45 import com.android.launcher3.shortcuts.ShortcutRequest;
46 import com.android.launcher3.shortcuts.ShortcutRequest.QueryResult;
274 QueryResult result = new ShortcutRequest(context, user) in updateShortcutPinnedState()
DLoaderTask.java85 import com.android.launcher3.shortcuts.ShortcutRequest;
86 import com.android.launcher3.shortcuts.ShortcutRequest.QueryResult;
395 QueryResult pinnedShortcuts = new ShortcutRequest(context, user) in loadWorkspace()
396 .query(ShortcutRequest.PINNED); in loadWorkspace()
957 List<ShortcutInfo> shortcuts = new ShortcutRequest(mApp.getContext(), user) in loadDeepShortcuts()
958 .query(ShortcutRequest.ALL); in loadDeepShortcuts()
DPackageUpdatedTask.java46 import com.android.launcher3.shortcuts.ShortcutRequest;
228 new ShortcutRequest(context, mUser) in execute()
231 .query(ShortcutRequest.PINNED); in execute()
DItemInstallQueue.java51 import com.android.launcher3.shortcuts.ShortcutRequest;
369 .query(ShortcutRequest.ALL); in decode()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupPopulator.java38 import com.android.launcher3.shortcuts.ShortcutRequest;
153 List<ShortcutInfo> shortcuts = new ShortcutRequest(launcher, user) in createUpdateRunnable()
155 .query(ShortcutRequest.PUBLISHED); in createUpdateRunnable()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DAppEventProducer.java66 import com.android.launcher3.shortcuts.ShortcutRequest;
195 Optional<ShortcutInfo> opt = new ShortcutRequest(mContext, in toAppTarget()
197 ShortcutRequest.ALL).stream().findFirst(); in toAppTarget()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java62 import com.android.launcher3.shortcuts.ShortcutRequest;
228 List<ShortcutInfo> pinnedShortcuts = new ShortcutRequest(context, user) in onAppIconChanged()
229 .forPackage(packageName).query(ShortcutRequest.PINNED); in onAppIconChanged()
DUtilities.java85 import com.android.launcher3.shortcuts.ShortcutRequest;
690 .query(ShortcutRequest.ALL); in loadFullDrawableWithoutTheme()