vibrator: aidl: Add Descriptions for Primitives

Test: Build
Change-Id: I05d43cb75d6c7cf9ece95a3c7d1ee9ce9980cebb
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
This commit is contained in:
Harpreet \"Eli\" Sangha 2019-12-10 15:44:19 +09:00
parent f78d7734d1
commit 63c06d62d7

View file

@ -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,
}