Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcutFactory.java37 private final SystemShortcut[] mAllShortcuts;
41 this(new SystemShortcut.AppInfo(), in SystemShortcutFactory()
42 new SystemShortcut.Widgets(), in SystemShortcutFactory()
43 new SystemShortcut.Install(), in SystemShortcutFactory()
44 new SystemShortcut.DismissPrediction()); in SystemShortcutFactory()
47 protected SystemShortcutFactory(SystemShortcut... shortcuts) { in SystemShortcutFactory()
51 public @NonNull List<SystemShortcut> getEnabledShortcuts(Launcher launcher, ItemInfo info) { in getEnabledShortcuts()
52 List<SystemShortcut> systemShortcuts = new ArrayList<>(); in getEnabledShortcuts()
53 for (SystemShortcut systemShortcut : mAllShortcuts) { in getEnabledShortcuts()
DSystemShortcut.java42 public abstract class SystemShortcut<T extends BaseDraggingActivity> class
51 public SystemShortcut(int iconResId, int labelResId) { in SystemShortcut() method in SystemShortcut
60 public SystemShortcut(Icon icon, CharSequence label, CharSequence contentDescription, in SystemShortcut() method in SystemShortcut
70 public SystemShortcut(SystemShortcut other) { in SystemShortcut() method in SystemShortcut
129 public static class Widgets extends SystemShortcut<Launcher> {
157 public static class AppInfo extends SystemShortcut {
176 public static class Install extends SystemShortcut {
209 public static class DismissPrediction extends SystemShortcut<Launcher> {
DPopupContainerWithArrow.java259 … final List<NotificationKeyData> notificationKeys, List<SystemShortcut> systemShortcuts) { in populateAndShow()
288 for (SystemShortcut shortcut : systemShortcuts) { in populateAndShow()
298 for (SystemShortcut shortcut : systemShortcuts) { in populateAndShow()
385 SystemShortcut widgetInfo = new SystemShortcut.Widgets(); in onWidgetsBound()
391 if (systemShortcutView.getTag() instanceof SystemShortcut.Widgets) { in onWidgetsBound()
421 private void initializeSystemShortcut(int resId, ViewGroup container, SystemShortcut info) { in initializeSystemShortcut()
440 private int getInsertIndexForSystemShortcut(ViewGroup container, SystemShortcut shortcut) { in getInsertIndexForSystemShortcut()
DRemoteActionShortcut.java35 public class RemoteActionShortcut extends SystemShortcut<BaseDraggingActivity> {
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskSystemShortcut.java41 import com.android.launcher3.popup.SystemShortcut;
64 public class TaskSystemShortcut<T extends SystemShortcut> extends SystemShortcut {
103 public static class AppInfo extends TaskSystemShortcut<SystemShortcut.AppInfo> {
105 super(new SystemShortcut.AppInfo()); in AppInfo()
325 public static class Install extends TaskSystemShortcut<SystemShortcut.Install> {
327 super(new SystemShortcut.Install());
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java72 import com.android.launcher3.popup.SystemShortcut;
405 if (info instanceof SystemShortcut) { in getIconResult()