Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutRequest.java40 public class ShortcutRequest { class
57 public ShortcutRequest(Context context, UserHandle userHandle) { in ShortcutRequest() method in ShortcutRequest
63 public ShortcutRequest forPackage(String packageName) { in forPackage()
68 public ShortcutRequest forPackage(String packageName, String... shortcutIds) { in forPackage()
76 public ShortcutRequest forPackage(String packageName, @Nullable List<String> shortcutIds) { in forPackage()
84 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.java31 import com.android.launcher3.shortcuts.ShortcutRequest;
32 import com.android.launcher3.shortcuts.ShortcutRequest.QueryResult;
63 QueryResult shortcuts = new ShortcutRequest(context, mUser) in execute()
64 .query(ShortcutRequest.PINNED); in execute()
122 new ShortcutRequest(context, mUser).query(ShortcutRequest.ALL)); in execute()
DShortcutsChangedTask.java29 import com.android.launcher3.shortcuts.ShortcutRequest;
97 List<ShortcutInfo> shortcuts = new ShortcutRequest(context, mUser) in execute()
99 .query(ShortcutRequest.ALL); in execute()
DLoaderTask.java91 import com.android.launcher3.shortcuts.ShortcutRequest;
92 import com.android.launcher3.shortcuts.ShortcutRequest.QueryResult;
538 QueryResult pinnedShortcuts = new ShortcutRequest(context, user) in queryPinnedShortcutsForUnlockedUsers()
539 .query(ShortcutRequest.PINNED); in queryPinnedShortcutsForUnlockedUsers()
793 List<ShortcutInfo> shortcuts = new ShortcutRequest(mApp.getContext(), user) in loadDeepShortcuts()
794 .query(ShortcutRequest.ALL); in loadDeepShortcuts()
DBgDataModel.java24 import static com.android.launcher3.shortcuts.ShortcutRequest.PINNED;
55 import com.android.launcher3.shortcuts.ShortcutRequest;
56 import com.android.launcher3.shortcuts.ShortcutRequest.QueryResult;
320 QueryResult result = new ShortcutRequest(context, user) in updateShortcutPinnedState()
DPackageUpdatedTask.java50 import com.android.launcher3.shortcuts.ShortcutRequest;
241 new ShortcutRequest(context, mUser) in execute()
244 .query(ShortcutRequest.PINNED); in execute()
DItemInstallQueue.java53 import com.android.launcher3.shortcuts.ShortcutRequest;
380 .query(ShortcutRequest.ALL); in decode()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupPopulator.java34 import com.android.launcher3.shortcuts.ShortcutRequest;
116 List<ShortcutInfo> shortcuts = new ShortcutRequest(context, user) in createUpdateRunnable()
118 .query(ShortcutRequest.PUBLISHED); in createUpdateRunnable()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DAppEventProducer.java74 import com.android.launcher3.shortcuts.ShortcutRequest;
222 Optional<ShortcutInfo> opt = new ShortcutRequest(mContext, in toAppTarget()
224 ShortcutRequest.ALL).stream().findFirst(); in toAppTarget()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java73 import com.android.launcher3.shortcuts.ShortcutRequest;
208 List<ShortcutInfo> pinnedShortcuts = new ShortcutRequest(context, user) in onAppIconChanged()
209 .forPackage(packageName).query(ShortcutRequest.PINNED); in onAppIconChanged()
DUtilities.java94 import com.android.launcher3.shortcuts.ShortcutRequest;
616 .query(ShortcutRequest.ALL); in getFullDrawable()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarController.java66 import com.android.launcher3.shortcuts.ShortcutRequest;
516 ShortcutRequest.QueryResult result = new ShortcutRequest(context, in populateBubble()