mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Popup visual changes
- Don't remove elevation during animation (b/62905720) - Other adjustments (b/35766387) - Add "gutter" between notification and shortcuts - Change shortcuts to always be primary color (e.g. white) - Scale down shortcut icons when notifications present - Apply icon extracted color to "Notifications" header Change-Id: Idf791dc76d15d05d246000ad73810916d7cd1750
This commit is contained in:
@@ -198,8 +198,14 @@ public class FolderAnimationManager {
|
||||
play(a, getAnimator(mFolder, SCALE_PROPERTY, initialScale, finalScale));
|
||||
play(a, getAnimator(mFolderBackground, "color", initialColor, finalColor));
|
||||
play(a, mFolderIcon.mFolderName.createTextAlphaAnimator(!mIsOpening));
|
||||
play(a, new RoundedRectRevealOutlineProvider(initialRadius, finalRadius, startRect,
|
||||
endRect).createRevealAnimator(mFolder, !mIsOpening));
|
||||
RoundedRectRevealOutlineProvider outlineProvider = new RoundedRectRevealOutlineProvider(
|
||||
initialRadius, finalRadius, startRect, endRect) {
|
||||
@Override
|
||||
public boolean shouldRemoveElevationDuringAnimation() {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
play(a, outlineProvider.createRevealAnimator(mFolder, !mIsOpening));
|
||||
|
||||
// Animate the elevation midway so that the shadow is not noticeable in the background.
|
||||
int midDuration = mDuration / 2;
|
||||
|
||||
Reference in New Issue
Block a user