summaryrefslogtreecommitdiffstats
path: root/gui/devices/watch/res
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2015-03-05 23:21:49 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-03-13 18:12:58 +0100
commit7e11ac5d3c345f0f1227a070a1c10eee885bcfce (patch)
tree499c77e9b8e549bc941837b081552da4c4ab2303 /gui/devices/watch/res
parentAllow touch to use a key code to sync touch events (diff)
downloadandroid_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.gz
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.bz2
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.lz
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.xz
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.tar.zst
android_bootable_recovery-7e11ac5d3c345f0f1227a070a1c10eee885bcfce.zip
Diffstat (limited to 'gui/devices/watch/res')
-rw-r--r--gui/devices/watch/res/watch.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/gui/devices/watch/res/watch.xml b/gui/devices/watch/res/watch.xml
index c40e981ff..d6a3fa8a2 100644
--- a/gui/devices/watch/res/watch.xml
+++ b/gui/devices/watch/res/watch.xml
@@ -3261,6 +3261,11 @@
<page name="decrypt">
<object type="template" name="header" />
+ <object type="action">
+ <condition var1="tw_crypto_pwtype" var2="2" />
+ <action function="page">decrypt_pattern</action>
+ </object>
+
<object type="text">
<placement x="%center_x%" y="%row1_header_y%" placement="5" />
<text>Please Enter Your Password</text>
@@ -3297,6 +3302,41 @@
<object type="template" name="footer" />
</page>
+ <page name="decrypt_pattern">
+ <object type="template" name="header" />
+
+ <object type="text">
+ <placement x="%center_x%" y="%row1_header_y%" placement="5" />
+ <text>Please Enter Your Pattern</text>
+ </object>
+
+ <object type="text">
+ <condition var1="tw_password_fail" var2="1" />
+ <font resource="font" color="%text_fail_color%"/>
+ <placement x="%center_x%" y="%row1_text_y%" placement="5" />
+ <text>Pattern Failed, Please Try Again</text>
+ </object>
+
+ <object type="patternpassword">
+ <placement x="%pattern_x%" y="%pattern_y%" w="%pattern_width%" h="%pattern_width%" />
+ <dot color="%pattern_dot_color%" activecolor="%pattern_dot_color_active%" radius="%pattern_dot_radius%" />
+ <line color="%pattern_line_color%" width="%pattern_line_width%" />
+ <data name="tw_crypto_password"/>
+ <action function="page">trydecrypt</action>
+ </object>
+
+ <object type="button">
+ <placement x="%col_center_x%" y="%row4_y%" />
+ <text>Cancel</text>
+ <actions>
+ <action function="set">tw_page_done=1</action>
+ <action function="page">main</action>
+ </actions>
+ </object>
+
+ <object type="template" name="footer" />
+ </page>
+
<page name="trydecrypt">
<object type="template" name="header" />