Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/popup/
DSystemShortcutTest.java134 SystemShortcut systemShortcut = SystemShortcut.WIDGETS in testWidgetsForNullComponentName()
146 SystemShortcut systemShortcut = SystemShortcut.WIDGETS in testWidgetsForEmptyWidgetList()
156 SystemShortcut systemShortcut = SystemShortcut.APP_INFO in testAppInfoShortcut()
165 SystemShortcut systemShortcut = SystemShortcut.DONT_SUGGEST_APP in testDontSuggestAppForNonPredictedItem()
176 SystemShortcut systemShortcut = SystemShortcut.DONT_SUGGEST_APP in testDontSuggestAppForPredictedItem()
185 SystemShortcut systemShortcut = SystemShortcut.PRIVATE_PROFILE_INSTALL in testPrivateProfileInstallwithTargetComponentNull()
199 SystemShortcut systemShortcut = SystemShortcut.PRIVATE_PROFILE_INSTALL in testPrivateProfileInstallNotAllAppsContainer()
215 SystemShortcut systemShortcut = SystemShortcut.PRIVATE_PROFILE_INSTALL in testPrivateProfileInstallNullPrivateProfileManager()
231 SystemShortcut systemShortcut = SystemShortcut.PRIVATE_PROFILE_INSTALL in testPrivateProfileInstallPrivateProfileManagerDisabled()
248 SystemShortcut systemShortcut = SystemShortcut.PRIVATE_PROFILE_INSTALL in testPrivateProfileInstallNullPrivateProfileUser()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskShortcutFactory.java48 import com.android.launcher3.popup.SystemShortcut;
49 import com.android.launcher3.popup.SystemShortcut.AppInfo;
78 default List<SystemShortcut> getShortcuts(RecentsViewContainer container, in getShortcuts()
99 default List<SystemShortcut> createSingletonShortcutList(@Nullable SystemShortcut shortcut) { in createSingletonShortcutList()
108 public List<SystemShortcut> getShortcuts(RecentsViewContainer container,
130 class SplitSelectSystemShortcut extends SystemShortcut {
152 class SaveAppPairSystemShortcut extends SystemShortcut<RecentsViewContainer> {
171 class FreeformSystemShortcut extends SystemShortcut<RecentsViewContainer> {
297 public List<SystemShortcut> getShortcuts(RecentsViewContainer container,
323 .map((Function<SplitPositionOption, SystemShortcut>) option ->
[all …]
DTaskOverlayFactory.java37 import com.android.launcher3.popup.SystemShortcut;
61 public static List<SystemShortcut> getEnabledShortcuts(TaskView taskView, in getEnabledShortcuts()
63 final ArrayList<SystemShortcut> shortcuts = new ArrayList<>(); in getEnabledShortcuts()
74 List<SystemShortcut> menuShortcuts = menuOption.getShortcuts(container, taskContainer); in getEnabledShortcuts()
227 public SystemShortcut getModalStateSystemShortcut(WorkspaceItemInfo itemInfo, in getModalStateSystemShortcut()
241 public SystemShortcut getScreenshotShortcut(RecentsViewContainer container, in getScreenshotShortcut()
294 private class ScreenshotSystemShortcut extends SystemShortcut {
DDesktopSystemShortcut.kt23 import com.android.launcher3.popup.SystemShortcut
36 SystemShortcut<RecentsViewContainer>(
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java204 List<SystemShortcut> systemShortcuts = launcher.getSupportedShortcuts() in showForIcon()
237 int deepShortcutCount, List<SystemShortcut> systemShortcuts) { in populateAndShowRows()
274 List<SystemShortcut> systemShortcuts) { in addAllShortcuts()
287 List<SystemShortcut> nonWidgetSystemShortcuts = in addAllShortcuts()
296 Optional<SystemShortcut.Widgets> widgetShortcutOpt = getWidgetShortcut(systemShortcuts); in addAllShortcuts()
311 private static Optional<SystemShortcut.Widgets> getWidgetShortcut( in getWidgetShortcut()
312 List<SystemShortcut> systemShortcuts) { in getWidgetShortcut()
315 .filter(shortcut -> shortcut instanceof SystemShortcut.Widgets) in getWidgetShortcut()
316 .map(SystemShortcut.Widgets.class::cast) in getWidgetShortcut()
325 private static List<SystemShortcut> getNonWidgetSystemShortcuts( in getNonWidgetSystemShortcuts()
[all …]
DSystemShortcut.java54 public abstract class SystemShortcut<T extends ActivityContext> extends ItemInfo class
67 public SystemShortcut(int iconResId, int labelResId, T target, ItemInfo itemInfo, in SystemShortcut() method in SystemShortcut
73 public SystemShortcut(int iconResId, int labelResId, T target, ItemInfo itemInfo, in SystemShortcut() method in SystemShortcut
106 SystemShortcut<T> getShortcut(T context, ItemInfo itemInfo, @NonNull View originalView); in getShortcut()
120 public static class Widgets<T extends ActivityContext> extends SystemShortcut<T> {
140 public static class AppInfo<T extends ActivityContext> extends SystemShortcut<T> {
245 static class InstallToPrivateProfile<T extends ActivityContext> extends SystemShortcut<T> {
296 public static class Install<T extends ActivityContext> extends SystemShortcut<T> {
320 private static class DontSuggestApp<T extends ActivityContext> extends SystemShortcut<T> {
358 private static class UninstallApp<T extends ActivityContext> extends SystemShortcut<T> {
DLauncherPopupLiveUpdateHandler.java39 if (systemShortcutView.getTag() instanceof SystemShortcut.Widgets) { in getWidgetsView()
49 SystemShortcut widgetInfo = SystemShortcut.WIDGETS.getShortcut(mContext, in onWidgetsBound()
DRemoteActionShortcut.java43 public class RemoteActionShortcut<T extends Context & ActivityContext> extends SystemShortcut<T> {
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/
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()
DAppSharing.java46 import com.android.launcher3.popup.SystemShortcut;
92 private SystemShortcut<Launcher> getShortcut(Launcher launcher, ItemInfo info, in getShortcut()
116 public final class Share extends SystemShortcut<Launcher> {
248 public static final SystemShortcut.Factory<Launcher> SHORTCUT_FACTORY =
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarPopupController.java43 import com.android.launcher3.popup.SystemShortcut;
69 private static final SystemShortcut.Factory<BaseTaskbarContext>
70 APP_INFO = SystemShortcut.AppInfo::new;
159 List<SystemShortcut> systemShortcuts = getSystemShortcuts() in showForIcon()
183 private Stream<SystemShortcut.Factory> getSystemShortcuts() { in getSystemShortcuts()
245 SystemShortcut.Factory<BaseTaskbarContext> createSplitShortcutFactory( in createSplitShortcutFactory()
DFallbackTaskbarUIController.java26 import com.android.launcher3.popup.SystemShortcut;
116 Stream<SystemShortcut.Factory<BaseTaskbarContext>> getSplitMenuOptions() { in getSplitMenuOptions()
DTaskbarUIController.java39 import com.android.launcher3.popup.SystemShortcut;
366 Stream<SystemShortcut.Factory<BaseTaskbarContext>> getSplitMenuOptions() { in getSplitMenuOptions()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/splitscreen/
DSplitShortcut.kt28 import com.android.launcher3.popup.SystemShortcut
45 ) : SystemShortcut<T>(iconResId, labelResId, target, itemInfo, originalView) where
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragLayer.java21 import static com.android.launcher3.popup.SystemShortcut.APP_INFO;
41 import com.android.launcher3.popup.SystemShortcut;
196 List<SystemShortcut> systemShortcuts = new ArrayList<>(); in onIconLongClicked()
DPinnedAppsAdapter.java40 import com.android.launcher3.popup.SystemShortcut;
213 public SystemShortcut getSystemShortcut(ItemInfo info, View originalView) { in getSystemShortcut()
225 private class PinUnPinShortcut extends SystemShortcut<SecondaryDisplayLauncher> {
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepLauncher.java47 import static com.android.launcher3.popup.SystemShortcut.APP_INFO;
48 import static com.android.launcher3.popup.SystemShortcut.DONT_SUGGEST_APP;
49 import static com.android.launcher3.popup.SystemShortcut.INSTALL;
50 import static com.android.launcher3.popup.SystemShortcut.PRIVATE_PROFILE_INSTALL;
51 import static com.android.launcher3.popup.SystemShortcut.UNINSTALL_APP;
52 import static com.android.launcher3.popup.SystemShortcut.WIDGETS;
133 import com.android.launcher3.popup.SystemShortcut;
446 public Stream<SystemShortcut.Factory> getSupportedShortcuts() { in getSupportedShortcuts()
448 List<SystemShortcut.Factory> shortcuts = new ArrayList(Arrays.asList( in getSupportedShortcuts()
465 private List<SystemShortcut.Factory<QuickstepLauncher>> getSplitShortcuts() { in getSplitShortcuts()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DWellbeingModel.java49 import com.android.launcher3.popup.SystemShortcut;
164 private SystemShortcut getShortcutForApp(String packageName, int userId, in getShortcutForApp()
323 public static final SystemShortcut.Factory<ActivityContext> SHORTCUT_FACTORY =
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java60 import com.android.launcher3.popup.SystemShortcut;
81 SystemShortcut.Factory<QuickstepLauncher>, DeviceProfile.OnDeviceProfileChangeListener,
413 public SystemShortcut<QuickstepLauncher> getShortcut(QuickstepLauncher activity, in getShortcut()
505 private class PinPrediction extends SystemShortcut<QuickstepLauncher> {
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/popup/
DQuickstepSystemShortcut.java30 static SystemShortcut.Factory<QuickstepLauncher> getSplitSelectShortcutByPosition( in getSplitSelectShortcutByPosition()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskMenuViewWithArrow.kt37 import com.android.launcher3.popup.SystemShortcut in <lambda>()
204 private fun addMenuOption(menuOption: SystemShortcut<*>) { in <lambda>()
DTaskMenuView.java51 import com.android.launcher3.popup.SystemShortcut;
212 private void addMenuOption(SystemShortcut menuOption) {
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java61 import com.android.launcher3.popup.SystemShortcut;
299 if (info instanceof SystemShortcut) { in getIconResult()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java95 import static com.android.launcher3.popup.SystemShortcut.APP_INFO;
96 import static com.android.launcher3.popup.SystemShortcut.INSTALL;
97 import static com.android.launcher3.popup.SystemShortcut.WIDGETS;
220 import com.android.launcher3.popup.SystemShortcut;
3103 public Stream<SystemShortcut.Factory> getSupportedShortcuts() {