diff options
Diffstat (limited to 'gui/devices')
-rw-r--r-- | gui/devices/1080x1920/res/ui.xml | 8 | ||||
-rw-r--r-- | gui/devices/1920x1200/res/ui.xml | 8 | ||||
-rw-r--r-- | gui/devices/320x320/res/ui.xml | 8 | ||||
-rw-r--r-- | gui/devices/480x800/res/ui.xml | 8 | ||||
-rw-r--r-- | gui/devices/800x480/res/ui.xml | 8 | ||||
-rw-r--r-- | gui/devices/landscape/res/landscape.xml | 40 | ||||
-rw-r--r-- | gui/devices/portrait/res/portrait.xml | 40 | ||||
-rw-r--r-- | gui/devices/watch/res/watch.xml | 40 |
8 files changed, 160 insertions, 0 deletions
diff --git a/gui/devices/1080x1920/res/ui.xml b/gui/devices/1080x1920/res/ui.xml index 4661583ca..3135a03dc 100644 --- a/gui/devices/1080x1920/res/ui.xml +++ b/gui/devices/1080x1920/res/ui.xml @@ -199,6 +199,14 @@ <variable name="slidervalue_padding" value="30" /> <variable name="slidervalue_sliderw" value="15" /> <variable name="slidervalue_sliderh" value="90" /> + <variable name="pattern_x" value="216" /> + <variable name="pattern_y" value="508" /> + <variable name="pattern_width" value="648" /> + <variable name="pattern_dot_color" value="#33B5E5" /> + <variable name="pattern_dot_color_active" value="#FFFFFF" /> + <variable name="pattern_dot_radius" value="23" /> + <variable name="pattern_line_color" value="#33B5E5" /> + <variable name="pattern_line_width" value="18" /> </variables> <mousecursor> diff --git a/gui/devices/1920x1200/res/ui.xml b/gui/devices/1920x1200/res/ui.xml index e8290ef21..986c02657 100644 --- a/gui/devices/1920x1200/res/ui.xml +++ b/gui/devices/1920x1200/res/ui.xml @@ -213,6 +213,14 @@ <variable name="slidervalue_padding" value="0" /> <variable name="slidervalue_sliderw" value="20" /> <variable name="slidervalue_sliderh" value="80" /> + <variable name="pattern_x" value="480" /> + <variable name="pattern_y" value="240" /> + <variable name="pattern_width" value="720" /> + <variable name="pattern_dot_color" value="#33B5E5" /> + <variable name="pattern_dot_color_active" value="#FFFFFF" /> + <variable name="pattern_dot_radius" value="23" /> + <variable name="pattern_line_color" value="#33B5E5" /> + <variable name="pattern_line_width" value="18" /> </variables> <mousecursor> diff --git a/gui/devices/320x320/res/ui.xml b/gui/devices/320x320/res/ui.xml index 317e63283..5495b7717 100644 --- a/gui/devices/320x320/res/ui.xml +++ b/gui/devices/320x320/res/ui.xml @@ -202,6 +202,14 @@ <variable name="slidervalue_sliderh" value="20" /> <variable name="wipe_button_row1" value="240" /> <variable name="invalid_partition_y" value="218" /> + <variable name="pattern_x" value="70" /> + <variable name="pattern_y" value="22" /> + <variable name="pattern_width" value="180" /> + <variable name="pattern_dot_color" value="#33B5E5" /> + <variable name="pattern_dot_color_active" value="#FFFFFF" /> + <variable name="pattern_dot_radius" value="7" /> + <variable name="pattern_line_color" value="#33B5E5" /> + <variable name="pattern_line_width" value="4" /> </variables> <templates> diff --git a/gui/devices/480x800/res/ui.xml b/gui/devices/480x800/res/ui.xml index 72183fee3..3c320a7eb 100644 --- a/gui/devices/480x800/res/ui.xml +++ b/gui/devices/480x800/res/ui.xml @@ -194,6 +194,14 @@ <variable name="slidervalue_padding" value="13" /> <variable name="slidervalue_sliderw" value="7" /> <variable name="slidervalue_sliderh" value="40" /> + <variable name="pattern_x" value="90" /> + <variable name="pattern_y" value="250" /> + <variable name="pattern_width" value="300" /> + <variable name="pattern_dot_color" value="#33B5E5" /> + <variable name="pattern_dot_color_active" value="#FFFFFF" /> + <variable name="pattern_dot_radius" value="12" /> + <variable name="pattern_line_color" value="#33B5E5" /> + <variable name="pattern_line_width" value="9" /> </variables> <mousecursor> diff --git a/gui/devices/800x480/res/ui.xml b/gui/devices/800x480/res/ui.xml index f35d1d499..12e0ee702 100644 --- a/gui/devices/800x480/res/ui.xml +++ b/gui/devices/800x480/res/ui.xml @@ -214,6 +214,14 @@ <variable name="slidervalue_padding" value="0" /> <variable name="slidervalue_sliderw" value="7" /> <variable name="slidervalue_sliderh" value="40" /> + <variable name="pattern_x" value="200" /> + <variable name="pattern_y" value="110" /> + <variable name="pattern_width" value="300" /> + <variable name="pattern_dot_color" value="#33B5E5" /> + <variable name="pattern_dot_color_active" value="#FFFFFF" /> + <variable name="pattern_dot_radius" value="10" /> + <variable name="pattern_line_color" value="#33B5E5" /> + <variable name="pattern_line_width" value="7" /> </variables> <mousecursor> 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" /> diff --git a/gui/devices/portrait/res/portrait.xml b/gui/devices/portrait/res/portrait.xml index 02e3a5a44..76a6dc754 100644 --- a/gui/devices/portrait/res/portrait.xml +++ b/gui/devices/portrait/res/portrait.xml @@ -3268,6 +3268,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> @@ -3304,6 +3309,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="%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="%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" /> 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" /> |