diff --git a/core/java/android/view/HapticFeedbackConstants.java b/core/java/android/view/HapticFeedbackConstants.java index 9f63500fc8535..ec613edeedb4c 100644 --- a/core/java/android/view/HapticFeedbackConstants.java +++ b/core/java/android/view/HapticFeedbackConstants.java @@ -121,6 +121,29 @@ public class HapticFeedbackConstants { */ 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. * This is a private constant. Feel free to renumber as desired.