diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2018-04-09 11:26:20 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-04-09 11:26:20 +0000 |
| commit | ef5bb6fd702dbaac58f5807f1d653bbf723474bd (patch) | |
| tree | 9f22390c284985ba9c8e304fde816a397ad661ac /core/java | |
| parent | 3a7e021169c7afa8755c28a1295f3eff17ff8381 (diff) | |
| parent | 1ea7edd77e616a97f12af821e2f03c7e3b26d49a (diff) | |
Merge "Add haptic constants" into pi-dev
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/HapticFeedbackConstants.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/core/java/android/view/HapticFeedbackConstants.java b/core/java/android/view/HapticFeedbackConstants.java index b14792842be6..db01cea3e72b 100644 --- a/core/java/android/view/HapticFeedbackConstants.java +++ b/core/java/android/view/HapticFeedbackConstants.java @@ -77,6 +77,55 @@ public class HapticFeedbackConstants { public static final int TEXT_HANDLE_MOVE = 9; /** + * The user unlocked the device + * @hide + */ + public static final int ENTRY_BUMP = 10; + + /** + * The user has moved the dragged object within a droppable area. + * @hide + */ + public static final int DRAG_CROSSING = 11; + + /** + * The user has started a gesture (e.g. on the soft keyboard). + * @hide + */ + public static final int GESTURE_START = 12; + + /** + * The user has finished a gesture (e.g. on the soft keyboard). + * @hide + */ + public static final int GESTURE_END = 13; + + /** + * The user's squeeze crossed the gesture's initiation threshold. + * @hide + */ + public static final int EDGE_SQUEEZE = 14; + + /** + * The user's squeeze crossed the gesture's release threshold. + * @hide + */ + public static final int EDGE_RELEASE = 15; + + /** + * A haptic effect to signal the confirmation or successful completion of a user + * interaction. + * @hide + */ + public static final int CONFIRM = 16; + + /** + * A haptic effect to signal the rejection or failure of a user interaction. + * @hide + */ + public static final int REJECT = 17; + + /** * The phone has booted with safe mode enabled. * This is a private constant. Feel free to renumber as desired. * @hide |
