use of com.android.quickstep.TaskShortcutFactory.SplitSelectSystemShortcut in project android_packages_apps_Launcher3 by crdroidandroid.
the class TaskOverlayFactory method addSplitOptions.
public static void addSplitOptions(List<SystemShortcut> outShortcuts, BaseDraggingActivity activity, TaskView taskView, DeviceProfile deviceProfile) {
PagedOrientationHandler orientationHandler = taskView.getRecentsView().getPagedOrientationHandler();
List<SplitPositionOption> positions = orientationHandler.getSplitPositionOptions(deviceProfile);
for (SplitPositionOption option : positions) {
outShortcuts.add(new SplitSelectSystemShortcut(activity, taskView, option));
}
}
Aggregations