Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e383ecf2 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Speed up app bar and FAB animation (2/2)

* Make FAB animation 30% faster.

Bug 30288176

Change-Id: I5163c9b4daddb0cfd872d54c0027b52278ab3af1
parent 3658f0f3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -36,9 +36,9 @@ public class FloatingActionButtonController {
    public static final int ALIGN_QUARTER_END = 1;
    public static final int ALIGN_END = 2;

    private static final int FAB_SCALE_IN_DURATION = 266;
    private static final int FAB_SCALE_IN_FADE_IN_DELAY = 100;
    private static final int FAB_ICON_FADE_OUT_DURATION = 66;
    private static final int FAB_SCALE_IN_DURATION = 186;
    private static final int FAB_SCALE_IN_FADE_IN_DELAY = 70;
    private static final int FAB_ICON_FADE_OUT_DURATION = 46;

    private final int mAnimationDuration;
    private final int mFloatingActionButtonWidth;