Cherish: add reverse animation direction for edge light
Signed-off-by: Genkzsz11 <genkzsz11@nusantaradevs.org> Signed-off-by: bezke <bezke1@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -51,6 +51,15 @@
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pulse_ambient_light_repeat_direction_entries">
|
||||
<item>@string/pulse_ambient_light_repeat_direction_restart</item>
|
||||
<item>@string/pulse_ambient_light_repeat_direction_reverse</item>
|
||||
</string-array>
|
||||
<string-array name="pulse_ambient_light_repeat_direction_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="torch_long_press_power_timeout_entries" translatable="false">
|
||||
<item>@string/torch_long_press_power_timeout_never</item>
|
||||
<item>@string/torch_long_press_power_timeout_1min</item>
|
||||
|
||||
@@ -889,6 +889,9 @@
|
||||
<string name="pulse_ambient_light_category">Screen edge lighting</string>
|
||||
<string name="pulse_ambient_light_title">Show on new notifcation</string>
|
||||
<string name="pulse_ambient_light_summary">Show light pulse on new notification</string>
|
||||
<string name="pulse_ambient_light_repeat_direction_title">Light repeat mode</string>
|
||||
<string name="pulse_ambient_light_repeat_direction_restart">Restart</string>
|
||||
<string name="pulse_ambient_light_repeat_direction_reverse">Reverse</string>
|
||||
<string name="ambient_notification_light_enabled_title">Show on always on</string>
|
||||
<string name="ambient_notification_light_enabled_summary">Show light pulse on new notification using always on</string>
|
||||
<string name="ambient_notification_light_color_title">Custom color</string>
|
||||
|
||||
@@ -217,6 +217,13 @@
|
||||
settings:interval="1"
|
||||
android:dependency="pulse_ambient_light" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="ambient_light_repeat_direction"
|
||||
android:title="@string/pulse_ambient_light_repeat_direction_title"
|
||||
android:entries="@array/pulse_ambient_light_repeat_direction_entries"
|
||||
android:entryValues="@array/pulse_ambient_light_repeat_direction_values"
|
||||
android:defaultValue="0" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user