Add PWLE notification vibration patterns for P21 devices am: aa73129ab3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/16585105 Change-Id: I04aa54f0b9f66817d90fee0d3c376c1b32c658b0
This commit is contained in:
commit
3212203ecb
2 changed files with 164 additions and 0 deletions
|
@ -227,6 +227,88 @@
|
||||||
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
|
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
|
||||||
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
|
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
|
||||||
|
|
||||||
|
<!-- A vibration waveform for notifications that specify DEFAULT_VIBRATE.
|
||||||
|
This value is a float array with values grouped as
|
||||||
|
{ targetAmplitude (within [0,1]), targetFrequency [-1,1], duration (in milliseconds) }
|
||||||
|
This is only applied on devices with vibration frequency control. If the device doesn't
|
||||||
|
support frequency control, then the vibration specified in
|
||||||
|
config_defaultNotificationVibePattern is used instead.
|
||||||
|
-->
|
||||||
|
<array name="config_defaultNotificationVibeWaveform">
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>0.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<!-- A vibration waveform for notifications that do not specify vibration but vibrate anyway,
|
||||||
|
because the device is in vibrate mode. This value is a float array with values grouped as
|
||||||
|
{ targetAmplitude (within [0,1]), targetFrequency [-1,1], duration (in milliseconds) }
|
||||||
|
This is only applied on devices with vibration frequency control. If the device doesn't
|
||||||
|
support frequency control, then the vibration specified in
|
||||||
|
config_notificationFallbackVibePattern is used instead.
|
||||||
|
-->
|
||||||
|
<array name="config_notificationFallbackVibeWaveform">
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>0.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>50.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>50.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>50.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>50.0</item>
|
||||||
|
</array>
|
||||||
|
|
||||||
<!-- the number of the max cached processes in the system. -->
|
<!-- the number of the max cached processes in the system. -->
|
||||||
<integer name="config_customizedMaxCachedProcesses">64</integer>
|
<integer name="config_customizedMaxCachedProcesses">64</integer>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -195,6 +195,88 @@
|
||||||
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
|
non-zero amplitudes, to bring the vibrator amplitude down to zero using this timing. -->
|
||||||
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
|
<integer name="config_vibrationWaveformRampDownDuration">50</integer>
|
||||||
|
|
||||||
|
<!-- A vibration waveform for notifications that specify DEFAULT_VIBRATE.
|
||||||
|
This value is a float array with values grouped as
|
||||||
|
{ targetAmplitude (within [0,1]), targetFrequency [-1,1], duration (in milliseconds) }
|
||||||
|
This is only applied on devices with vibration frequency control. If the device doesn't
|
||||||
|
support frequency control, then the vibration specified in
|
||||||
|
config_defaultNotificationVibePattern is used instead.
|
||||||
|
-->
|
||||||
|
<array name="config_defaultNotificationVibeWaveform">
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>0.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<!-- A vibration waveform for notifications that do not specify vibration but vibrate anyway,
|
||||||
|
because the device is in vibrate mode. This value is a float array with values grouped as
|
||||||
|
{ targetAmplitude (within [0,1]), targetFrequency [-1,1], duration (in milliseconds) }
|
||||||
|
This is only applied on devices with vibration frequency control. If the device doesn't
|
||||||
|
support frequency control, then the vibration specified in
|
||||||
|
config_notificationFallbackVibePattern is used instead.
|
||||||
|
-->
|
||||||
|
<array name="config_notificationFallbackVibeWaveform">
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>0.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>50.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>50.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>50.0</item>
|
||||||
|
|
||||||
|
<item>0.4</item>
|
||||||
|
<item>-0.25</item>
|
||||||
|
<item>100.0</item>
|
||||||
|
|
||||||
|
<item>0.0</item>
|
||||||
|
<item>-0.85</item>
|
||||||
|
<item>50.0</item>
|
||||||
|
</array>
|
||||||
|
|
||||||
<!-- Height of the status bar.
|
<!-- Height of the status bar.
|
||||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||||
-->
|
-->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue