/packages/apps/Launcher3/tests/src/com/android/launcher3/popup/ |
D | SystemShortcutTest.java | 134 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/ |
D | TaskShortcutFactory.java | 48 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 …]
|
D | TaskOverlayFactory.java | 37 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 {
|
D | DesktopSystemShortcut.kt | 23 import com.android.launcher3.popup.SystemShortcut 36 SystemShortcut<RecentsViewContainer>(
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupContainerWithArrow.java | 204 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 …]
|
D | SystemShortcut.java | 54 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> {
|
D | LauncherPopupLiveUpdateHandler.java | 39 if (systemShortcutView.getTag() instanceof SystemShortcut.Widgets) { in getWidgetsView() 49 SystemShortcut widgetInfo = SystemShortcut.WIDGETS.getShortcut(mContext, in onWidgetsBound()
|
D | RemoteActionShortcut.java | 43 public class RemoteActionShortcut<T extends Context & ActivityContext> extends SystemShortcut<T> {
|
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/ |
D | Launcher3QuickStepGo.java | 19 import com.android.launcher3.popup.SystemShortcut; 31 public Stream<SystemShortcut.Factory> getSupportedShortcuts() { in getSupportedShortcuts() 32 Stream<SystemShortcut.Factory> shortcuts = super.getSupportedShortcuts(); in getSupportedShortcuts()
|
D | AppSharing.java | 46 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/ |
D | TaskbarPopupController.java | 43 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()
|
D | FallbackTaskbarUIController.java | 26 import com.android.launcher3.popup.SystemShortcut; 116 Stream<SystemShortcut.Factory<BaseTaskbarContext>> getSplitMenuOptions() { in getSplitMenuOptions()
|
D | TaskbarUIController.java | 39 import com.android.launcher3.popup.SystemShortcut; 366 Stream<SystemShortcut.Factory<BaseTaskbarContext>> getSplitMenuOptions() { in getSplitMenuOptions()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/splitscreen/ |
D | SplitShortcut.kt | 28 import com.android.launcher3.popup.SystemShortcut 45 ) : SystemShortcut<T>(iconResId, labelResId, target, itemInfo, originalView) where
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDragLayer.java | 21 import static com.android.launcher3.popup.SystemShortcut.APP_INFO; 41 import com.android.launcher3.popup.SystemShortcut; 196 List<SystemShortcut> systemShortcuts = new ArrayList<>(); in onIconLongClicked()
|
D | PinnedAppsAdapter.java | 40 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/ |
D | QuickstepLauncher.java | 47 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/ |
D | WellbeingModel.java | 49 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/ |
D | HotseatPredictionController.java | 60 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/ |
D | QuickstepSystemShortcut.java | 30 static SystemShortcut.Factory<QuickstepLauncher> getSplitSelectShortcutByPosition( in getSplitSelectShortcutByPosition()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskMenuViewWithArrow.kt | 37 import com.android.launcher3.popup.SystemShortcut in <lambda>() 204 private fun addMenuOption(menuOption: SystemShortcut<*>) { in <lambda>()
|
D | TaskMenuView.java | 51 import com.android.launcher3.popup.SystemShortcut; 212 private void addMenuOption(SystemShortcut menuOption) {
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 61 import com.android.launcher3.popup.SystemShortcut; 299 if (info instanceof SystemShortcut) { in getIconResult()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 95 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() {
|