Cherish:Add recognizing FP animation effects and Recognizing fingerprint animation [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -790,4 +790,40 @@
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<!-- FOD Recognizing fingerprint animations -->
|
||||
<string-array name="fod_recognizing_animation_entries" translatable="false">
|
||||
<item>@string/fod_recog_animation_miui_normal</item>
|
||||
<item>@string/fod_recog_animation_miui_aod</item>
|
||||
<item>@string/fod_recog_animation_miui_light</item>
|
||||
<item>@string/fod_recog_animation_miui_pop</item>
|
||||
<item>@string/fod_recog_animation_miui_pulse</item>
|
||||
<item>@string/fod_recog_animation_miui_pulse_white</item>
|
||||
<item>@string/fod_recog_animation_miui_rhythm</item>
|
||||
<item>@string/fod_recog_animation_op_cosmos</item>
|
||||
<item>@string/fod_recog_animation_op_mclaren</item>
|
||||
<item>@string/fod_recog_animation_op_stripe</item>
|
||||
<item>@string/fod_recog_animation_op_wave</item>
|
||||
<item>@string/fod_recog_animation_pureview_dna</item>
|
||||
<item>@string/fod_recog_animation_pureview_future</item>
|
||||
<item>@string/fod_recog_animation_pureview_halo_ring</item>
|
||||
<item>@string/fod_recog_animation_pureview_molecular</item>
|
||||
</string-array>
|
||||
<string-array name="fod_recognizing_animation_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>6</item>
|
||||
<item>7</item>
|
||||
<item>8</item>
|
||||
<item>9</item>
|
||||
<item>10</item>
|
||||
<item>11</item>
|
||||
<item>12</item>
|
||||
<item>13</item>
|
||||
<item>14</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -810,4 +810,24 @@
|
||||
<string name="battery_bar_blend_color_reverse_summary_off">Full → empty: red ← green ← blue ← red</string>
|
||||
<string name="battery_bar_blend_color_reverse_summary_on">Full → empty: red → green → blue → red</string>
|
||||
|
||||
<!-- FOD animations -->
|
||||
<string name="fod_recog_animation">FOD recognizing animation</string>
|
||||
<string name="fod_recog_animation_summary">Shows an animation while reading your finger</string>
|
||||
<string name="fod_recog_animation_effect_title">Recognizing animation effect</string>
|
||||
<string name="fod_recog_animation_miui_normal">MIUI default</string>
|
||||
<string name="fod_recog_animation_miui_aod">AOD</string>
|
||||
<string name="fod_recog_animation_miui_light">Light</string>
|
||||
<string name="fod_recog_animation_miui_pop">Pop</string>
|
||||
<string name="fod_recog_animation_miui_pulse">Pulse</string>
|
||||
<string name="fod_recog_animation_miui_pulse_white">Pulse (White)</string>
|
||||
<string name="fod_recog_animation_miui_rhythm">Rhythm</string>
|
||||
<string name="fod_recog_animation_op_cosmos">Cosmos</string>
|
||||
<string name="fod_recog_animation_op_mclaren">McLaren</string>
|
||||
<string name="fod_recog_animation_op_stripe">Stripe</string>
|
||||
<string name="fod_recog_animation_op_wave">Wave</string>
|
||||
<string name="fod_recog_animation_pureview_dna">DNA</string>
|
||||
<string name="fod_recog_animation_pureview_future">Future</string>
|
||||
<string name="fod_recog_animation_pureview_halo_ring">Halo ring</string>
|
||||
<string name="fod_recog_animation_pureview_molecular">Molecular</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -277,4 +277,21 @@
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<!-- FOD recognizing animation -->
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="fod_recognizing_animation"
|
||||
android:icon="@drawable/ic_fingerprint"
|
||||
android:title="@string/fod_recog_animation"
|
||||
android:summary="@string/fod_recog_animation_summary"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="fod_recognizing_animation_list"
|
||||
android:title="@string/fod_recog_animation_effect_title"
|
||||
android:summary="%s"
|
||||
android:entries="@array/fod_recognizing_animation_entries"
|
||||
android:entryValues="@array/fod_recognizing_animation_values"
|
||||
android:defaultValue="0"
|
||||
android:dependency="fod_recognizing_animation" />
|
||||
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user