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

Commit 5f214165 authored by Yu Yang's avatar Yu Yang Committed by Steve Kondik
Browse files

Camera: reduce the camera button animation duration to 100ms

It is too long for the animation duration when touch the button
which costs 600ms. Reduce it to 100ms to enhance the KPI.

Change-Id: I9a105c561419594e5a81e83f7ae3786e4eb86b8d
parent 3d9a7e4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ public class PieRenderer extends OverlayRenderer
    private static final int DISAPPEAR_TIMEOUT = 200;
    private static final int DIAL_HORIZONTAL = 157;
    // fade out timings
    private static final int PIE_FADE_OUT_DURATION = 600;
    private static final int PIE_FADE_OUT_DURATION = 100;

    private static final long PIE_FADE_IN_DURATION = 200;
    private static final long PIE_XFADE_DURATION = 200;