summaryrefslogtreecommitdiffstats
path: root/gui/devices/landscape
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/landscape
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/landscape')
-rw-r--r--gui/devices/landscape/res/landscape.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/gui/devices/landscape/res/landscape.xml b/gui/devices/landscape/res/landscape.xml
index 0a907cbfe..432e9fb03 100644
--- a/gui/devices/landscape/res/landscape.xml
+++ b/gui/devices/landscape/res/landscape.xml
@@ -3241,6 +3241,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_text_y%" placement="5" />
<text>Please Enter Your Password</text>
@@ -3277,6 +3282,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_text_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="%row2_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="%col4_x%" y="%cancel_button_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" />