diff --git a/build.gradle b/build.gradle index f741a1f710b..9af2e2b2270 100644 --- a/build.gradle +++ b/build.gradle @@ -300,9 +300,9 @@ dependencies { withQuickstepImplementation projects.systemUnFold withQuickstepImplementation projects.systemUIViewCapture withQuickstepImplementation projects.systemUILog - withQuickstepImplementation projects.systemUIPlugin + withQuickstepCompileOnly projects.systemUIPlugin withQuickstepImplementation projects.systemUIPluginCore - withQuickstepImplementation projects.systemUICommon + withQuickstepCompileOnly projects.systemUICommon implementation fileTree(dir: FRAMEWORK_PREBUILTS_DIR, include: 'SystemUI-statsd-14.jar') @@ -368,7 +368,7 @@ dependencies { // Persian Date implementation 'com.github.samanzamani:PersianDate:1.7.1' - implementation 'com.airbnb.android:lottie:6.2.0' + implementation 'com.airbnb.android:lottie:6.3.0' // Smartspacer implementation('com.kieronquinn.smartspacer:sdk-client:1.0.6') { diff --git a/lawnchair/res/values/config.xml b/lawnchair/res/values/config.xml index bc541f549be..29e5a2a8a95 100644 --- a/lawnchair/res/values/config.xml +++ b/lawnchair/res/values/config.xml @@ -120,7 +120,7 @@ 1.0 1.0 1.0 - 0.1 + 0.4 5 3 10 diff --git a/lawnchair/src/app/lawnchair/ui/preferences/destinations/AppDrawerPreferences.kt b/lawnchair/src/app/lawnchair/ui/preferences/destinations/AppDrawerPreferences.kt index 6edfc730405..a3abc417193 100644 --- a/lawnchair/src/app/lawnchair/ui/preferences/destinations/AppDrawerPreferences.kt +++ b/lawnchair/src/app/lawnchair/ui/preferences/destinations/AppDrawerPreferences.kt @@ -265,7 +265,7 @@ fun AppDrawerPreferences() { SliderPreference( adapter = prefs2.drawerLeftRightMarginFactor.getAdapter(), label = stringResource(id = R.string.app_drawer_indent_label), - valueRange = 0.0F..1.0F, + valueRange = 0.0F..2.0F, step = 0.01F, showAsPercentage = true, ) diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 1af2c68ad99..f731992125b 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -1313,9 +1313,9 @@ private void updateAllAppsContainerWidth() { } var allAppLeftRightMarginMultiplier = PreferenceExtensionsKt .firstBlocking(preferenceManager2.getDrawerLeftRightMarginFactor()); - var margin = pxFromDp(inv.allAppsCellSize[mTypeIndex].y, mMetrics, allAppLeftRightMarginMultiplier); - allAppsLeftRightMargin *= margin; - allAppsLeftRightPadding *= margin; + var marginMultiplier = allAppLeftRightMarginMultiplier * (!isTablet ? 100 : 2); + allAppsLeftRightMargin *= marginMultiplier; + allAppsLeftRightPadding *= marginMultiplier; } private void setupAllAppsStyle(Context context) {