Cherish: Ambient edge pulse animation [2/2]
This commit is contained in:
@@ -563,4 +563,15 @@
|
|||||||
<item>@string/daylight_header_provider</item>
|
<item>@string/daylight_header_provider</item>
|
||||||
<item>@string/file_header_provider</item>
|
<item>@string/file_header_provider</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
|
<!-- Edge light Animation -->
|
||||||
|
<string-array name="pulse_ambient_light_anim_entries">
|
||||||
|
<item>@string/pulse_ambient_light_anim_restart</item>
|
||||||
|
<item>@string/pulse_ambient_light_anim_reverse</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<string-array name="pulse_ambient_light_anim_values" translatable="false">
|
||||||
|
<item>0</item>
|
||||||
|
<item>1</item>
|
||||||
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -644,5 +644,8 @@
|
|||||||
<string name="ambient_notification_light_accent_summary">Sync color with accent color</string>
|
<string name="ambient_notification_light_accent_summary">Sync color with accent color</string>
|
||||||
<string name="pulse_ambient_light_pulse_for_all_repeat_title">Repeat edge lighting</string>
|
<string name="pulse_ambient_light_pulse_for_all_repeat_title">Repeat edge lighting</string>
|
||||||
<string name="pulse_ambient_light_pulse_for_all_repeat_summary">Repeat edge lighting animation on doze wake</string>
|
<string name="pulse_ambient_light_pulse_for_all_repeat_summary">Repeat edge lighting animation on doze wake</string>
|
||||||
|
<string name="pulse_ambient_light_repeat_mode_title">Edge Light Animation</string>
|
||||||
|
<string name="pulse_ambient_light_anim_restart">Restart</string>
|
||||||
|
<string name="pulse_ambient_light_anim_reverse">Reverse</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -68,6 +68,13 @@
|
|||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
android:dependency="pulse_ambient_light_auto_color_left"
|
android:dependency="pulse_ambient_light_auto_color_left"
|
||||||
settings:defaultColorValue="0xFF3980FF" />
|
settings:defaultColorValue="0xFF3980FF" />
|
||||||
|
|
||||||
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||||
|
android:key="pulse_ambient_light_repeat_mode_left"
|
||||||
|
android:title="@string/pulse_ambient_light_repeat_mode_title"
|
||||||
|
android:entries="@array/pulse_ambient_light_anim_entries"
|
||||||
|
android:entryValues="@array/pulse_ambient_light_anim_values"
|
||||||
|
android:defaultValue="0" />
|
||||||
|
|
||||||
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
||||||
android:key="pulse_ambient_light_left_duration"
|
android:key="pulse_ambient_light_left_duration"
|
||||||
@@ -103,6 +110,13 @@
|
|||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
android:dependency="pulse_ambient_light_auto_color_right"
|
android:dependency="pulse_ambient_light_auto_color_right"
|
||||||
settings:defaultColorValue="0xFF3980FF" />
|
settings:defaultColorValue="0xFF3980FF" />
|
||||||
|
|
||||||
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||||
|
android:key="pulse_ambient_light_repeat_mode_right"
|
||||||
|
android:title="@string/pulse_ambient_light_repeat_mode_title"
|
||||||
|
android:entries="@array/pulse_ambient_light_anim_entries"
|
||||||
|
android:entryValues="@array/pulse_ambient_light_anim_values"
|
||||||
|
android:defaultValue="0" />
|
||||||
|
|
||||||
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
||||||
android:key="pulse_ambient_light_right_duration"
|
android:key="pulse_ambient_light_right_duration"
|
||||||
|
|||||||
Reference in New Issue
Block a user