Loading core/java/android/view/HapticFeedbackConstants.java +23 −0 Original line number Original line Diff line number Diff line Loading @@ -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. Loading Loading
core/java/android/view/HapticFeedbackConstants.java +23 −0 Original line number Original line Diff line number Diff line Loading @@ -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. Loading