Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskOverlayFactory.java44 import com.android.launcher3.popup.SystemShortcut;
65 public static List<SystemShortcut> getEnabledShortcuts(TaskView taskView, in getEnabledShortcuts()
67 final ArrayList<SystemShortcut> shortcuts = new ArrayList<>(); in getEnabledShortcuts()
70 SystemShortcut shortcut = menuOption.getShortcut(activity, taskView); in getEnabledShortcuts()
88 SystemShortcut screenshotShortcut = TaskShortcutFactory.SCREENSHOT in getEnabledShortcuts()
97 SystemShortcut modalShortcut = TaskShortcutFactory.MODAL in getEnabledShortcuts()
109 public static void addSplitOptions(List<SystemShortcut> outShortcuts, in addSplitOptions()
230 public SystemShortcut getModalStateSystemShortcut(WorkspaceItemInfo itemInfo) { in getModalStateSystemShortcut()
243 public SystemShortcut getScreenshotShortcut(BaseDraggingActivity activity, in getScreenshotShortcut()
283 private class ScreenshotSystemShortcut extends SystemShortcut {
DTaskShortcutFactory.java41 import com.android.launcher3.popup.SystemShortcut;
42 import com.android.launcher3.popup.SystemShortcut.AppInfo;
64 SystemShortcut getShortcut(BaseDraggingActivity activity, TaskView view); in getShortcut()
85 public SystemShortcut getShortcut(BaseDraggingActivity activity, TaskView taskView) { in getShortcut()
98 class SplitSelectSystemShortcut extends SystemShortcut {
115 class MultiWindowSystemShortcut extends SystemShortcut {
236 public SystemShortcut getShortcut(BaseDraggingActivity activity, TaskView taskView) {
237 SystemShortcut shortcut = super.getShortcut(activity, taskView);
301 class PinSystemShortcut extends SystemShortcut {
326 ? new SystemShortcut.Install(activity, view.getItemInfo()) : null;
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java38 public abstract class SystemShortcut<T extends BaseDraggingActivity> 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
115 @Nullable SystemShortcut<T> getShortcut(T activity, ItemInfo itemInfo); in getShortcut()
129 public static class Widgets extends SystemShortcut<Launcher> {
148 public static class AppInfo extends SystemShortcut {
183 public static class Install extends SystemShortcut {
DPopupContainerWithArrow.java244 … final List<NotificationKeyData> notificationKeys, List<SystemShortcut> systemShortcuts) { in populateAndShow()
289 for (SystemShortcut shortcut : systemShortcuts) { in populateAndShow()
290 if (shortcut instanceof SystemShortcut.Widgets) { in populateAndShow()
301 for (SystemShortcut shortcut : systemShortcuts) { in populateAndShow()
302 if (!(shortcut instanceof SystemShortcut.Widgets)) { in populateAndShow()
316 for (SystemShortcut shortcut : systemShortcuts) { in populateAndShow()
374 private void initializeSystemShortcut(int resId, ViewGroup container, SystemShortcut info) { in initializeSystemShortcut()
393 private int getInsertIndexForSystemShortcut(ViewGroup container, SystemShortcut shortcut) { in getInsertIndexForSystemShortcut()
531 if (systemShortcutView.getTag() instanceof SystemShortcut.Widgets) {
541 SystemShortcut widgetInfo = SystemShortcut.WIDGETS.getShortcut(mLauncher, itemInfo);
DRemoteActionShortcut.java42 public class RemoteActionShortcut extends SystemShortcut<BaseDraggingActivity> {
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/
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) ->
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()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DPinnedAppsAdapter.java40 import com.android.launcher3.popup.SystemShortcut;
208 public SystemShortcut getSystemShortcut(ItemInfo info) { in getSystemShortcut()
213 private class PinUnPinShortcut extends SystemShortcut<SecondaryDisplayLauncher> {
DSecondaryDragLayer.java21 import static com.android.launcher3.popup.SystemShortcut.APP_INFO;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java54 import com.android.launcher3.popup.SystemShortcut;
72 SystemShortcut.Factory<QuickstepLauncher>, DeviceProfile.OnDeviceProfileChangeListener,
433 public SystemShortcut<QuickstepLauncher> getShortcut(QuickstepLauncher activity, in getShortcut()
499 private class PinPrediction extends SystemShortcut<QuickstepLauncher> {
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DWellbeingModel.java56 import com.android.launcher3.popup.SystemShortcut;
195 private SystemShortcut getShortcutForApp(String packageName, int userId, in getShortcutForApp()
380 public static final SystemShortcut.Factory SHORTCUT_FACTORY =
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskMenuView.java48 import com.android.launcher3.popup.SystemShortcut;
214 private void addMenuOption(SystemShortcut menuOption) {
DTaskView.java82 import com.android.launcher3.popup.SystemShortcut;
1245 for (SystemShortcut s : TaskOverlayFactory.getEnabledShortcuts(this, in onInitializeAccessibilityNodeInfo()
1278 for (SystemShortcut s : TaskOverlayFactory.getEnabledShortcuts(this, in performAccessibilityAction()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepLauncher.java59 import com.android.launcher3.popup.SystemShortcut;
193 public Stream<SystemShortcut.Factory> getSupportedShortcuts() { in getSupportedShortcuts()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DBaseQuickstepLauncher.java48 import com.android.launcher3.popup.SystemShortcut;
437 public Stream<SystemShortcut.Factory> getSupportedShortcuts() { in getSupportedShortcuts()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java59 import com.android.launcher3.popup.SystemShortcut;
260 if (info instanceof SystemShortcut) { in getIconResult()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java52 import static com.android.launcher3.popup.SystemShortcut.APP_INFO;
53 import static com.android.launcher3.popup.SystemShortcut.INSTALL;
54 import static com.android.launcher3.popup.SystemShortcut.WIDGETS;
154 import com.android.launcher3.popup.SystemShortcut;
2868 public Stream<SystemShortcut.Factory> getSupportedShortcuts() { in getSupportedShortcuts()