xref: /aosp_15_r20/frameworks/base/samples/demo/haptic-assessment/README.txt (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1*d57664e9SAndroid Build Coastguard WorkerREADME
2*d57664e9SAndroid Build Coastguard Worker======
3*d57664e9SAndroid Build Coastguard Worker
4*d57664e9SAndroid Build Coastguard WorkerThis haptic assessment sample app allows the user to play with three different
5*d57664e9SAndroid Build Coastguard Workertypes of VibrationEffects:
6*d57664e9SAndroid Build Coastguard Worker
7*d57664e9SAndroid Build Coastguard Worker1) Predefined click effect with default strength.
8*d57664e9SAndroid Build Coastguard Worker
9*d57664e9SAndroid Build Coastguard Worker2) One shot vibration with 20ms duration at max amplitude.
10*d57664e9SAndroid Build Coastguard Worker
11*d57664e9SAndroid Build Coastguard Worker3) Waveform vibration with 500ms duration at half amplitude, then 500ms duration
12*d57664e9SAndroid Build Coastguard Worker   at max amplitude. This will pass if the device supports vibration amplitude
13*d57664e9SAndroid Build Coastguard Worker   control, and visibly fail otherwise.
14