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

Commit 96aee22e authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Use "Key popup dismiss delay" to control key preview zoom out animation"

parents 0251c60b 5be8a59a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -705,7 +705,8 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
        final AnimatorSet zoomOutAnimation = new AnimatorSet();
        zoomOutAnimation.play(scaleXAnimation).with(scaleYAnimation);
        // TODO: Implement preference option to control key preview animation duration.
        zoomOutAnimation.setDuration(mKeyPreviewZoomOutDuration);
        final int zoomOutDuration = Math.min(mKeyPreviewZoomOutDuration, mKeyPreviewLingerTimeout);
        zoomOutAnimation.setDuration(zoomOutDuration);
        zoomOutAnimation.setInterpolator(ACCELERATE_INTERPOLATOR);
        zoomOutAnimation.addListener(new AnimatorListenerAdapter() {
            @Override