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

Commit 0655e08f authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

Set default Wear rotary fling thresholds

Setting the configs to enable RSB fling. We are using the same
thresholds as we use for touch, which were the thresholds used for
Wear 3/4. We can later change these thresholds if needed.

Bug: 294275117
Test: manual
Change-Id: I95a0a6223e340acffce5c28efb08bdfaecd7bdf9
parent 3ef810b2
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -33,6 +33,14 @@
    <!-- Maximum velocity to initiate a fling, as measured in dips per second. -->
    <dimen name="config_viewMaxFlingVelocity">8000dp</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.  -->
    <dimen name="config_viewMinRotaryEncoderFlingVelocity">500dp</dimen>

    <!-- 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>

    <!-- Number of notifications to keep in the notification service historical archive.
         Reduced intentionally for watches to retain minimal memory footprint -->
    <integer name="config_notificationServiceArchiveSize">1</integer>