Home
last modified time | relevance | path

Searched refs:SystemShortcut (Results 1 – 19 of 19) sorted by relevance

/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DTaskOverlayFactory.java45 import com.android.launcher3.popup.SystemShortcut;
68 public static List<SystemShortcut> getEnabledShortcuts(TaskView taskView, in getEnabledShortcuts()
70 final ArrayList<SystemShortcut> shortcuts = new ArrayList<>(); in getEnabledShortcuts()
78 SystemShortcut shortcut = menuOption.getShortcut(activity, taskContainer); in getEnabledShortcuts()
97 SystemShortcut screenshotShortcut = TaskShortcutFactory.SCREENSHOT in getEnabledShortcuts()
105 SystemShortcut modalShortcut = TaskShortcutFactory.MODAL in getEnabledShortcuts()
125 private static void addSplitOptions(List<SystemShortcut> outShortcuts, in addSplitOptions()
267 public SystemShortcut getModalStateSystemShortcut(WorkspaceItemInfo itemInfo) { in getModalStateSystemShortcut()
280 public SystemShortcut getScreenshotShortcut(BaseDraggingActivity activity, in getScreenshotShortcut()
320 private class ScreenshotSystemShortcut extends SystemShortcut {
H A DTaskShortcutFactory.java40 import com.android.launcher3.popup.SystemShortcut;
41 import com.android.launcher3.popup.SystemShortcut.AppInfo;
64 SystemShortcut getShortcut(BaseDraggingActivity activity, in getShortcut()
73 public SystemShortcut getShortcut(BaseDraggingActivity activity,
107 public SystemShortcut getShortcut(BaseDraggingActivity activity, in getShortcut()
121 class SplitSelectSystemShortcut extends SystemShortcut {
137 class MultiWindowSystemShortcut extends SystemShortcut<BaseDraggingActivity> {
315 class PinSystemShortcut extends SystemShortcut<BaseDraggingActivity> {
342 ? new SystemShortcut.Install(activity, taskContainer.getItemInfo()) : null;
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/popup/
H A DSystemShortcut.java40 public abstract class SystemShortcut<T extends Context & ActivityContext> extends ItemInfo class
55 public SystemShortcut(int iconResId, int labelResId, T target, ItemInfo itemInfo) { in SystemShortcut() method in SystemShortcut
63 public SystemShortcut(SystemShortcut<T> other) { in SystemShortcut() method in SystemShortcut
107 @Nullable SystemShortcut<T> getShortcut(T activity, ItemInfo itemInfo); in getShortcut()
121 public static class Widgets extends SystemShortcut<Launcher> {
140 public static class AppInfo<T extends Context & ActivityContext> extends SystemShortcut<T> {
220 public static class Install extends SystemShortcut<BaseDraggingActivity> {
H A DPopupContainerWithArrow.java243 … final List<NotificationKeyData> notificationKeys, List<SystemShortcut> systemShortcuts) { in populateAndShow()
285 for (SystemShortcut shortcut : systemShortcuts) { in populateAndShow()
286 if (shortcut instanceof SystemShortcut.Widgets) { in populateAndShow()
297 for (SystemShortcut shortcut : systemShortcuts) { in populateAndShow()
298 if (!(shortcut instanceof SystemShortcut.Widgets)) { in populateAndShow()
308 for (SystemShortcut shortcut : systemShortcuts) { in populateAndShow()
366 private void initializeSystemShortcut(int resId, ViewGroup container, SystemShortcut info) { in initializeSystemShortcut()
385 private int getInsertIndexForSystemShortcut(ViewGroup container, SystemShortcut shortcut) { in getInsertIndexForSystemShortcut()
523 if (systemShortcutView.getTag() instanceof SystemShortcut.Widgets) {
533 SystemShortcut widgetInfo = SystemShortcut.WIDGETS.getShortcut(mLauncher, itemInfo);
H A DRemoteActionShortcut.java42 public class RemoteActionShortcut extends SystemShortcut<BaseDraggingActivity> {
/aosp12/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/
H A DLauncher3QuickStepGo.java19 import com.android.launcher3.popup.SystemShortcut;
31 public Stream<SystemShortcut.Factory> getSupportedShortcuts() { in getSupportedShortcuts()
32 Stream<SystemShortcut.Factory> shortcuts = super.getSupportedShortcuts(); in getSupportedShortcuts()
H A DAppSharing.java32 import com.android.launcher3.popup.SystemShortcut;
76 private SystemShortcut<Launcher> getShortcut(Launcher launcher, ItemInfo info) { in getShortcut()
87 public final class Share extends SystemShortcut<Launcher> {
130 public static final SystemShortcut.Factory<Launcher> SHORTCUT_FACTORY = (launcher, itemInfo) ->
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
H A DTaskbarPopupController.java25 import com.android.launcher3.popup.SystemShortcut;
39 private static final SystemShortcut.Factory<TaskbarActivityContext>
40 APP_INFO = SystemShortcut.AppInfo::new;
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
H A DPinnedAppsAdapter.java40 import com.android.launcher3.popup.SystemShortcut;
208 public SystemShortcut getSystemShortcut(ItemInfo info) { in getSystemShortcut()
213 private class PinUnPinShortcut extends SystemShortcut<SecondaryDisplayLauncher> {
H A DSecondaryDragLayer.java21 import static com.android.launcher3.popup.SystemShortcut.APP_INFO;
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
H A DHotseatPredictionController.java54 import com.android.launcher3.popup.SystemShortcut;
72 SystemShortcut.Factory<QuickstepLauncher>, DeviceProfile.OnDeviceProfileChangeListener,
411 public SystemShortcut<QuickstepLauncher> getShortcut(QuickstepLauncher activity, in getShortcut()
499 private class PinPrediction extends SystemShortcut<QuickstepLauncher> {
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
H A DWellbeingModel.java56 import com.android.launcher3.popup.SystemShortcut;
195 private SystemShortcut getShortcutForApp(String packageName, int userId, in getShortcutForApp()
380 public static final SystemShortcut.Factory<BaseDraggingActivity> SHORTCUT_FACTORY =
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
H A DTaskMenuViewWithArrow.kt38 import com.android.launcher3.popup.SystemShortcut
188 private fun addMenuOption(menuOption: SystemShortcut<*>) {
H A DTaskMenuView.java51 import com.android.launcher3.popup.SystemShortcut;
240 private void addMenuOption(SystemShortcut menuOption) {
H A DTaskView.java75 import com.android.launcher3.popup.SystemShortcut;
1312 for (SystemShortcut s : TaskOverlayFactory.getEnabledShortcuts(this, in onInitializeAccessibilityNodeInfo()
1350 for (SystemShortcut s : TaskOverlayFactory.getEnabledShortcuts(this, in performAccessibilityAction()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
H A DQuickstepLauncher.java59 import com.android.launcher3.popup.SystemShortcut;
207 public Stream<SystemShortcut.Factory> getSupportedShortcuts() { in getSupportedShortcuts()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
H A DBaseQuickstepLauncher.java52 import com.android.launcher3.popup.SystemShortcut;
495 public Stream<SystemShortcut.Factory> getSupportedShortcuts() { in getSupportedShortcuts()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/
H A DFloatingIconView.java59 import com.android.launcher3.popup.SystemShortcut;
261 if (info instanceof SystemShortcut) { in getIconResult()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncher.java55 import static com.android.launcher3.popup.SystemShortcut.APP_INFO;
56 import static com.android.launcher3.popup.SystemShortcut.INSTALL;
57 import static com.android.launcher3.popup.SystemShortcut.WIDGETS;
164 import com.android.launcher3.popup.SystemShortcut;
3038 public Stream<SystemShortcut.Factory> getSupportedShortcuts() { in getSupportedShortcuts()