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

Commit 745a5292 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Smoother pinch-zoom in Browser." into honeycomb

parents a228e4f8 4f066784
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -148,13 +148,13 @@ class ZoomManager {
     */
    private float mInitialScale;

    private static float MINIMUM_SCALE_INCREMENT = 0.01f;
    private static float MINIMUM_SCALE_INCREMENT = 0.007f;

    /*
     *  The touch points could be changed even the fingers stop moving.
     *  We use the following to filter out the zooming jitters.
     */
    private static float MINIMUM_SCALE_WITHOUT_JITTER = 0.05f;
    private static float MINIMUM_SCALE_WITHOUT_JITTER = 0.007f;

    /*
     * The following member variables are only to be used for animating zoom. If