Merge "Add haptic feedback constants for rotary-input haptic events."
This commit is contained in:
committed by
Android (Google) Code Review
commit
1d423d7419
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user