mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Change wallpaper depth in widget picker
- Also changed widget picker open/close duration, refactored the values into DeviceProfile - Generalized MultiAdditivePropertyFactory to accept aggregator as parameter Bug: 240580498 Test: manual Change-Id: I6886ca514593e404b8d7b0e8ed44f20ec2b77c73
This commit is contained in:
@@ -42,7 +42,7 @@ import com.android.launcher3.anim.PropertySetter;
|
||||
import com.android.launcher3.config.FeatureFlags;
|
||||
import com.android.launcher3.statemanager.StateManager.StateHandler;
|
||||
import com.android.launcher3.states.StateAnimationConfig;
|
||||
import com.android.launcher3.util.MultiAdditivePropertyFactory;
|
||||
import com.android.launcher3.util.MultiPropertyFactory;
|
||||
import com.android.launcher3.util.MultiValueAlpha;
|
||||
import com.android.launcher3.views.ScrimView;
|
||||
|
||||
@@ -141,9 +141,9 @@ public class AllAppsTransitionController
|
||||
|
||||
private ScrimView mScrimView;
|
||||
|
||||
private final MultiAdditivePropertyFactory<View>
|
||||
mAppsViewTranslationYPropertyFactory = new MultiAdditivePropertyFactory<>(
|
||||
"appsViewTranslationY", View.TRANSLATION_Y);
|
||||
private final MultiPropertyFactory<View>
|
||||
mAppsViewTranslationYPropertyFactory = new MultiPropertyFactory<>(
|
||||
"appsViewTranslationY", View.TRANSLATION_Y, Float::sum);
|
||||
private MultiValueAlpha mAppsViewAlpha;
|
||||
|
||||
private boolean mIsTablet;
|
||||
|
||||
Reference in New Issue
Block a user