mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-04 01:34:07 +00:00
Merge "vibrator: aidl: Add Descriptions for Primitives"
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user