Loading quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java +2 −0 Original line number Diff line number Diff line Loading @@ -586,6 +586,8 @@ public class QuickstepLauncher extends Launcher { public void onWidgetsTransition(float progress) { super.onWidgetsTransition(progress); onTaskbarInAppDisplayProgressUpdate(progress, WIDGETS_PAGE_PROGRESS_INDEX); // Change of wallpaper depth in widget picker is disabled for tests as it causes flakiness // on very slow cuttlefish devices. if (ENABLE_WIDGET_PICKER_DEPTH.get() && !Utilities.IS_RUNNING_IN_TEST_HARNESS) { WIDGET_DEPTH.set(getDepthController(), Utilities.mapToRange(progress, 0f, 1f, 0f, getDeviceProfile().bottomSheetDepth, Loading src/com/android/launcher3/config/FeatureFlags.java +1 −3 Original line number Diff line number Diff line Loading @@ -289,10 +289,8 @@ public final class FeatureFlags { "Enable option to log the keyboard latency for both atomic and controlled keyboard " + "animations on an EditText"); // Change of wallpaper depth in widget picker is disabled for tests as it causes flakiness on // very slow cuttlefish devices. public static final BooleanFlag ENABLE_WIDGET_PICKER_DEPTH = new DeviceFlag( "ENABLE_WIDGET_PICKER_DEPTH", true, "Enable changing depth in widget picker."); "ENABLE_WIDGET_PICKER_DEPTH", false, "Enable changing depth in widget picker."); public static void initialize(Context context) { synchronized (sDebugFlags) { Loading Loading
quickstep/src/com/android/launcher3/uioverrides/QuickstepLauncher.java +2 −0 Original line number Diff line number Diff line Loading @@ -586,6 +586,8 @@ public class QuickstepLauncher extends Launcher { public void onWidgetsTransition(float progress) { super.onWidgetsTransition(progress); onTaskbarInAppDisplayProgressUpdate(progress, WIDGETS_PAGE_PROGRESS_INDEX); // Change of wallpaper depth in widget picker is disabled for tests as it causes flakiness // on very slow cuttlefish devices. if (ENABLE_WIDGET_PICKER_DEPTH.get() && !Utilities.IS_RUNNING_IN_TEST_HARNESS) { WIDGET_DEPTH.set(getDepthController(), Utilities.mapToRange(progress, 0f, 1f, 0f, getDeviceProfile().bottomSheetDepth, Loading
src/com/android/launcher3/config/FeatureFlags.java +1 −3 Original line number Diff line number Diff line Loading @@ -289,10 +289,8 @@ public final class FeatureFlags { "Enable option to log the keyboard latency for both atomic and controlled keyboard " + "animations on an EditText"); // Change of wallpaper depth in widget picker is disabled for tests as it causes flakiness on // very slow cuttlefish devices. public static final BooleanFlag ENABLE_WIDGET_PICKER_DEPTH = new DeviceFlag( "ENABLE_WIDGET_PICKER_DEPTH", true, "Enable changing depth in widget picker."); "ENABLE_WIDGET_PICKER_DEPTH", false, "Enable changing depth in widget picker."); public static void initialize(Context context) { synchronized (sDebugFlags) { Loading