mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
[Search][Motion] Normal<->AllApps transition revamp
Preview video attached to BR Key changes: - SearchUiManager#getScrollRangeDelta is removed. AllApps initial vertical offset is now controlled by deviceProfile.allAppsOpenVerticalTranslate. - ShelfScrimView is renamed to AllAppsScrimView. Scrim no longer does vertical translate with AllApps open. Shelf/overview related code removed. - Scrim and AllApps content transition are animated with different interpolators. Scrim color is a blend of accentColor and allAppsScrim with proportion determined by progress*TINT_DECAY_MULTIPLIER Bug: 183001675 Test: Manual Change-Id: Id6bde7ee65c55c83c2973fe41f458b9364d39ecd
This commit is contained in:
@@ -127,7 +127,7 @@ public class AllAppsTransitionController
|
||||
mProgress = progress;
|
||||
|
||||
mScrimView.setProgress(progress);
|
||||
mAppsView.setTranslationY(progress * mShiftRange);
|
||||
mAppsView.setTranslationY(mProgress * mShiftRange);
|
||||
}
|
||||
|
||||
public float getProgress() {
|
||||
|
||||
Reference in New Issue
Block a user