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

Commit 3be39018 authored by Todd Lee's avatar Todd Lee
Browse files

Reduce max fling velocity (including rotary encoder) by 65%

This change caps max fling velocity at 2750 dips/s on watches

Bug: b/399710412
Test: manual build
Flag: NONE exempt trivial change
Change-Id: I10d882377b8a34c327721943ddfa0aba4318d99a
parent 1760acbd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@
    <dimen name="config_viewMinFlingVelocity">500dp</dimen>

    <!-- Maximum velocity to initiate a fling, as measured in dips per second. -->
    <dimen name="config_viewMaxFlingVelocity">8000dp</dimen>
    <dimen name="config_viewMaxFlingVelocity">2750dp</dimen>

    <!-- Minimum velocity (absolute value) to initiate a fling from a rotary encoder device, as
         measured in dips per second. Setting this to -1dp disables rotary encoder fling.  -->
@@ -39,7 +39,7 @@

    <!-- Maximum velocity (absolute value) to initiate a fling from a rotary encoder device, as
         measured in dips per second. Setting this to -1dp disables rotary encoder fling.  -->
    <dimen name="config_viewMaxRotaryEncoderFlingVelocity">8000dp</dimen>
    <dimen name="config_viewMaxRotaryEncoderFlingVelocity">2750dp</dimen>

    <!-- Whether the View-based scroll haptic feedback implementation is enabled for
         {@link InputDevice#SOURCE_ROTARY_ENCODER}s. -->