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

Commit 1d423d74 authored by Jamie Garside's avatar Jamie Garside Committed by Android (Google) Code Review
Browse files

Merge "Add haptic feedback constants for rotary-input haptic events."

parents b8e49870 de210f4f
Loading
Loading
Loading
Loading
+23 −0
Original line number Original line Diff line number Diff line
@@ -121,6 +121,29 @@ public class HapticFeedbackConstants {
     */
     */
    public static final int REJECT = 17;
    public static final int REJECT = 17;


    /**
     * A haptic effect to provide texture while a rotary input device is being scrolled.
     *
     * @hide
     */
    public static final int ROTARY_SCROLL_TICK = 18;

    /**
     * A haptic effect to signal that a list element has been focused while scrolling using a rotary
     * input device.
     *
     * @hide
     */
    public static final int ROTARY_SCROLL_ITEM_FOCUS = 19;

    /**
     * A haptic effect to signal reaching the scrolling limits of a list while scrolling using a
     * rotary input device.
     *
     * @hide
     */
    public static final int ROTARY_SCROLL_LIMIT = 20;

    /**
    /**
     * The phone has booted with safe mode enabled.
     * The phone has booted with safe mode enabled.
     * This is a private constant.  Feel free to renumber as desired.
     * This is a private constant.  Feel free to renumber as desired.