Loading Android.mk +5 −10 Original line number Diff line number Diff line Loading @@ -16,15 +16,6 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libPluginCore LOCAL_MODULE_TAGS := optional LOCAL_MODULE_CLASS := JAVA_LIBRARIES LOCAL_SRC_FILES := libs/plugin_core.jar LOCAL_UNINSTALLABLE_MODULE := true LOCAL_SDK_VERSION := current include $(BUILD_PREBUILT) # # Build rule for plugin lib (needed to write a plugin). # Loading @@ -33,7 +24,11 @@ LOCAL_USE_AAPT2 := true LOCAL_AAPT2_ONLY := true LOCAL_MODULE_TAGS := optional ifneq (,$(wildcard frameworks/base)) LOCAL_STATIC_JAVA_LIBRARIES:= PluginCoreLib else LOCAL_STATIC_JAVA_LIBRARIES:= libPluginCore endif LOCAL_SRC_FILES := \ $(call all-java-files-under, src_plugins) Loading libs/plugin_core.jardeleted 100644 → 0 −4.94 KiB File deleted. View file quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/RecentsUiFactory.java +2 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ public abstract class RecentsUiFactory { private static final float RECENTS_PREPARE_SCALE = 1.33f; public static TouchController[] createTouchControllers(Launcher launcher) { Mode mode = SysUINavigationMode.INSTANCE.get(launcher).getMode(); Mode mode = SysUINavigationMode.getMode(launcher); ArrayList<TouchController> list = new ArrayList<>(); list.add(launcher.getDragController()); Loading Loading @@ -106,7 +106,7 @@ public abstract class RecentsUiFactory { * @param launcher the launcher activity */ public static void prepareToShowOverview(Launcher launcher) { if (FeatureFlags.SWIPE_HOME.get()) { if (SysUINavigationMode.getMode(launcher) == Mode.NO_BUTTON) { // Overview lives on the side, so doesn't scale in from above. return; } Loading quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/BackgroundAppState.java +3 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,9 @@ import static com.android.launcher3.LauncherAnimUtils.OVERVIEW_TRANSITION_MS; import android.os.RemoteException; import com.android.launcher3.Launcher; import com.android.launcher3.allapps.AllAppsTransitionController; import com.android.launcher3.config.FeatureFlags; import com.android.quickstep.RecentsModel; import com.android.quickstep.SysUINavigationMode; import com.android.quickstep.SysUINavigationMode.Mode; import com.android.quickstep.util.LayoutUtils; import com.android.quickstep.views.RecentsView; import com.android.systemui.shared.recents.ISystemUiProxy; Loading Loading @@ -76,7 +77,7 @@ public class BackgroundAppState extends OverviewState { @Override public int getVisibleElements(Launcher launcher) { if (FeatureFlags.SWIPE_HOME.get()) { if (SysUINavigationMode.getMode(launcher) == Mode.NO_BUTTON) { return super.getVisibleElements(launcher); } // Hide shelf content (e.g. QSB) because we fade it in when swiping up. Loading quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/QuickSwitchTouchController.java +3 −2 Original line number Diff line number Diff line Loading @@ -36,11 +36,12 @@ import com.android.launcher3.LauncherState; import com.android.launcher3.LauncherStateManager; import com.android.launcher3.Utilities; import com.android.launcher3.anim.AnimatorSetBuilder; import com.android.launcher3.config.FeatureFlags; import com.android.launcher3.touch.AbstractStateChangeTouchController; import com.android.launcher3.touch.SwipeDetector; import com.android.launcher3.userevent.nano.LauncherLogProto; import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction; import com.android.quickstep.SysUINavigationMode; import com.android.quickstep.SysUINavigationMode.Mode; import com.android.quickstep.views.RecentsView; import com.android.quickstep.views.TaskView; Loading Loading @@ -105,7 +106,7 @@ public class QuickSwitchTouchController extends AbstractStateChangeTouchControll private void setupInterpolators(AnimatorSetBuilder animatorSetBuilder) { animatorSetBuilder.setInterpolator(ANIM_WORKSPACE_FADE, DEACCEL_2); animatorSetBuilder.setInterpolator(ANIM_ALL_APPS_FADE, DEACCEL_2); if (FeatureFlags.SWIPE_HOME.get()) { if (SysUINavigationMode.getMode(mLauncher) == Mode.NO_BUTTON) { // Overview lives to the left of workspace, so translate down later than over animatorSetBuilder.setInterpolator(ANIM_WORKSPACE_TRANSLATE, ACCEL_2); animatorSetBuilder.setInterpolator(ANIM_VERTICAL_PROGRESS, ACCEL_2); Loading Loading
Android.mk +5 −10 Original line number Diff line number Diff line Loading @@ -16,15 +16,6 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libPluginCore LOCAL_MODULE_TAGS := optional LOCAL_MODULE_CLASS := JAVA_LIBRARIES LOCAL_SRC_FILES := libs/plugin_core.jar LOCAL_UNINSTALLABLE_MODULE := true LOCAL_SDK_VERSION := current include $(BUILD_PREBUILT) # # Build rule for plugin lib (needed to write a plugin). # Loading @@ -33,7 +24,11 @@ LOCAL_USE_AAPT2 := true LOCAL_AAPT2_ONLY := true LOCAL_MODULE_TAGS := optional ifneq (,$(wildcard frameworks/base)) LOCAL_STATIC_JAVA_LIBRARIES:= PluginCoreLib else LOCAL_STATIC_JAVA_LIBRARIES:= libPluginCore endif LOCAL_SRC_FILES := \ $(call all-java-files-under, src_plugins) Loading
quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/RecentsUiFactory.java +2 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ public abstract class RecentsUiFactory { private static final float RECENTS_PREPARE_SCALE = 1.33f; public static TouchController[] createTouchControllers(Launcher launcher) { Mode mode = SysUINavigationMode.INSTANCE.get(launcher).getMode(); Mode mode = SysUINavigationMode.getMode(launcher); ArrayList<TouchController> list = new ArrayList<>(); list.add(launcher.getDragController()); Loading Loading @@ -106,7 +106,7 @@ public abstract class RecentsUiFactory { * @param launcher the launcher activity */ public static void prepareToShowOverview(Launcher launcher) { if (FeatureFlags.SWIPE_HOME.get()) { if (SysUINavigationMode.getMode(launcher) == Mode.NO_BUTTON) { // Overview lives on the side, so doesn't scale in from above. return; } Loading
quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/BackgroundAppState.java +3 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,9 @@ import static com.android.launcher3.LauncherAnimUtils.OVERVIEW_TRANSITION_MS; import android.os.RemoteException; import com.android.launcher3.Launcher; import com.android.launcher3.allapps.AllAppsTransitionController; import com.android.launcher3.config.FeatureFlags; import com.android.quickstep.RecentsModel; import com.android.quickstep.SysUINavigationMode; import com.android.quickstep.SysUINavigationMode.Mode; import com.android.quickstep.util.LayoutUtils; import com.android.quickstep.views.RecentsView; import com.android.systemui.shared.recents.ISystemUiProxy; Loading Loading @@ -76,7 +77,7 @@ public class BackgroundAppState extends OverviewState { @Override public int getVisibleElements(Launcher launcher) { if (FeatureFlags.SWIPE_HOME.get()) { if (SysUINavigationMode.getMode(launcher) == Mode.NO_BUTTON) { return super.getVisibleElements(launcher); } // Hide shelf content (e.g. QSB) because we fade it in when swiping up. Loading
quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/QuickSwitchTouchController.java +3 −2 Original line number Diff line number Diff line Loading @@ -36,11 +36,12 @@ import com.android.launcher3.LauncherState; import com.android.launcher3.LauncherStateManager; import com.android.launcher3.Utilities; import com.android.launcher3.anim.AnimatorSetBuilder; import com.android.launcher3.config.FeatureFlags; import com.android.launcher3.touch.AbstractStateChangeTouchController; import com.android.launcher3.touch.SwipeDetector; import com.android.launcher3.userevent.nano.LauncherLogProto; import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction; import com.android.quickstep.SysUINavigationMode; import com.android.quickstep.SysUINavigationMode.Mode; import com.android.quickstep.views.RecentsView; import com.android.quickstep.views.TaskView; Loading Loading @@ -105,7 +106,7 @@ public class QuickSwitchTouchController extends AbstractStateChangeTouchControll private void setupInterpolators(AnimatorSetBuilder animatorSetBuilder) { animatorSetBuilder.setInterpolator(ANIM_WORKSPACE_FADE, DEACCEL_2); animatorSetBuilder.setInterpolator(ANIM_ALL_APPS_FADE, DEACCEL_2); if (FeatureFlags.SWIPE_HOME.get()) { if (SysUINavigationMode.getMode(mLauncher) == Mode.NO_BUTTON) { // Overview lives to the left of workspace, so translate down later than over animatorSetBuilder.setInterpolator(ANIM_WORKSPACE_TRANSLATE, ACCEL_2); animatorSetBuilder.setInterpolator(ANIM_VERTICAL_PROGRESS, ACCEL_2); Loading