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

Commit 7d3b70e7 authored by Harpreet \"Eli\" Sangha's avatar Harpreet \"Eli\" Sangha Committed by android-build-merger
Browse files

Merge "vibrator: aidl: Add Descriptions for Primitives"

am: e9956686

Change-Id: I7d9d543961856b6250ceb431c780d025462686c6
parents 5960d7b4 e9956686
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -19,11 +19,34 @@ package android.hardware.vibrator;
@VintfStability
@Backing(type="int")
enum CompositePrimitive {
    /**
     * No haptic effect. Used to generate extended delays between primitives.
     */
    NOOP,
    /**
     * This effect should produce a sharp, crisp click sensation.
     */
    CLICK,
    /**
     * A haptic effect that simulates downwards movement with gravity. Often
     * followed by extra energy of hitting and reverberation to augment
     * physicality.
     */
    THUD,
    /**
     * A haptic effect that simulates spinning momentum.
     */
    SPIN,
    /**
     * A haptic effect that simulates quick upward movement against gravity.
     */
    QUICK_RISE,
    /**
     * A haptic effect that simulates slow upward movement against gravity.
     */
    SLOW_RISE,
    /**
     * A haptic effect that simulates quick downwards movement with gravity.
     */
    QUICK_FALL,
}