Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <recovery> |
| 4 | <details> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 5 | <resolution width="2560" height="1600" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 6 | <author>TeamWin</author> |
| 7 | <title>Backup Naowz</title> |
| 8 | <description>Default basic theme</description> |
| 9 | <preview>preview.jpg</preview> |
| 10 | </details> |
| 11 | |
| 12 | <resources> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 13 | <resource name="font" type="font" filename="Roboto-Regular-40" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 14 | <resource name="base" type="image" filename="background.jpg" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 15 | <resource name="main_button" type="image" filename="button" /> |
| 16 | <resource name="file_icon" type="image" filename="file" /> |
| 17 | <resource name="folder_icon" type="image" filename="folder" /> |
| 18 | <resource name="progress" type="animation" filename="indeterminate" /> |
| 19 | <resource name="progress_empty" type="image" filename="progress_empty" /> |
| 20 | <resource name="progress_full" type="image" filename="progress_fill" /> |
| 21 | <resource name="checkbox_false" type="image" filename="checkbox_empty" /> |
| 22 | <resource name="checkbox_true" type="image" filename="checkbox_checked" /> |
| 23 | <resource name="radio_false" type="image" filename="radio_empty" /> |
| 24 | <resource name="radio_true" type="image" filename="radio_selected" /> |
| 25 | <resource name="medium_button" type="image" filename="medium-button" /> |
| 26 | <resource name="mediumwide_button" type="image" filename="mediumwide-button" /> |
| 27 | <resource name="sort_button" type="image" filename="sort-button" /> |
| 28 | <resource name="minus_button" type="image" filename="minus-button" /> |
| 29 | <resource name="plus_button" type="image" filename="plus-button" /> |
| 30 | <resource name="home_icon" type="image" filename="home-icon" /> |
| 31 | <resource name="back_icon" type="image" filename="back-icon" /> |
| 32 | <resource name="console_button" type="image" filename="console-toggle" /> |
| 33 | <resource name="slider" type="image" filename="slider" /> |
| 34 | <resource name="slider-used" type="image" filename="slider-used" /> |
| 35 | <resource name="slider-touch" type="image" filename="slider-touch" /> |
| 36 | <resource name="unlock-icon" type="image" filename="unlock" /> |
| 37 | <resource name="keyboard1" type="image" filename="keyboard1" /> |
| 38 | <resource name="keyboard2" type="image" filename="keyboard2" /> |
| 39 | <resource name="keyboard3" type="image" filename="keyboard3" /> |
| 40 | <resource name="keyboard4" type="image" filename="keyboard4" /> |
Vojtech Bocek | 1fc30fc | 2014-01-29 18:37:19 +0100 | [diff] [blame] | 41 | <resource name="cursor" type="image" filename="cursor" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 42 | </resources> |
| 43 | |
| 44 | <variables> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 45 | <variable name="col1_x" value="260" /> |
| 46 | <variable name="col2_x" value="770" /> |
| 47 | <variable name="col3_x" value="1310" /> |
| 48 | <variable name="col4_x" value="1820" /> |
| 49 | <variable name="row1_y" value="300" /> |
| 50 | <variable name="row2_y" value="1000" /> |
| 51 | <variable name="col_center_x" value="1040" /> |
| 52 | <variable name="center_x" value="1280" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 53 | <variable name="screen_width" value="1920" /> |
| 54 | <variable name="screen_height" value="1200" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 55 | <variable name="col_progressbar_x" value="1028" /> |
| 56 | <variable name="row_progressbar_y" value="1500" /> |
| 57 | <variable name="col1_medium_x" value="755" /> |
| 58 | <variable name="col2_medium_x" value="1025" /> |
| 59 | <variable name="col3_medium_x" value="1310" /> |
| 60 | <variable name="col4_medium_x" value="1580" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 61 | <variable name="row1_medium_y" value="105" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 62 | <variable name="row2_medium_y" value="500" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 63 | <variable name="row3_medium_y" value="245" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 64 | <variable name="row4_medium_y" value="1000" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 65 | <variable name="row5_medium_y" value="950" /> |
| 66 | <variable name="row1_text_y" value="120" /> |
| 67 | <variable name="row2_text_y" value="195" /> |
| 68 | <variable name="row3_text_y" value="270" /> |
| 69 | <variable name="row4_text_y" value="345" /> |
| 70 | <variable name="row5_text_y" value="420" /> |
| 71 | <variable name="row6_text_y" value="495" /> |
| 72 | <variable name="row7_text_y" value="570" /> |
| 73 | <variable name="row8_text_y" value="645" /> |
| 74 | <variable name="row9_text_y" value="720" /> |
| 75 | <variable name="row10_text_y" value="795" /> |
| 76 | <variable name="row11_text_y" value="870" /> |
| 77 | <variable name="row12_text_y" value="945" /> |
| 78 | <variable name="row13_text_y" value="1020" /> |
| 79 | <variable name="row14_text_y" value="1095" /> |
| 80 | <variable name="row15_text_y" value="1170" /> |
| 81 | <variable name="row16_text_y" value="1240" /> |
| 82 | <variable name="row17_text_y" value="1310" /> |
| 83 | <variable name="row18_text_y" value="1395" /> |
| 84 | <variable name="row_offsetmedium_y" value="1100" /> |
| 85 | <variable name="home_button_x" value="2200" /> |
| 86 | <variable name="home_button_y" value="15" /> |
| 87 | <variable name="back_button_x" value="2320" /> |
| 88 | <variable name="back_button_y" value="15" /> |
| 89 | <variable name="console_button_x" value="2440" /> |
| 90 | <variable name="console_button_y" value="15" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 91 | <variable name="nandcheck_col1" value="328" /> |
| 92 | <variable name="nandcheck_col2" value="800" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 93 | <variable name="nandcheck_row1" value="260" /> |
| 94 | <variable name="nandcheck_row2" value="360" /> |
| 95 | <variable name="nandcheck_row3" value="460" /> |
| 96 | <variable name="nandcheck_row4" value="560" /> |
| 97 | <variable name="nandcheck_row5" value="660" /> |
| 98 | <variable name="nandcheck_row6" value="760" /> |
| 99 | <variable name="nandcheck_row7" value="860" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 100 | <variable name="button_text_color" value="#AAAAAA" /> |
| 101 | <variable name="text_color" value="#A0A0A0" /> |
| 102 | <variable name="text_success_color" value="#33B5E5" /> |
| 103 | <variable name="text_fail_color" value="#FF0101" /> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 104 | <variable name="highlight_color" value="#90909080" /> |
Ethan Yonker | c3120d4 | 2014-02-17 07:55:00 -0600 | [diff] [blame] | 105 | <variable name="caps_highlight_color" value="#33B5E580" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 106 | <variable name="slider_x" value="841" /> |
| 107 | <variable name="slider_y" value="1335" /> |
| 108 | <variable name="slider_text_y" value="1435" /> |
| 109 | <variable name="sort_text_x" value="800" /> |
| 110 | <variable name="sort_asc_text_y" value="1410" /> |
| 111 | <variable name="sort_asc_button_y" value="1400" /> |
| 112 | <variable name="sort_desc_text_y" value="1490" /> |
| 113 | <variable name="sort_desc_button_y" value="1480" /> |
| 114 | <variable name="sort_col1_button_x" value="1200" /> |
| 115 | <variable name="sort_col2_button_x" value="1350" /> |
| 116 | <variable name="sort_col3_button_x" value="1500" /> |
| 117 | <variable name="col1_sdext_x" value="960" /> |
| 118 | <variable name="col2_sdext_x" value="1600" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 119 | <variable name="row1_sdext_y" value="180" /> |
| 120 | <variable name="row2_sdext_y" value="265" /> |
| 121 | <variable name="row_extsize_y" value="175" /> |
| 122 | <variable name="row_swapsize_y" value="260" /> |
| 123 | <variable name="input_x" value="50" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 124 | <variable name="input_width" value="2460" /> |
| 125 | <variable name="input_height" value="65" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 126 | <variable name="input_background_color" value="#303030" /> |
| 127 | <variable name="input_cursor_color" value="#33B5E5" /> |
| 128 | <variable name="input_cursor_width" value="3" /> |
| 129 | <variable name="console_x" value="50" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 130 | <variable name="console_width" value="2460" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 131 | <variable name="console_foreground" value="#A0A0A0" /> |
Ethan Yonker | bf2cb1c | 2014-07-02 10:15:54 -0500 | [diff] [blame] | 132 | <variable name="warning" value="#F8F8A0" /> |
| 133 | <variable name="error" value="#FF4040" /> |
| 134 | <variable name="highlight" value="#33B5E5" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 135 | <variable name="console_background" value="#303030" /> |
| 136 | <variable name="console_scroll" value="#303030" /> |
| 137 | <variable name="console_action_height" value="320" /> |
| 138 | <variable name="console_install_height" value="440" /> |
| 139 | <variable name="console_installdone_height" value="300" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 140 | <variable name="fileselector_folder_x" value="70" /> |
| 141 | <variable name="fileselector_folder_width" value="910" /> |
| 142 | <variable name="fileselector_folderonly_width" value="1200" /> |
| 143 | <variable name="fileselector_file_x" value="1000" /> |
| 144 | <variable name="fileselector_file_width" value="1500" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 145 | <variable name="fileselector_install_y" value="290" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 146 | <variable name="fileselector_install_height" value="1100" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 147 | <variable name="fileselector_header_background" value="#202020" /> |
| 148 | <variable name="fileselector_header_textcolor" value="#AAAAAA" /> |
| 149 | <variable name="fileselector_header_separatorcolor" value="#33B5E5" /> |
| 150 | <variable name="fileselector_header_separatorheight" value="3" /> |
| 151 | <variable name="fileselector_separatorcolor" value="#505050" /> |
| 152 | <variable name="fileselector_separatorheight" value="2" /> |
| 153 | <variable name="fileselector_background" value="#303030" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 154 | <variable name="fileselector_highlight_color" value="#505050" /> |
| 155 | <variable name="fileselector_highlight_font_color" value="#33B5E5" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 156 | <variable name="fileselector_spacing" value="18" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 157 | <variable name="fastscroll_linecolor" value="#808080" /> |
| 158 | <variable name="fastscroll_rectcolor" value="#808080" /> |
| 159 | <variable name="fastscroll_w" value="80" /> |
| 160 | <variable name="fastscroll_linew" value="4" /> |
| 161 | <variable name="fastscroll_rectw" value="60" /> |
| 162 | <variable name="fastscroll_recth" value="100" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 163 | <variable name="zipstorage_text_y" value="190" /> |
| 164 | <variable name="listbox_x" value="680" /> |
| 165 | <variable name="listbox_y" value="195" /> |
| 166 | <variable name="listbox_width" value="1200" /> |
| 167 | <variable name="listbox_tz_height" value="650" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 168 | <variable name="listbox_background" value="#303030" /> |
| 169 | <variable name="listbox_spacing" value="18" /> |
| 170 | <variable name="sd_plus_x" value="408" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 171 | <variable name="lock_x" value="880" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 172 | <variable name="lock_y" value="300" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 173 | <variable name="filemanager_select_x" value="2000" /> |
| 174 | <variable name="filemanager_select_y" value="1360" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 175 | <variable name="backup_name_text_y" value="440" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 176 | <variable name="backup_name_button_y" value="950" /> |
Dees Troy | b21cc64 | 2013-09-10 17:36:41 +0000 | [diff] [blame] | 177 | <variable name="col_right_x" value="2510" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 178 | <variable name="cancel_button_y" value="430" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 179 | <variable name="terminal_console_y" value="0" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 180 | <variable name="terminal_console_height" value="810" /> |
| 181 | <variable name="terminal_text_y" value="837" /> |
| 182 | <variable name="terminal_button_y" value="815" /> |
| 183 | <variable name="terminal_input_width" value="2100" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 184 | <variable name="button_fill_color" value="#303030" /> |
| 185 | <variable name="button_fill_full_width" value="1280" /> |
| 186 | <variable name="button_fill_main_width" value="1200" /> |
| 187 | <variable name="button_fill_main_height" value="320" /> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 188 | <variable name="button_fill_half_height" value="107" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 189 | <variable name="button_fill_quarter_height" value="80" /> |
| 190 | <variable name="button_full_center_x" value="640" /> |
| 191 | <variable name="backup_list_x" value="50" /> |
| 192 | <variable name="backup_list_y" value="210" /> |
| 193 | <variable name="backup_list_width" value="1200" /> |
| 194 | <variable name="backup_list_height" value="880" /> |
| 195 | <variable name="backup_storage_y" value="540" /> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 196 | <variable name="backup_encrypt_y" value="650" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 197 | <variable name="restore_list_y" value="280" /> |
| 198 | <variable name="restore_list_height" value="800" /> |
| 199 | <variable name="mount_list_height" value="1200" /> |
| 200 | <variable name="mount_storage_row" value="1100" /> |
| 201 | <variable name="wipe_list_height" value="1100" /> |
| 202 | <variable name="wipe_button_y" value="500" /> |
Vojtech Bocek | 8593234 | 2013-04-01 22:11:33 +0200 | [diff] [blame] | 203 | <variable name="slidervalue_x" value="640" /> |
| 204 | <variable name="slidervalue_w" value="1280" /> |
| 205 | <variable name="slidervalue_line_clr" value="#FFFFFF" /> |
| 206 | <variable name="slidervalue_slider_clr" value="#33B5E5" /> |
| 207 | <variable name="slidervalue_lineh" value="4" /> |
| 208 | <variable name="slidervalue_padding" value="0" /> |
| 209 | <variable name="slidervalue_sliderw" value="30" /> |
| 210 | <variable name="slidervalue_sliderh" value="90" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 211 | </variables> |
| 212 | |
Vojtech Bocek | 1fc30fc | 2014-01-29 18:37:19 +0100 | [diff] [blame] | 213 | <mousecursor> |
| 214 | <placement w="15" h="15" /> |
| 215 | <background color="#FFFF00FF" resource="cursor" /> |
| 216 | <speed multiplier="2.5" /> |
| 217 | </mousecursor> |
| 218 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 219 | <templates> |
| 220 | <template name="header"> |
| 221 | <background color="#000000FF" /> |
| 222 | |
| 223 | <object type="image"> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 224 | <image resource="base" /> |
| 225 | <placement x="0" y="0" /> |
| 226 | </object> |
| 227 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 228 | <object type="text" color="%text_color%"> |
| 229 | <font resource="font" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 230 | <placement x="400" y="8" /> |
Dees_Troy | e7e0ae8 | 2013-07-05 14:46:07 +0000 | [diff] [blame] | 231 | <text>Team Win Recovery Project v%tw_version%</text> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 232 | </object> |
| 233 | |
| 234 | <object type="text" color="%text_color%"> |
| 235 | <font resource="font" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 236 | <placement x="400" y="55" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 237 | <conditions> |
| 238 | <condition var1="tw_no_battery_percent" var2="0" /> |
| 239 | <condition var1="tw_battery" op=">" var2="0" /> |
| 240 | <condition var1="tw_battery" op="<" var2="101" /> |
| 241 | </conditions> |
| 242 | <text>Battery Level: %tw_battery%</text> |
| 243 | </object> |
| 244 | |
| 245 | <object type="text" color="%text_color%"> |
| 246 | <font resource="font" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 247 | <placement x="900" y="55" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 248 | <text>%tw_time%</text> |
| 249 | </object> |
| 250 | |
| 251 | <object type="text" color="%text_color%"> |
| 252 | <condition var1="tw_simulate_actions" var2="1" /> |
| 253 | <font resource="font" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 254 | <placement x="1100" y="55" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 255 | <text>SIMULATING ACTIONS</text> |
| 256 | </object> |
| 257 | |
| 258 | <object type="button"> |
| 259 | <placement x="%home_button_x%" y="%home_button_y%" /> |
| 260 | <font resource="font" color="%button_text_color%" /> |
| 261 | <text></text> |
| 262 | <image resource="home_icon" /> |
| 263 | <condition var1="tw_busy" var2="0" /> |
| 264 | <action function="key">home</action> |
| 265 | </object> |
| 266 | |
| 267 | <object type="button"> |
| 268 | <placement x="%back_button_x%" y="%back_button_y%" /> |
| 269 | <font resource="font" color="%button_text_color%" /> |
| 270 | <text></text> |
| 271 | <image resource="back_icon" /> |
| 272 | <condition var1="tw_busy" var2="0" /> |
| 273 | <action function="key">back</action> |
| 274 | </object> |
| 275 | |
| 276 | <object type="action"> |
| 277 | <touch key="power" /> |
| 278 | <action function="overlay">lock</action> |
| 279 | </object> |
Vojtech Bocek | 03fd6c5 | 2014-03-13 18:46:34 +0100 | [diff] [blame^] | 280 | |
| 281 | <object type="action"> |
| 282 | <touch key="power+voldown" /> |
| 283 | <action function="screenshot" /> |
| 284 | </object> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 285 | </template> |
| 286 | |
| 287 | <template name="progress_bar"> |
| 288 | <object type="progressbar"> |
| 289 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 290 | <resource empty="progress_empty" full="progress_full" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 291 | <data name="ui_progress" /> |
| 292 | </object> |
| 293 | |
| 294 | <object type="animation"> |
| 295 | <placement x="%col_progressbar_x%" y="%row_progressbar_y%" /> |
| 296 | <resource name="progress" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 297 | <speed fps="15" render="2" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 298 | <loop frame="1" /> |
| 299 | </object> |
| 300 | </template> |
| 301 | |
| 302 | <template name="sort_options"> |
| 303 | <object type="text" color="%text_color%"> |
| 304 | <font resource="font" /> |
| 305 | <placement x="%sort_text_x%" y="%sort_asc_text_y%" /> |
| 306 | <text>Sort Ascending:</text> |
| 307 | </object> |
| 308 | |
| 309 | <object type="button"> |
| 310 | <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" /> |
| 311 | <font resource="font" color="%button_text_color%" /> |
| 312 | <text>Name</text> |
| 313 | <image resource="sort_button" /> |
| 314 | <action function="set">tw_gui_sort_order=1</action> |
| 315 | </object> |
| 316 | |
| 317 | <object type="button"> |
| 318 | <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" /> |
| 319 | <font resource="font" color="%button_text_color%" /> |
| 320 | <text>Date</text> |
| 321 | <image resource="sort_button" /> |
| 322 | <action function="set">tw_gui_sort_order=2</action> |
| 323 | </object> |
| 324 | |
| 325 | <object type="button"> |
| 326 | <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" /> |
| 327 | <font resource="font" color="%button_text_color%" /> |
| 328 | <text>Size</text> |
| 329 | <image resource="sort_button" /> |
| 330 | <action function="set">tw_gui_sort_order=3</action> |
| 331 | </object> |
| 332 | |
| 333 | <object type="text" color="%text_color%"> |
| 334 | <font resource="font" /> |
| 335 | <placement x="%sort_text_x%" y="%sort_desc_text_y%" /> |
| 336 | <text>Sort Descending:</text> |
| 337 | </object> |
| 338 | |
| 339 | <object type="button"> |
| 340 | <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" /> |
| 341 | <font resource="font" color="%button_text_color%" /> |
| 342 | <text>Name</text> |
| 343 | <image resource="sort_button" /> |
| 344 | <action function="set">tw_gui_sort_order=-1</action> |
| 345 | </object> |
| 346 | |
| 347 | <object type="button"> |
| 348 | <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" /> |
| 349 | <font resource="font" color="%button_text_color%" /> |
| 350 | <text>Date</text> |
| 351 | <image resource="sort_button" /> |
| 352 | <action function="set">tw_gui_sort_order=-2</action> |
| 353 | </object> |
| 354 | |
| 355 | <object type="button"> |
| 356 | <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" /> |
| 357 | <font resource="font" color="%button_text_color%" /> |
| 358 | <text>Size</text> |
| 359 | <image resource="sort_button" /> |
| 360 | <action function="set">tw_gui_sort_order=-3</action> |
| 361 | </object> |
| 362 | </template> |
| 363 | |
| 364 | <template name="flash_zip_console"> |
| 365 | <object type="console"> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 366 | <placement x="%console_x%" y="195" w="%console_width%" h="950" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 367 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 368 | <font resource="fixed" /> |
| 369 | </object> |
| 370 | </template> |
| 371 | |
| 372 | <template name="action_page_console"> |
| 373 | <object type="console"> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 374 | <placement x="%console_x%" y="400" w="%console_width%" h="800" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 375 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 376 | <font resource="fixed" /> |
| 377 | </object> |
| 378 | </template> |
| 379 | |
| 380 | <template name="footer"> |
| 381 | <object type="console"> |
| 382 | <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 383 | <placement x="%console_x%" y="195" w="%console_width%" h="1335" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 384 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 385 | <font resource="fixed" /> |
| 386 | </object> |
| 387 | </template> |
| 388 | |
| 389 | <template name="keyboardtemplate"> |
| 390 | <object type="keyboard"> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 391 | <placement x="0" y="912" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 392 | <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" /> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 393 | <highlight color="%highlight_color%" /> |
Ethan Yonker | c3120d4 | 2014-02-17 07:55:00 -0600 | [diff] [blame] | 394 | <capshighlight color="%caps_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 395 | <layout1> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 396 | <keysize height="172" width="212" /> |
| 397 | <row1 key01="204:" key02="q" long02="1" key03="w" long03="2" key04="e" long04="3" key05="r" long05="4" key06="t" long06="5" key07="y" long07="6" key08="u" long08="7" key09="i" long09="8" key10="o" long10="9" key11="p" long11="0" key12="236:c:8" /> |
| 398 | <row2 key01="286:layout3" key02="208:a" key03="208:s" key04="208:d" key05="208:f" key06="208:g" key07="208:h" key08="208:j" key09="208:k" key10="208:l" key11="402:action" /> |
| 399 | <row3 key01="354:layout2" key02="206:z" key03="206:x" key04="206:c" key05="206:v" key06="206:b" key07="206:n" key08="206:m" key09="206:," long09="!" key10="206:." long10="?" key11="352:layout2" /> |
| 400 | <row4 key01="560:" key02="206:/" long02="@" key03="1030: " key04="206:'" long04="206:c:34" key05="212:-" long05="212:_" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 401 | </layout1> |
| 402 | <layout2> |
Ethan Yonker | c3120d4 | 2014-02-17 07:55:00 -0600 | [diff] [blame] | 403 | <keysize height="172" width="212" capslock="0" revert_layout="1" /> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 404 | <row1 key01="204:" key02="Q" long02="1" key03="W" long03="2" key04="E" long04="3" key05="R" long05="4" key06="T" long06="5" key07="Y" long07="6" key08="U" long08="7" key09="I" long09="8" key10="O" long10="9" key11="P" long11="0" key12="236:c:8" /> |
| 405 | <row2 key01="286:layout3" key02="208:A" key03="208:S" key04="208:D" key05="208:F" key06="208:G" key07="208:H" key08="208:J" key09="208:K" key10="208:L" key11="402:action" /> |
| 406 | <row3 key01="354:layout1" key02="206:Z" key03="206:X" key04="206:C" key05="206:V" key06="206:B" key07="206:N" key08="206:M" key09="206:," long09="!" key10="206:." long10="?" key11="352:layout1" /> |
| 407 | <row4 key01="560:" key02="206:/" long02="@" key03="1030: " key04="206:'" long04="206:c:34" key05="-" long05="_" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 408 | </layout2> |
| 409 | <layout3> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 410 | <keysize height="172" width="212" /> |
| 411 | <row1 key01="204:" key02="1" key03="2" key04="3" key05="4" key06="5" key07="6" key08="7" key09="8" key10="9" key11="0" key12="236:c:8" /> |
| 412 | <row2 key01="286:layout1" key02="208:#" key03="208:$" key04="208:%" key05="208:&" key06="208:*" key07="208:-" key08="208:+" key09="208:(" key10="208:)" key11="402:action" /> |
| 413 | <row3 key01="354:layout4" key02="206:<" key03="206:>" key04="206:=" key05="206:'" key06="206:;" key07="206:," key08="206:." key09="206:!" key10="206:?" key11="352:layout4" /> |
| 414 | <row4 key01="354:" key02="206:/" key03="206:@" key04="1030: " key05="206:c:34" key06="206:_" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 415 | </layout3> |
| 416 | <layout4> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 417 | <keysize height="172" width="212" /> |
| 418 | <row1 key01="204:" key02="~" key03="`" key04="|" key05="212:" key06="212:" key07="212:" key08="212:" key09="212:" key10="212:" key11="212:" key12="236:c:8" /> |
| 419 | <row2 key01="286:layout1" key02="208:" key03="208:" key04="208:" key05="208:" key06="208:^" key07="208:" key08="208:" key09="208:{" key10="208:}" key11="402:action" /> |
| 420 | <row3 key01="354:layout3" key02="206:\" key03="206:" key04="206:" key05="206:" key06="206:" key07="206:[" key08="206:]" key09="206:!" key10="206:?" key11="352:layout3" /> |
| 421 | <row4 key01="766:" key02="1030: " /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 422 | </layout4> |
| 423 | </object> |
| 424 | </template> |
| 425 | </templates> |
| 426 | |
| 427 | <pages> |
| 428 | <page name="main"> |
| 429 | <object type="action"> |
| 430 | <actions> |
| 431 | <action function="set">tw_clear_destination=main2</action> |
| 432 | <action function="page">clear_vars</action> |
| 433 | </actions> |
| 434 | </object> |
| 435 | </page> |
| 436 | |
| 437 | <page name="main2"> |
| 438 | <object type="template" name="header" /> |
| 439 | |
| 440 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 441 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 442 | <placement x="%col1_x%" y="%row1_y%" /> |
| 443 | <font resource="font" color="%button_text_color%" /> |
| 444 | <text>Install</text> |
| 445 | <image resource="main_button" /> |
| 446 | <actions> |
| 447 | <action function="queueclear"></action> |
| 448 | <action function="page">install</action> |
| 449 | </actions> |
| 450 | </object> |
| 451 | |
| 452 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 453 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 454 | <placement x="%col2_x%" y="%row1_y%" /> |
| 455 | <font resource="font" color="%button_text_color%" /> |
| 456 | <text>Backup</text> |
| 457 | <image resource="main_button" /> |
| 458 | <action function="page">backup</action> |
| 459 | </object> |
| 460 | |
| 461 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 462 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 463 | <placement x="%col3_x%" y="%row1_y%" /> |
| 464 | <font resource="font" color="%button_text_color%" /> |
| 465 | <text>Restore</text> |
| 466 | <image resource="main_button" /> |
| 467 | <action function="page">restore</action> |
| 468 | </object> |
| 469 | |
| 470 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 471 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 472 | <placement x="%col4_x%" y="%row1_y%" /> |
| 473 | <font resource="font" color="%button_text_color%" /> |
| 474 | <text>Wipe</text> |
| 475 | <image resource="main_button" /> |
| 476 | <action function="page">wipe</action> |
| 477 | </object> |
| 478 | |
| 479 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 480 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 481 | <placement x="%col1_x%" y="%row2_y%" /> |
| 482 | <font resource="font" color="%button_text_color%" /> |
| 483 | <text>Mount</text> |
| 484 | <image resource="main_button" /> |
| 485 | <action function="page">mount</action> |
| 486 | </object> |
| 487 | |
| 488 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 489 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 490 | <placement x="%col2_x%" y="%row2_y%" /> |
| 491 | <font resource="font" color="%button_text_color%" /> |
| 492 | <text>Settings</text> |
| 493 | <image resource="main_button" /> |
| 494 | <action function="page">settings</action> |
| 495 | </object> |
| 496 | |
| 497 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 498 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 499 | <placement x="%col3_x%" y="%row2_y%" /> |
| 500 | <font resource="font" color="%button_text_color%" /> |
| 501 | <text>Advanced</text> |
| 502 | <image resource="main_button" /> |
| 503 | <action function="page">advanced</action> |
| 504 | </object> |
| 505 | |
| 506 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 507 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 508 | <placement x="%col4_x%" y="%row2_y%" /> |
| 509 | <font resource="font" color="%button_text_color%" /> |
| 510 | <text>Reboot</text> |
| 511 | <image resource="main_button" /> |
| 512 | <action function="page">reboot</action> |
| 513 | </object> |
| 514 | |
| 515 | <object type="template" name="footer" /> |
| 516 | </page> |
| 517 | |
| 518 | <page name="install"> |
| 519 | <object type="template" name="header" /> |
| 520 | |
| 521 | <object type="text" color="%text_color%"> |
| 522 | <font resource="font" /> |
| 523 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 524 | <text>Select Zip to Install</text> |
| 525 | </object> |
| 526 | |
| 527 | <object type="button"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 528 | <highlight color="%highlight_color%" /> |
| 529 | <fill color="%button_fill_color%" /> |
| 530 | <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" /> |
| 531 | <font resource="font" color="%button_text_color%" /> |
| 532 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 533 | <actions> |
| 534 | <action function="set">tw_back=install</action> |
| 535 | <action function="page">selectstorage</action> |
| 536 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 537 | </object> |
| 538 | |
| 539 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 540 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 541 | <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> |
| 542 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 543 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 544 | <text>Folders:</text> |
| 545 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 546 | <sort name="tw_gui_sort_order" /> |
| 547 | <icon folder="folder_icon" file="file_icon" /> |
| 548 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 549 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 550 | <filter folders="1" files="0" /> |
| 551 | <path name="tw_zip_location" default="/sdcard" /> |
| 552 | <data name="select" /> |
| 553 | </object> |
| 554 | |
| 555 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 556 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 557 | <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> |
| 558 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 559 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 560 | <text>%tw_zip_location%</text> |
| 561 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 562 | <sort name="tw_gui_sort_order" /> |
| 563 | <icon folder="folder_icon" file="file_icon" /> |
| 564 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 565 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 566 | <filter extn=".zip" folders="0" files="1" /> |
| 567 | <path name="tw_zip_location" /> |
| 568 | <data name="tw_filename" /> |
| 569 | <selection name="tw_file" /> |
| 570 | </object> |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 571 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 572 | <object type="template" name="sort_options" /> |
| 573 | |
| 574 | <object type="action"> |
| 575 | <condition var1="tw_filename" op="modified" /> |
| 576 | <actions> |
| 577 | <action function="queuezip"></action> |
| 578 | <action function="page">flash_confirm</action> |
| 579 | </actions> |
| 580 | </object> |
| 581 | |
| 582 | <object type="action"> |
| 583 | <touch key="back" /> |
| 584 | <action function="page">main</action> |
| 585 | </object> |
| 586 | |
| 587 | <object type="action"> |
| 588 | <touch key="home" /> |
| 589 | <action function="page">main</action> |
| 590 | </object> |
| 591 | |
| 592 | <object type="template" name="footer" /> |
| 593 | </page> |
| 594 | |
| 595 | <page name="flash_confirm"> |
| 596 | <object type="template" name="header" /> |
| 597 | |
| 598 | <object type="text" color="%text_color%"> |
| 599 | <font resource="font" /> |
| 600 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 601 | <text>WARNING: This operation may install incompatible software and render your device unusable.</text> |
| 602 | </object> |
| 603 | |
| 604 | <object type="text" color="%text_color%"> |
| 605 | <font resource="font" /> |
| 606 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 607 | <text>Folder:</text> |
| 608 | </object> |
| 609 | |
| 610 | <object type="text" color="%text_color%"> |
| 611 | <font resource="font" /> |
| 612 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 613 | <text>%tw_zip_location%</text> |
| 614 | </object> |
| 615 | |
| 616 | <object type="text" color="%text_color%"> |
| 617 | <font resource="font" /> |
| 618 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 619 | <text>File to flash:</text> |
| 620 | </object> |
| 621 | |
| 622 | <object type="text" color="%text_color%"> |
| 623 | <font resource="font" /> |
| 624 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 625 | <text>%tw_file%</text> |
| 626 | </object> |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 627 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 628 | <object type="text" color="%text_color%"> |
| 629 | <font resource="font" /> |
| 630 | <placement x="%center_x%" y="%row6_text_y%" placement="5" /> |
| 631 | <text>Press back to cancel adding this zip.</text> |
| 632 | </object> |
| 633 | |
| 634 | <object type="checkbox"> |
| 635 | <placement x="%col2_x%" y="%row7_text_y%" /> |
| 636 | <font resource="font" color="%text_color%" /> |
| 637 | <text>Zip file signature verification?</text> |
| 638 | <data variable="tw_signed_zip_verify" /> |
| 639 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 640 | </object> |
| 641 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 642 | <object type="text" color="%text_color%"> |
| 643 | <font resource="font" /> |
| 644 | <placement x="%center_x%" y="%row10_text_y%" placement="5" /> |
| 645 | <text>File %tw_zip_queue_count% of max of 10</text> |
| 646 | </object> |
| 647 | |
| 648 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 649 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 650 | <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition> |
| 651 | <placement x="%col2_x%" y="%row5_medium_y%" /> |
| 652 | <font resource="font" color="%button_text_color%" /> |
| 653 | <text>Add More Zips</text> |
| 654 | <image resource="mediumwide_button" /> |
| 655 | <action function="page">install</action> |
| 656 | </object> |
| 657 | |
| 658 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 659 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 660 | <placement x="%col3_x%" y="%row5_medium_y%" /> |
| 661 | <font resource="font" color="%button_text_color%" /> |
| 662 | <text>Clear Queue</text> |
| 663 | <image resource="mediumwide_button" /> |
| 664 | <actions> |
| 665 | <action function="queueclear"></action> |
| 666 | <action function="page">install</action> |
| 667 | </actions> |
| 668 | </object> |
| 669 | |
| 670 | <object type="slider"> |
| 671 | <placement x="%slider_x%" y="%slider_y%" /> |
| 672 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 673 | <action function="flash">flash_zip</action> |
| 674 | </object> |
| 675 | |
| 676 | <object type="text" color="%text_color%"> |
| 677 | <font resource="font" /> |
| 678 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 679 | <text>Swipe to Confirm Flash</text> |
| 680 | </object> |
| 681 | |
| 682 | <object type="action"> |
| 683 | <touch key="back" /> |
| 684 | <actions> |
| 685 | <action function="cancelzip"></action> |
| 686 | <action function="page">install</action> |
| 687 | </actions> |
| 688 | </object> |
| 689 | |
| 690 | <object type="action"> |
| 691 | <touch key="home" /> |
| 692 | <action function="page">main</action> |
| 693 | </object> |
| 694 | |
| 695 | <object type="template" name="footer" /> |
| 696 | </page> |
| 697 | |
| 698 | <page name="flash_zip"> |
| 699 | <object type="template" name="header" /> |
| 700 | |
| 701 | <object type="template" name="flash_zip_console" /> |
| 702 | |
| 703 | <object type="text" color="%text_color%"> |
| 704 | <font resource="font" /> |
| 705 | <placement x="%col1_x%" y="%row16_text_y%" /> |
| 706 | <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text> |
| 707 | </object> |
| 708 | |
| 709 | <object type="text" color="%text_color%"> |
| 710 | <font resource="font" /> |
| 711 | <placement x="%col1_x%" y="%row17_text_y%" /> |
| 712 | <text>%tw_filename%</text> |
| 713 | </object> |
| 714 | |
| 715 | <object type="template" name="progress_bar" /> |
| 716 | |
| 717 | <object type="action"> |
| 718 | <condition var1="tw_operation_state" var2="1" /> |
| 719 | <action function="page">flash_done</action> |
| 720 | </object> |
| 721 | </page> |
| 722 | |
| 723 | <page name="flash_done"> |
| 724 | <object type="template" name="header" /> |
| 725 | |
| 726 | <object type="template" name="flash_zip_console" /> |
| 727 | |
| 728 | <object type="text" color="%text_fail_color%"> |
| 729 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 730 | <font resource="font" /> |
| 731 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 732 | <text>Failed</text> |
| 733 | </object> |
| 734 | |
| 735 | <object type="text" color="%text_success_color%"> |
| 736 | <condition var1="tw_operation_status" var2="0" /> |
| 737 | <font resource="font" /> |
| 738 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 739 | <text>Successful</text> |
| 740 | </object> |
| 741 | |
| 742 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 743 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 744 | <placement x="%col1_x%" y="%slider_y%" /> |
| 745 | <font resource="font" color="%button_text_color%" /> |
| 746 | <text>Wipe Cache/Dalvik</text> |
| 747 | <image resource="main_button" /> |
| 748 | <actions> |
| 749 | <action function="set">tw_back=flash_done</action> |
| 750 | <action function="set">tw_action=wipe</action> |
| 751 | <action function="set">tw_action_param=/cache</action> |
| 752 | <action function="set">tw_has_action2=1</action> |
| 753 | <action function="set">tw_action2=wipe</action> |
| 754 | <action function="set">tw_action2_param=dalvik</action> |
| 755 | <action function="set">tw_text1=Wipe Cache & Dalvik?</action> |
| 756 | <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action> |
| 757 | <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action> |
| 758 | <action function="set">tw_slider_text=Swipe to Wipe</action> |
| 759 | <action function="page">confirm_action</action> |
| 760 | </actions> |
| 761 | </object> |
| 762 | |
| 763 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 764 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 765 | <condition var1="tw_reboot_system" var2="1" /> |
| 766 | <placement x="%col4_x%" y="%slider_y%" /> |
| 767 | <font resource="font" color="%button_text_color%" /> |
| 768 | <text>Reboot System</text> |
| 769 | <image resource="main_button" /> |
| 770 | <actions> |
| 771 | <action function="set">tw_back=main2</action> |
| 772 | <action function="set">tw_action=reboot</action> |
| 773 | <action function="set">tw_action_param=system</action> |
| 774 | <action function="set">tw_has_action2=0</action> |
| 775 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 776 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 777 | <action function="set">tw_text3=</action> |
| 778 | <action function="set">tw_text4=</action> |
| 779 | <action function="set">tw_action_text1=Rebooting...</action> |
| 780 | <action function="set">tw_action_text2=</action> |
| 781 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 782 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 783 | <action function="page">rebootcheck</action> |
| 784 | </actions> |
| 785 | </object> |
| 786 | |
| 787 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 788 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 789 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 790 | <font resource="font" color="%button_text_color%" /> |
| 791 | <text>Home</text> |
| 792 | <image resource="main_button" /> |
| 793 | <actions> |
| 794 | <action function="set">tw_clear_destination=main2</action> |
| 795 | <action function="page">clear_vars</action> |
| 796 | </actions> |
| 797 | </object> |
| 798 | |
| 799 | <object type="action"> |
| 800 | <touch key="back" /> |
| 801 | <actions> |
| 802 | <action function="set">tw_clear_destination=install</action> |
| 803 | <action function="page">clear_vars</action> |
| 804 | </actions> |
| 805 | </object> |
| 806 | |
| 807 | <object type="action"> |
| 808 | <touch key="home" /> |
| 809 | <actions> |
| 810 | <action function="set">tw_clear_destination=main2</action> |
| 811 | <action function="page">clear_vars</action> |
| 812 | </actions> |
| 813 | </object> |
| 814 | </page> |
| 815 | |
| 816 | <page name="clear_vars"> |
| 817 | <object type="action"> |
| 818 | <action function="set">tw_operation_state=0</action> |
| 819 | <action function="set">tw_text1=</action> |
| 820 | <action function="set">tw_text2=</action> |
| 821 | <action function="set">tw_text3=</action> |
| 822 | <action function="set">tw_text4=</action> |
| 823 | <action function="set">tw_action_text1=</action> |
| 824 | <action function="set">tw_action_text2=</action> |
| 825 | <action function="set">tw_action_param=</action> |
| 826 | <action function="set">tw_has_action2=0</action> |
| 827 | <action function="set">tw_action2=</action> |
| 828 | <action function="set">tw_action2_param=</action> |
| 829 | <action function="set">tw_has_cancel=0</action> |
| 830 | <action function="set">tw_cancel_action=</action> |
| 831 | <action function="set">tw_cancel_param=</action> |
| 832 | <action function="set">tw_show_exclamation=0</action> |
| 833 | <action function="set">tw_show_reboot=0</action> |
| 834 | <action function="page">%tw_clear_destination%</action> |
| 835 | </object> |
| 836 | </page> |
| 837 | |
| 838 | <page name="confirm_action"> |
| 839 | <object type="template" name="header" /> |
| 840 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 841 | <object type="text" color="%text_color%"> |
| 842 | <font resource="font" /> |
| 843 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 844 | <text>%tw_text1%</text> |
| 845 | </object> |
| 846 | |
| 847 | <object type="text" color="%text_color%"> |
| 848 | <font resource="font" /> |
| 849 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 850 | <text>%tw_text2%</text> |
| 851 | </object> |
| 852 | |
| 853 | <object type="text" color="%text_color%"> |
| 854 | <font resource="font" /> |
| 855 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 856 | <text>%tw_text3%</text> |
| 857 | </object> |
| 858 | |
| 859 | <object type="text" color="%text_color%"> |
| 860 | <font resource="font" /> |
| 861 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 862 | <text>%tw_text4%</text> |
| 863 | </object> |
| 864 | |
| 865 | <object type="text" color="%text_color%"> |
| 866 | <font resource="font" /> |
| 867 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
| 868 | <text>Press back button to cancel.</text> |
| 869 | </object> |
| 870 | |
| 871 | <object type="slider"> |
| 872 | <placement x="%slider_x%" y="%slider_y%" /> |
| 873 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 874 | <action function="page">action_page</action> |
| 875 | </object> |
| 876 | |
| 877 | <object type="text" color="%text_color%"> |
| 878 | <font resource="font" /> |
| 879 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 880 | <text>%tw_slider_text%</text> |
| 881 | </object> |
| 882 | |
| 883 | <object type="action"> |
| 884 | <touch key="back" /> |
| 885 | <actions> |
| 886 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 887 | <action function="page">clear_vars</action> |
| 888 | </actions> |
| 889 | </object> |
| 890 | |
| 891 | <object type="action"> |
| 892 | <touch key="home" /> |
| 893 | <action function="page">main</action> |
| 894 | </object> |
| 895 | |
| 896 | <object type="template" name="footer" /> |
| 897 | </page> |
| 898 | |
| 899 | <page name="action_page"> |
| 900 | <object type="template" name="header" /> |
| 901 | |
| 902 | <object type="text" color="%text_color%"> |
| 903 | <font resource="font" /> |
| 904 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 905 | <text>%tw_action_text1%</text> |
| 906 | </object> |
| 907 | |
| 908 | <object type="text" color="%text_color%"> |
| 909 | <font resource="font" /> |
| 910 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 911 | <text>%tw_action_text2%</text> |
| 912 | </object> |
| 913 | |
| 914 | <object type="template" name="action_page_console" /> |
| 915 | |
| 916 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 917 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 918 | <condition var1="tw_has_cancel" var2="1" /> |
| 919 | <placement x="%col4_x%" y="%slider_y%" /> |
| 920 | <font resource="font" color="%button_text_color%" /> |
| 921 | <text>Cancel</text> |
| 922 | <image resource="main_button" /> |
| 923 | <action function="%tw_cancel_action%">%tw_cancel_param%</action> |
| 924 | </object> |
| 925 | |
| 926 | <object type="template" name="progress_bar" /> |
| 927 | |
| 928 | <object type="action"> |
| 929 | <condition var1="tw_operation_state" var2="1" /> |
| 930 | <actions> |
| 931 | <action function="page">action_complete</action> |
| 932 | </actions> |
| 933 | </object> |
| 934 | |
| 935 | <object type="action"> |
| 936 | <condition var1="tw_has_action2" var2="0" /> |
| 937 | <actions> |
| 938 | <action function="%tw_action%">%tw_action_param%</action> |
| 939 | </actions> |
| 940 | </object> |
| 941 | |
| 942 | <object type="action"> |
| 943 | <condition var1="tw_has_action2" var2="1" /> |
| 944 | <actions> |
| 945 | <action function="%tw_action%">%tw_action_param%</action> |
| 946 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 947 | </actions> |
| 948 | </object> |
| 949 | </page> |
| 950 | |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 951 | <page name="singleaction_page"> |
| 952 | <object type="template" name="header" /> |
| 953 | |
| 954 | <object type="text" color="%text_color%"> |
| 955 | <font resource="font" /> |
| 956 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 957 | <text>%tw_action_text1%</text> |
| 958 | </object> |
| 959 | |
| 960 | <object type="text" color="%text_color%"> |
| 961 | <font resource="font" /> |
| 962 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 963 | <text>%tw_action_text2%</text> |
| 964 | </object> |
| 965 | |
| 966 | <object type="template" name="action_page_console" /> |
| 967 | |
| 968 | <object type="template" name="progress_bar" /> |
| 969 | |
| 970 | <object type="action"> |
| 971 | <condition var1="tw_operation_state" var2="1" /> |
| 972 | <actions> |
| 973 | <action function="set">tw_page_done=1</action> |
| 974 | </actions> |
| 975 | </object> |
| 976 | |
| 977 | <object type="action"> |
| 978 | <condition var1="tw_has_action2" var2="0" /> |
| 979 | <actions> |
| 980 | <action function="%tw_action%">%tw_action_param%</action> |
| 981 | </actions> |
| 982 | </object> |
| 983 | |
| 984 | <object type="action"> |
| 985 | <condition var1="tw_has_action2" var2="1" /> |
| 986 | <actions> |
| 987 | <action function="%tw_action%">%tw_action_param%</action> |
| 988 | <action function="%tw_action2%">%tw_action2_param%</action> |
| 989 | </actions> |
| 990 | </object> |
| 991 | </page> |
| 992 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 993 | <page name="action_complete"> |
| 994 | <object type="template" name="header" /> |
| 995 | |
| 996 | <object type="text" color="%text_color%"> |
| 997 | <font resource="font" /> |
| 998 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 999 | <text>%tw_complete_text1%</text> |
| 1000 | </object> |
| 1001 | |
| 1002 | <object type="text" color="%text_fail_color%"> |
| 1003 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 1004 | <font resource="font" /> |
| 1005 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1006 | <text>Failed</text> |
| 1007 | </object> |
| 1008 | |
| 1009 | <object type="text" color="%text_success_color%"> |
| 1010 | <condition var1="tw_operation_status" var2="0" /> |
| 1011 | <font resource="font" /> |
| 1012 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1013 | <text>Successful</text> |
| 1014 | </object> |
| 1015 | |
| 1016 | <object type="template" name="action_page_console" /> |
| 1017 | |
| 1018 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1019 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1020 | <condition var1="tw_show_reboot" var2="0" /> |
| 1021 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 1022 | <font resource="font" color="%button_text_color%" /> |
| 1023 | <text>Back</text> |
| 1024 | <image resource="main_button" /> |
| 1025 | <actions> |
| 1026 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1027 | <action function="page">clear_vars</action> |
| 1028 | </actions> |
| 1029 | </object> |
| 1030 | |
| 1031 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1032 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1033 | <condition var1="tw_show_reboot" var2="1" /> |
| 1034 | <placement x="%col_center_x%" y="%slider_y%" /> |
| 1035 | <font resource="font" color="%button_text_color%" /> |
| 1036 | <text>Reboot System</text> |
| 1037 | <image resource="main_button" /> |
| 1038 | <actions> |
| 1039 | <action function="set">tw_back=main2</action> |
| 1040 | <action function="set">tw_action=reboot</action> |
| 1041 | <action function="set">tw_action_param=system</action> |
| 1042 | <action function="set">tw_has_action2=0</action> |
| 1043 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1044 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1045 | <action function="set">tw_text3=</action> |
| 1046 | <action function="set">tw_text4=</action> |
| 1047 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1048 | <action function="set">tw_action_text2=</action> |
| 1049 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1050 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1051 | <action function="page">rebootcheck</action> |
| 1052 | </actions> |
| 1053 | </object> |
| 1054 | |
| 1055 | <object type="action"> |
| 1056 | <touch key="home" /> |
| 1057 | <actions> |
| 1058 | <action function="set">tw_clear_destination=main2</action> |
| 1059 | <action function="page">clear_vars</action> |
| 1060 | </actions> |
| 1061 | </object> |
| 1062 | |
| 1063 | <object type="action"> |
| 1064 | <touch key="back" /> |
| 1065 | <actions> |
| 1066 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1067 | <action function="page">clear_vars</action> |
| 1068 | </actions> |
| 1069 | </object> |
| 1070 | </page> |
| 1071 | |
| 1072 | <page name="filecheck"> |
| 1073 | <object type="action"> |
| 1074 | <action function="fileexists">%tw_filecheck%</action> |
| 1075 | </object> |
| 1076 | |
| 1077 | <object type="action"> |
| 1078 | <conditions> |
| 1079 | <condition var1="tw_operation_state" var2="1" /> |
| 1080 | <condition var1="tw_operation_status" var2="0" /> |
| 1081 | </conditions> |
| 1082 | <actions> |
| 1083 | <action function="set">tw_fileexists=1</action> |
| 1084 | <action function="page">%tw_existpage%</action> |
| 1085 | </actions> |
| 1086 | </object> |
| 1087 | |
| 1088 | <object type="action"> |
| 1089 | <conditions> |
| 1090 | <condition var1="tw_operation_state" var2="1" /> |
| 1091 | <condition var1="tw_operation_status" var2="1" /> |
| 1092 | </conditions> |
| 1093 | <actions> |
| 1094 | <action function="set">tw_fileexists=0</action> |
| 1095 | <action function="page">%tw_notexistpage%</action> |
| 1096 | </actions> |
| 1097 | </object> |
| 1098 | </page> |
| 1099 | |
| 1100 | <page name="rebootcheck"> |
| 1101 | <object type="action"> |
| 1102 | <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" /> |
| 1103 | <action function="reboot">%tw_action_param%</action> |
| 1104 | </object> |
| 1105 | |
| 1106 | <object type="action"> |
| 1107 | <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" /> |
| 1108 | <action function="page">confirm_action</action> |
| 1109 | </object> |
| 1110 | </page> |
| 1111 | |
| 1112 | <page name="reboot"> |
| 1113 | <object type="template" name="header" /> |
| 1114 | |
| 1115 | <object type="text" color="%text_color%"> |
| 1116 | <font resource="font" /> |
| 1117 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1118 | <text>Reboot Menu</text> |
| 1119 | </object> |
| 1120 | |
| 1121 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1122 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1123 | <condition var1="tw_reboot_system" var2="1" /> |
| 1124 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1125 | <font resource="font" color="%button_text_color%" /> |
| 1126 | <text>System</text> |
| 1127 | <image resource="main_button" /> |
| 1128 | <actions> |
| 1129 | <action function="set">tw_back=reboot</action> |
| 1130 | <action function="set">tw_action=reboot</action> |
| 1131 | <action function="set">tw_action_param=system</action> |
| 1132 | <action function="set">tw_has_action2=0</action> |
| 1133 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1134 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1135 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1136 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1137 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1138 | <action function="page">rebootcheck</action> |
| 1139 | </actions> |
| 1140 | </object> |
| 1141 | |
| 1142 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1143 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1144 | <condition var1="tw_reboot_poweroff" var2="1" /> |
| 1145 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1146 | <font resource="font" color="%button_text_color%" /> |
| 1147 | <text>Power Off</text> |
| 1148 | <image resource="main_button" /> |
| 1149 | <actions> |
| 1150 | <action function="set">tw_back=reboot</action> |
| 1151 | <action function="set">tw_action=reboot</action> |
| 1152 | <action function="set">tw_action_param=poweroff</action> |
| 1153 | <action function="set">tw_has_action2=0</action> |
| 1154 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1155 | <action function="set">tw_text2=sure you wish to power off?</action> |
| 1156 | <action function="set">tw_action_text1=Turning Off...</action> |
| 1157 | <action function="set">tw_complete_text1=Turning Off...</action> |
| 1158 | <action function="set">tw_slider_text=Swipe to Power Off</action> |
| 1159 | <action function="page">rebootcheck</action> |
| 1160 | </actions> |
| 1161 | </object> |
| 1162 | |
| 1163 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1164 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1165 | <condition var1="tw_reboot_recovery" var2="1" /> |
| 1166 | <placement x="%col1_x%" y="%row2_y%" /> |
| 1167 | <font resource="font" color="%button_text_color%" /> |
| 1168 | <text>Recovery</text> |
| 1169 | <image resource="main_button" /> |
| 1170 | <actions> |
| 1171 | <action function="set">tw_back=reboot</action> |
| 1172 | <action function="set">tw_action=reboot</action> |
| 1173 | <action function="set">tw_action_param=recovery</action> |
| 1174 | <action function="set">tw_has_action2=0</action> |
| 1175 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1176 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1177 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1178 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1179 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1180 | <action function="page">rebootcheck</action> |
| 1181 | </actions> |
| 1182 | </object> |
| 1183 | |
| 1184 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1185 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1186 | <condition var1="tw_reboot_bootloader" var2="1" /> |
| 1187 | <placement x="%col2_x%" y="%row2_y%" /> |
| 1188 | <font resource="font" color="%button_text_color%" /> |
| 1189 | <text>Bootloader</text> |
| 1190 | <image resource="main_button" /> |
| 1191 | <actions> |
| 1192 | <action function="set">tw_back=reboot</action> |
| 1193 | <action function="set">tw_action=reboot</action> |
| 1194 | <action function="set">tw_action_param=bootloader</action> |
| 1195 | <action function="set">tw_has_action2=0</action> |
| 1196 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1197 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1198 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1199 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1200 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1201 | <action function="page">rebootcheck</action> |
| 1202 | </actions> |
| 1203 | </object> |
| 1204 | |
| 1205 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1206 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1207 | <condition var1="tw_download_mode" var2="1" /> |
| 1208 | <placement x="%col3_x%" y="%row2_y%" /> |
| 1209 | <font resource="font" color="%button_text_color%" /> |
| 1210 | <text>Download</text> |
| 1211 | <image resource="main_button" /> |
| 1212 | <actions> |
| 1213 | <action function="set">tw_back=reboot</action> |
| 1214 | <action function="set">tw_action=reboot</action> |
| 1215 | <action function="set">tw_action_param=download</action> |
| 1216 | <action function="set">tw_has_action2=0</action> |
| 1217 | <action function="set">tw_text1=No OS Installed! Are you</action> |
| 1218 | <action function="set">tw_text2=sure you wish to reboot?</action> |
| 1219 | <action function="set">tw_action_text1=Rebooting...</action> |
| 1220 | <action function="set">tw_complete_text1=Rebooting...</action> |
| 1221 | <action function="set">tw_slider_text=Swipe to Reboot</action> |
| 1222 | <action function="page">rebootcheck</action> |
| 1223 | </actions> |
| 1224 | </object> |
| 1225 | |
| 1226 | <object type="action"> |
| 1227 | <touch key="home" /> |
| 1228 | <action function="page">main</action> |
| 1229 | </object> |
| 1230 | |
| 1231 | <object type="action"> |
| 1232 | <touch key="back" /> |
| 1233 | <action function="page">main</action> |
| 1234 | </object> |
| 1235 | |
| 1236 | <object type="template" name="footer" /> |
| 1237 | </page> |
| 1238 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1239 | <page name="selectstorage"> |
| 1240 | <object type="template" name="header" /> |
| 1241 | |
| 1242 | <object type="partitionlist"> |
| 1243 | <highlight color="%fileselector_highlight_color%" /> |
| 1244 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 1245 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1246 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1247 | <text>Select Storage:</text> |
| 1248 | <icon selected="radio_true" unselected="radio_false" /> |
| 1249 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1250 | <background color="%listbox_background%" /> |
| 1251 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1252 | <data name="tw_storage_path" /> |
| 1253 | <listtype name="storage" /> |
| 1254 | </object> |
| 1255 | |
Dees_Troy | e7e0ae8 | 2013-07-05 14:46:07 +0000 | [diff] [blame] | 1256 | <object type="button"> |
| 1257 | <highlight color="%highlight_color%" /> |
| 1258 | <placement x="%filemanager_select_x%" y="%row2_y%" /> |
| 1259 | <font resource="font" color="%button_text_color%" /> |
| 1260 | <text>OK</text> |
| 1261 | <image resource="main_button" /> |
| 1262 | <actions> |
| 1263 | <action function="set">tw_clear_destination=%tw_back%</action> |
| 1264 | <action function="page">clear_vars</action> |
| 1265 | </actions> |
| 1266 | </object> |
| 1267 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1268 | <object type="action"> |
| 1269 | <touch key="home" /> |
| 1270 | <action function="page">main</action> |
| 1271 | </object> |
| 1272 | |
| 1273 | <object type="action"> |
| 1274 | <touch key="back" /> |
| 1275 | <actions> |
| 1276 | <action function="page">%tw_back%</action> |
| 1277 | </actions> |
| 1278 | </object> |
| 1279 | |
| 1280 | <object type="template" name="footer" /> |
| 1281 | </page> |
| 1282 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1283 | <page name="mount"> |
| 1284 | <object type="template" name="header" /> |
| 1285 | |
| 1286 | <object type="text" color="%text_color%"> |
| 1287 | <font resource="font" /> |
| 1288 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1289 | <text>Mount Menu</text> |
| 1290 | </object> |
| 1291 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1292 | <object type="partitionlist"> |
| 1293 | <highlight color="%fileselector_highlight_color%" /> |
| 1294 | <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" /> |
| 1295 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1296 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1297 | <text>Select Partitions to Mount:</text> |
| 1298 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1299 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1300 | <background color="%listbox_background%" /> |
| 1301 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1302 | <listtype name="mount" /> |
| 1303 | </object> |
| 1304 | |
| 1305 | <object type="button"> |
| 1306 | <highlight color="%highlight_color%" /> |
| 1307 | <conditions> |
| 1308 | <condition var1="tw_is_encrypted" var2="1" /> |
| 1309 | <condition var1="tw_is_decrypted" var2="0" /> |
| 1310 | </conditions> |
| 1311 | <placement x="%col3_x%" y="row1_y" /> |
| 1312 | <font resource="font" color="%button_text_color%" /> |
| 1313 | <text>Decrypt Data</text> |
| 1314 | <image resource="main_button" /> |
| 1315 | <action function="page">decrypt</action> |
| 1316 | </object> |
| 1317 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1318 | <object type="button"> |
| 1319 | <condition var1="tw_has_usb_storage" var2="1" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1320 | <placement x="%col4_x%" y="%row1_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1321 | <font resource="font" color="%button_text_color%" /> |
| 1322 | <text>Mount USB Storage</text> |
| 1323 | <image resource="main_button" /> |
| 1324 | <action function="page">usb_mount</action> |
| 1325 | </object> |
| 1326 | |
| 1327 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1328 | <highlight color="%highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1329 | <fill color="%button_fill_color%" /> |
| 1330 | <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> |
| 1331 | <font resource="font" color="%button_text_color%" /> |
| 1332 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 1333 | <actions> |
| 1334 | <action function="set">tw_back=mount</action> |
| 1335 | <action function="page">selectstorage</action> |
| 1336 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1337 | </object> |
| 1338 | |
| 1339 | <object type="action"> |
| 1340 | <touch key="home" /> |
| 1341 | <action function="page">main</action> |
| 1342 | </object> |
| 1343 | |
| 1344 | <object type="action"> |
| 1345 | <touch key="back" /> |
| 1346 | <action function="page">main</action> |
| 1347 | </object> |
| 1348 | |
| 1349 | <object type="template" name="footer" /> |
| 1350 | </page> |
| 1351 | |
| 1352 | <page name="usb_mount"> |
| 1353 | <object type="template" name="header" /> |
| 1354 | |
| 1355 | <object type="text" color="%text_color%"> |
| 1356 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1357 | <font resource="font" /> |
| 1358 | <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text> |
| 1359 | </object> |
| 1360 | |
| 1361 | <object type="text" color="%text_color%"> |
| 1362 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 1363 | <font resource="font" /> |
| 1364 | <text></text> |
| 1365 | </object> |
| 1366 | |
| 1367 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1368 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1369 | <placement x="%col_center_x%" y="%row1_y%" /> |
| 1370 | <font resource="font" color="%button_text_color%" /> |
| 1371 | <text>Unmount</text> |
| 1372 | <image resource="main_button" /> |
| 1373 | <action function="page">usb_umount</action> |
| 1374 | </object> |
| 1375 | |
| 1376 | <object type="action"> |
| 1377 | <action function="mount">usb</action> |
| 1378 | </object> |
| 1379 | |
| 1380 | <object type="template" name="footer" /> |
| 1381 | </page> |
| 1382 | |
| 1383 | <page name="usb_umount"> |
| 1384 | <object type="action"> |
| 1385 | <action function="unmount">usb</action> |
| 1386 | </object> |
| 1387 | |
| 1388 | <object type="action"> |
| 1389 | <action function="page">mount</action> |
| 1390 | </object> |
| 1391 | |
| 1392 | <object type="template" name="footer" /> |
| 1393 | </page> |
| 1394 | |
| 1395 | <page name="wipe"> |
| 1396 | <object type="template" name="header" /> |
| 1397 | |
| 1398 | <object type="text" color="%text_color%"> |
| 1399 | <font resource="font" /> |
| 1400 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1401 | <text>Factory Reset: Wipes Data, Cache, and Dalvik</text> |
| 1402 | </object> |
| 1403 | |
| 1404 | <object type="text" color="%text_color%"> |
Matt Mower | bf4efa3 | 2014-04-14 23:25:26 -0500 | [diff] [blame] | 1405 | <conditions> |
| 1406 | <condition var1="tw_has_android_secure" var2="1" /> |
| 1407 | <condition var1="fileexists" var2="/and-sec" /> |
| 1408 | </conditions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1409 | <font resource="font" /> |
| 1410 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1411 | <text>.android_secure</text> |
| 1412 | </object> |
| 1413 | |
| 1414 | <object type="text" color="%text_color%"> |
| 1415 | <condition var1="tw_has_data_media" var2="1" /> |
| 1416 | <font resource="font" /> |
| 1417 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1418 | <text>(not including internal storage)</text> |
| 1419 | </object> |
| 1420 | |
| 1421 | <object type="text" color="%text_color%"> |
| 1422 | <condition var1="tw_has_sdext_partition" var2="1" /> |
| 1423 | <font resource="font" /> |
| 1424 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 1425 | <text>SD-EXT</text> |
| 1426 | </object> |
| 1427 | |
| 1428 | <object type="text" color="%text_color%"> |
| 1429 | <font resource="font" /> |
| 1430 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 1431 | <text>Most of the time this is the only wipe that you need.</text> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1432 | </object> |
| 1433 | |
| 1434 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 1435 | <highlight color="%highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1436 | <placement x="%col2_x%" y="%wipe_button_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1437 | <font resource="font" color="%button_text_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1438 | <text>Advanced Wipe</text> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1439 | <image resource="main_button" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1440 | <action function="page">advancedwipe</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1441 | </object> |
| 1442 | |
| 1443 | <object type="button"> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1444 | <conditions> |
| 1445 | <condition var1="tw_has_internal" var2="1" /> |
| 1446 | <condition var1="tw_has_data_media" var2="1" /> |
| 1447 | </conditions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1448 | <highlight color="%highlight_color%" /> |
| 1449 | <placement x="%col3_x%" y="%wipe_button_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1450 | <font resource="font" color="%button_text_color%" /> |
| 1451 | <text>Format Data</text> |
| 1452 | <image resource="main_button" /> |
| 1453 | <actions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1454 | <action function="page">formatdata</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1455 | </actions> |
| 1456 | </object> |
| 1457 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1458 | <object type="text" color="%text_color%"> |
| 1459 | <font resource="font" /> |
| 1460 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
| 1461 | <text>Press back button to cancel.</text> |
| 1462 | </object> |
| 1463 | |
| 1464 | <object type="slider"> |
| 1465 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1466 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1467 | <actions> |
| 1468 | <action function="set">tw_back=wipe</action> |
| 1469 | <action function="set">tw_action=wipe</action> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1470 | <action function="set">tw_action_param=data</action> |
| 1471 | <action function="set">tw_action_text1=Factory Reset...</action> |
| 1472 | <action function="set">tw_complete_text1=Factory Reset Complete</action> |
| 1473 | <action function="page">action_page</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1474 | </actions> |
| 1475 | </object> |
| 1476 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1477 | <object type="text" color="%text_color%"> |
| 1478 | <font resource="font" /> |
| 1479 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1480 | <text>Swipe to Factory Reset</text> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1481 | </object> |
| 1482 | |
| 1483 | <object type="action"> |
| 1484 | <touch key="home" /> |
| 1485 | <action function="page">main</action> |
| 1486 | </object> |
| 1487 | |
| 1488 | <object type="action"> |
| 1489 | <touch key="back" /> |
| 1490 | <action function="page">main</action> |
| 1491 | </object> |
| 1492 | |
| 1493 | <object type="template" name="footer" /> |
| 1494 | </page> |
| 1495 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1496 | <page name="advancedwipe"> |
| 1497 | <object type="template" name="header" /> |
| 1498 | |
| 1499 | <object type="partitionlist"> |
| 1500 | <highlight color="%fileselector_highlight_color%" /> |
Ethan Yonker | 87c7bac | 2014-05-25 21:41:08 -0500 | [diff] [blame] | 1501 | <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1502 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1503 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1504 | <text>Select Partitions to Wipe:</text> |
| 1505 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1506 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1507 | <background color="%listbox_background%" /> |
| 1508 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1509 | <data name="tw_wipe_list" /> |
| 1510 | <listtype name="wipe" /> |
| 1511 | </object> |
| 1512 | |
Ethan Yonker | 87c7bac | 2014-05-25 21:41:08 -0500 | [diff] [blame] | 1513 | <object type="button"> |
| 1514 | <highlight color="%highlight_color%" /> |
| 1515 | <fill color="%button_fill_color%" /> |
| 1516 | <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> |
| 1517 | <font resource="font" color="%button_text_color%" /> |
| 1518 | <text>Repair or Change File System</text> |
| 1519 | <actions> |
| 1520 | <action function="checkpartitionlist"></action> |
| 1521 | <action function="page">checkpartitionlist</action> |
| 1522 | </actions> |
| 1523 | </object> |
| 1524 | |
| 1525 | <object type="text" color="%text_fail_color%"> |
| 1526 | <condition var1="partitionlisterror" var2="1" /> |
| 1527 | <font resource="font" /> |
| 1528 | <placement x="%col3_x%" y="%backup_storage_y%" /> |
| 1529 | <text>Invalid partition selection</text> |
| 1530 | </object> |
| 1531 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1532 | <object type="slider"> |
| 1533 | <placement x="%slider_x%" y="%slider_y%" /> |
| 1534 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 1535 | <actions> |
| 1536 | <action function="set">tw_back=advancedwipe</action> |
| 1537 | <action function="set">tw_action=wipe</action> |
| 1538 | <action function="set">tw_action_param=LIST</action> |
| 1539 | <action function="set">tw_text1=Wipe Selected Partition(s)?</action> |
| 1540 | <action function="set">tw_action_text1=Wiping Partition(s)...</action> |
| 1541 | <action function="set">tw_complete_text1=Wipe Complete</action> |
| 1542 | <action function="page">action_page</action> |
| 1543 | </actions> |
| 1544 | </object> |
| 1545 | |
| 1546 | <object type="text" color="%text_color%"> |
| 1547 | <font resource="font" /> |
| 1548 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 1549 | <text>Swipe to Wipe</text> |
| 1550 | </object> |
| 1551 | |
| 1552 | <object type="action"> |
| 1553 | <touch key="home" /> |
| 1554 | <action function="page">main</action> |
| 1555 | </object> |
| 1556 | |
| 1557 | <object type="action"> |
| 1558 | <touch key="back" /> |
| 1559 | <action function="page">wipe</action> |
| 1560 | </object> |
| 1561 | |
| 1562 | <object type="template" name="footer" /> |
| 1563 | </page> |
| 1564 | |
| 1565 | <page name="formatdata"> |
| 1566 | <object type="template" name="header" /> |
| 1567 | |
| 1568 | <object type="text" color="%text_color%"> |
| 1569 | <font resource="font" /> |
| 1570 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1571 | <text>Format Data will wipe all of your apps, backups, pictures,</text> |
| 1572 | </object> |
| 1573 | |
| 1574 | <object type="text" color="%text_color%"> |
| 1575 | <font resource="font" /> |
| 1576 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1577 | <text>videos, media, and removes encryption on internal storage.</text> |
| 1578 | </object> |
| 1579 | |
| 1580 | <object type="text" color="%text_color%"> |
| 1581 | <font resource="font" /> |
| 1582 | <placement x="%center_x%" y="%row3_text_y%" placement="5" /> |
| 1583 | <text>This cannot be undone. Press back to cancel.</text> |
| 1584 | </object> |
| 1585 | |
| 1586 | <object type="text" color="%text_color%"> |
| 1587 | <font resource="font" /> |
| 1588 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 1589 | <text>Type yes to continue.</text> |
| 1590 | </object> |
| 1591 | |
| 1592 | <object type="input"> |
| 1593 | <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 1594 | <background color="%input_background_color%" /> |
| 1595 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 1596 | <font resource="font" color="%text_color%" /> |
| 1597 | <text>%tw_confirm_formatdata%</text> |
| 1598 | <data name="tw_confirm_formatdata" /> |
| 1599 | <restrict minlen="3" maxlen="3" allow="yes" /> |
| 1600 | <action function="page">formatdata_confirm</action> |
| 1601 | </object> |
| 1602 | |
| 1603 | <object type="template" name="keyboardtemplate" /> |
| 1604 | |
| 1605 | <object type="action"> |
| 1606 | <touch key="home" /> |
| 1607 | <action function="page">main</action> |
| 1608 | </object> |
| 1609 | |
| 1610 | <object type="action"> |
| 1611 | <touch key="back" /> |
| 1612 | <action function="page">wipe</action> |
| 1613 | </object> |
| 1614 | |
| 1615 | <object type="template" name="footer" /> |
| 1616 | </page> |
| 1617 | |
| 1618 | <page name="formatdata_confirm"> |
| 1619 | <object type="action"> |
| 1620 | <condition var1="tw_confirm_formatdata" op="=" var2="yes" /> |
| 1621 | <actions> |
| 1622 | <action function="set">tw_back=formatdata</action> |
| 1623 | <action function="set">tw_action=wipe</action> |
| 1624 | <action function="set">tw_action_param=DATAMEDIA</action> |
| 1625 | <action function="set">tw_action_text1=Formatting Data...</action> |
| 1626 | <action function="set">tw_complete_text1=Data Format Complete</action> |
| 1627 | <action function="page">action_page</action> |
| 1628 | </actions> |
| 1629 | </object> |
| 1630 | |
| 1631 | <object type="action"> |
| 1632 | <condition var1="tw_confirm_formatdata" op="!=" var2="yes" /> |
| 1633 | <action function="page">formatdata</function> |
| 1634 | </object> |
| 1635 | </page> |
| 1636 | |
Ethan Yonker | 87c7bac | 2014-05-25 21:41:08 -0500 | [diff] [blame] | 1637 | <page name="checkpartitionlist"> |
| 1638 | <object type="action"> |
| 1639 | <condition var1="tw_check_partition_list" op="=" var2="1" /> |
| 1640 | <actions> |
| 1641 | <action function="set">partitionlisterror=0</action> |
| 1642 | <action function="getpartitiondetails"></action> |
| 1643 | <action function="page">partitionoptions</action> |
| 1644 | </actions> |
| 1645 | </object> |
| 1646 | |
| 1647 | <object type="action"> |
| 1648 | <condition var1="tw_check_partition_list" op="!=" var2="1" /> |
| 1649 | <actions> |
| 1650 | <action function="set">partitionlisterror=1</action> |
| 1651 | <action function="set">tw_wipe_list=</action> |
| 1652 | <action function="page">advancedwipe</action> |
| 1653 | </actions> |
| 1654 | </object> |
| 1655 | </page> |
| 1656 | |
| 1657 | <page name="partitionoptions"> |
| 1658 | <object type="template" name="header" /> |
| 1659 | |
| 1660 | <object type="text" color="%text_color%"> |
| 1661 | <font resource="font" /> |
| 1662 | <placement x="%col1_x%" y="%row1_text_y%" /> |
| 1663 | <text>Partition Options for: %tw_partition_name%</text> |
| 1664 | </object> |
| 1665 | |
| 1666 | <object type="text" color="%text_color%"> |
| 1667 | <font resource="font" /> |
| 1668 | <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> |
| 1669 | <text>Mount Point: %tw_partition_mount_point%</text> |
| 1670 | </object> |
| 1671 | |
| 1672 | <object type="text" color="%text_color%"> |
| 1673 | <font resource="font" /> |
| 1674 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1675 | <text>Current file system: %tw_partition_file_system%</text> |
| 1676 | </object> |
| 1677 | |
| 1678 | <object type="text" color="%text_color%"> |
| 1679 | <condition var1="tw_partition_is_present" op="!=" var2="0" /> |
| 1680 | <font resource="font" /> |
| 1681 | <placement x="%col2_x%" y="%row3_text_y%" /> |
| 1682 | <text>Present: Yes</text> |
| 1683 | </object> |
| 1684 | |
| 1685 | <object type="text" color="%text_color%"> |
| 1686 | <condition var1="tw_partition_is_present" op="=" var2="0" /> |
| 1687 | <font resource="font" /> |
| 1688 | <placement x="%col2_x%" y="%row3_text_y%" /> |
| 1689 | <text>Present: No</text> |
| 1690 | </object> |
| 1691 | |
| 1692 | <object type="text" color="%text_color%"> |
| 1693 | <condition var1="tw_partition_removable" op="!=" var2="0" /> |
| 1694 | <font resource="font" /> |
| 1695 | <placement x="%col3_x%" y="%row3_text_y%" /> |
| 1696 | <text>Removable: Yes</text> |
| 1697 | </object> |
| 1698 | |
| 1699 | <object type="text" color="%text_color%"> |
| 1700 | <condition var1="tw_partition_removable" op="=" var2="0" /> |
| 1701 | <font resource="font" /> |
| 1702 | <placement x="%col3_x%" y="%row3_text_y%" /> |
| 1703 | <text>Removable: No</text> |
| 1704 | </object> |
| 1705 | |
| 1706 | <object type="text" color="%text_color%"> |
| 1707 | <font resource="font" /> |
| 1708 | <placement x="%col1_x%" y="%row4_text_y%" /> |
| 1709 | <text>Size: %tw_partition_size%MB</text> |
| 1710 | </object> |
| 1711 | |
| 1712 | <object type="text" color="%text_color%"> |
| 1713 | <font resource="font" /> |
| 1714 | <placement x="%col2_x%" y="%row4_text_y%" /> |
| 1715 | <text>Used: %tw_partition_used%MB</text> |
| 1716 | </object> |
| 1717 | |
| 1718 | <object type="text" color="%text_color%"> |
| 1719 | <font resource="font" /> |
| 1720 | <placement x="%col3_x%" y="%row4_text_y%" /> |
| 1721 | <text>Free: %tw_partition_free%MB</text> |
| 1722 | </object> |
| 1723 | |
| 1724 | <object type="text" color="%text_color%"> |
| 1725 | <font resource="font" /> |
| 1726 | <placement x="%col4_x%" y="%row4_text_y%" /> |
| 1727 | <text>Backup Size: %tw_partition_backup_size%MB</text> |
| 1728 | </object> |
| 1729 | |
| 1730 | <object type="button"> |
| 1731 | <condition var1="tw_partition_can_repair" op="=" var2="1" /> |
| 1732 | <highlight color="%highlight_color%" /> |
| 1733 | <placement x="%col2_x%" y="%row2_y%" /> |
| 1734 | <font resource="font" color="%button_text_color%" /> |
| 1735 | <text>Repair</text> |
| 1736 | <image resource="main_button" /> |
| 1737 | <actions> |
| 1738 | <action function="set">tw_back=partitionoptions</action> |
| 1739 | <action function="set">tw_action=repair</action> |
| 1740 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1741 | <action function="set">tw_has_action2=0</action> |
| 1742 | <action function="set">tw_text1=Repair %tw_partition_name%?</action> |
| 1743 | <action function="set">tw_text2=</action> |
| 1744 | <action function="set">tw_action_text1=Repairing...</action> |
| 1745 | <action function="set">tw_complete_text1=Repair Complete</action> |
| 1746 | <action function="set">tw_slider_text=Swipe to Repair</action> |
| 1747 | <action function="page">confirm_action</action> |
| 1748 | </actions> |
| 1749 | </object> |
| 1750 | |
| 1751 | <object type="button"> |
| 1752 | <highlight color="%highlight_color%" /> |
| 1753 | <placement x="%col3_x%" y="%row2_y%" /> |
| 1754 | <font resource="font" color="%button_text_color%" /> |
| 1755 | <text>Change File System</text> |
| 1756 | <image resource="main_button" /> |
| 1757 | <action function="page">selectfilesystem</action> |
| 1758 | </object> |
| 1759 | |
| 1760 | <object type="action"> |
| 1761 | <touch key="home" /> |
| 1762 | <action function="page">main</action> |
| 1763 | </object> |
| 1764 | |
| 1765 | <object type="action"> |
| 1766 | <touch key="back" /> |
| 1767 | <action function="page">advancedwipe</action> |
| 1768 | </object> |
| 1769 | |
| 1770 | <object type="template" name="footer" /> |
| 1771 | </page> |
| 1772 | |
| 1773 | <page name="selectfilesystem"> |
| 1774 | <object type="template" name="header" /> |
| 1775 | |
| 1776 | <object type="text" color="%text_color%"> |
| 1777 | <font resource="font" /> |
| 1778 | <placement x="%col1_x%" y="%row1_text_y%" /> |
| 1779 | <text>Change file system for: %tw_partition_name%</text> |
| 1780 | </object> |
| 1781 | |
| 1782 | <object type="text" color="%text_color%"> |
| 1783 | <font resource="font" /> |
| 1784 | <placement x="%col_right_x%" y="%row1_text_y%" placement="1" /> |
| 1785 | <text>Mount Point: %tw_partition_mount_point%</text> |
| 1786 | </object> |
| 1787 | |
| 1788 | <object type="text" color="%text_color%"> |
| 1789 | <font resource="font" /> |
| 1790 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1791 | <text>Current file system: %tw_partition_file_system%</text> |
| 1792 | </object> |
| 1793 | |
| 1794 | <object type="text" color="%text_color%"> |
| 1795 | <font resource="font" /> |
| 1796 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 1797 | <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text> |
| 1798 | </object> |
| 1799 | |
| 1800 | <object type="button"> |
| 1801 | <condition var1="tw_partition_ext" op="=" var2="1" /> |
| 1802 | <highlight color="%highlight_color%" /> |
| 1803 | <placement x="%col1_x%" y="%row1_y%" /> |
| 1804 | <font resource="font" color="%button_text_color%" /> |
| 1805 | <text>EXT2</text> |
| 1806 | <image resource="main_button" /> |
| 1807 | <actions> |
| 1808 | <action function="set">tw_back=selectfilesystem</action> |
| 1809 | <action function="set">tw_action=changefilesystem</action> |
| 1810 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1811 | <action function="set">tw_action_new_file_system=ext2</action> |
| 1812 | <action function="set">tw_has_action2=0</action> |
| 1813 | <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action> |
| 1814 | <action function="set">tw_text2=</action> |
| 1815 | <action function="set">tw_action_text1=Formatting...</action> |
| 1816 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1817 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1818 | <action function="page">confirm_action</action> |
| 1819 | </actions> |
| 1820 | </object> |
| 1821 | |
| 1822 | <object type="button"> |
| 1823 | <condition var1="tw_partition_ext" op="=" var2="1" /> |
| 1824 | <highlight color="%highlight_color%" /> |
| 1825 | <placement x="%col2_x%" y="%row1_y%" /> |
| 1826 | <font resource="font" color="%button_text_color%" /> |
| 1827 | <text>EXT3</text> |
| 1828 | <image resource="main_button" /> |
| 1829 | <actions> |
| 1830 | <action function="set">tw_back=selectfilesystem</action> |
| 1831 | <action function="set">tw_action=changefilesystem</action> |
| 1832 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1833 | <action function="set">tw_action_new_file_system=ext3</action> |
| 1834 | <action function="set">tw_has_action2=0</action> |
| 1835 | <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action> |
| 1836 | <action function="set">tw_text2=</action> |
| 1837 | <action function="set">tw_action_text1=Formatting...</action> |
| 1838 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1839 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1840 | <action function="page">confirm_action</action> |
| 1841 | </actions> |
| 1842 | </object> |
| 1843 | |
| 1844 | <object type="button"> |
| 1845 | <condition var1="tw_partition_ext" op="=" var2="1" /> |
| 1846 | <highlight color="%highlight_color%" /> |
| 1847 | <placement x="%col3_x%" y="%row1_y%" /> |
| 1848 | <font resource="font" color="%button_text_color%" /> |
| 1849 | <text>EXT4</text> |
| 1850 | <image resource="main_button" /> |
| 1851 | <actions> |
| 1852 | <action function="set">tw_back=selectfilesystem</action> |
| 1853 | <action function="set">tw_action=changefilesystem</action> |
| 1854 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1855 | <action function="set">tw_action_new_file_system=ext4</action> |
| 1856 | <action function="set">tw_has_action2=0</action> |
| 1857 | <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action> |
| 1858 | <action function="set">tw_text2=</action> |
| 1859 | <action function="set">tw_action_text1=Formatting...</action> |
| 1860 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1861 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1862 | <action function="page">confirm_action</action> |
| 1863 | </actions> |
| 1864 | </object> |
| 1865 | |
| 1866 | <object type="button"> |
| 1867 | <condition var1="tw_partition_f2fs" op="=" var2="1" /> |
| 1868 | <highlight color="%highlight_color%" /> |
| 1869 | <placement x="%col4_x%" y="%row1_y%" /> |
| 1870 | <font resource="font" color="%button_text_color%" /> |
| 1871 | <text>F2FS</text> |
| 1872 | <image resource="main_button" /> |
| 1873 | <actions> |
| 1874 | <action function="set">tw_back=selectfilesystem</action> |
| 1875 | <action function="set">tw_action=changefilesystem</action> |
| 1876 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1877 | <action function="set">tw_action_new_file_system=f2fs</action> |
| 1878 | <action function="set">tw_has_action2=0</action> |
| 1879 | <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action> |
| 1880 | <action function="set">tw_text2=</action> |
| 1881 | <action function="set">tw_action_text1=Formatting...</action> |
| 1882 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1883 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1884 | <action function="page">confirm_action</action> |
| 1885 | </actions> |
| 1886 | </object> |
| 1887 | |
| 1888 | <object type="button"> |
| 1889 | <condition var1="tw_partition_vfat" op="=" var2="1" /> |
| 1890 | <highlight color="%highlight_color%" /> |
| 1891 | <placement x="%col2_x%" y="%row2_y%" /> |
| 1892 | <font resource="font" color="%button_text_color%" /> |
| 1893 | <text>FAT</text> |
| 1894 | <image resource="main_button" /> |
| 1895 | <actions> |
| 1896 | <action function="set">tw_back=selectfilesystem</action> |
| 1897 | <action function="set">tw_action=changefilesystem</action> |
| 1898 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1899 | <action function="set">tw_action_new_file_system=vfat</action> |
| 1900 | <action function="set">tw_has_action2=0</action> |
| 1901 | <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action> |
| 1902 | <action function="set">tw_text2=</action> |
| 1903 | <action function="set">tw_action_text1=Formatting...</action> |
| 1904 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1905 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1906 | <action function="page">confirm_action</action> |
| 1907 | </actions> |
| 1908 | </object> |
| 1909 | |
| 1910 | <object type="button"> |
| 1911 | <condition var1="tw_partition_exfat" op="=" var2="1" /> |
| 1912 | <highlight color="%highlight_color%" /> |
| 1913 | <placement x="%col3_x%" y="%row2_y%" /> |
| 1914 | <font resource="font" color="%button_text_color%" /> |
| 1915 | <text>exFAT</text> |
| 1916 | <image resource="main_button" /> |
| 1917 | <actions> |
| 1918 | <action function="set">tw_back=selectfilesystem</action> |
| 1919 | <action function="set">tw_action=changefilesystem</action> |
| 1920 | <action function="set">tw_action_param=%tw_partition_mount_point%</action> |
| 1921 | <action function="set">tw_action_new_file_system=exfat</action> |
| 1922 | <action function="set">tw_has_action2=0</action> |
| 1923 | <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action> |
| 1924 | <action function="set">tw_text2=</action> |
| 1925 | <action function="set">tw_action_text1=Formatting...</action> |
| 1926 | <action function="set">tw_complete_text1=Format Complete</action> |
| 1927 | <action function="set">tw_slider_text=Swipe to Change</action> |
| 1928 | <action function="page">confirm_action</action> |
| 1929 | </actions> |
| 1930 | </object> |
| 1931 | |
| 1932 | <object type="action"> |
| 1933 | <touch key="home" /> |
| 1934 | <action function="page">main</action> |
| 1935 | </object> |
| 1936 | |
| 1937 | <object type="action"> |
| 1938 | <touch key="back" /> |
| 1939 | <action function="page">partitionoptions</action> |
| 1940 | </object> |
| 1941 | |
| 1942 | <object type="template" name="footer" /> |
| 1943 | </page> |
| 1944 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1945 | <page name="backup"> |
| 1946 | <object type="template" name="header" /> |
| 1947 | |
| 1948 | <object type="text" color="%text_color%"> |
| 1949 | <font resource="font" /> |
| 1950 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 1951 | <text>Back Up Device</text> |
| 1952 | </object> |
| 1953 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1954 | <object type="partitionlist"> |
| 1955 | <highlight color="%fileselector_highlight_color%" /> |
| 1956 | <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" /> |
| 1957 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 1958 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 1959 | <text>Select Partitions to Back Up:</text> |
| 1960 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 1961 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 1962 | <background color="%listbox_background%" /> |
| 1963 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 1964 | <data name="tw_backup_list" /> |
| 1965 | <listtype name="backup" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 1966 | </object> |
| 1967 | |
| 1968 | <object type="text" color="%text_color%"> |
| 1969 | <font resource="font" /> |
| 1970 | <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> |
| 1971 | <text>Backup Name: %tw_backup_name%</text> |
| 1972 | </object> |
| 1973 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1974 | <object type="button"> |
| 1975 | <highlight color="%highlight_color%" /> |
| 1976 | <placement x="%col3_x%" y="%row1_y%" /> |
| 1977 | <font resource="font" color="%button_text_color%" /> |
| 1978 | <text>Refresh Sizes</text> |
| 1979 | <image resource="main_button" /> |
Matt Mower | cd8169c | 2014-04-02 04:24:08 -0500 | [diff] [blame] | 1980 | <actions> |
| 1981 | <action function="refreshsizes"></action> |
| 1982 | <action function="page">backup</action> |
| 1983 | </actions> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 1984 | </object> |
| 1985 | |
| 1986 | <object type="button"> |
| 1987 | <highlight color="%highlight_color%" /> |
| 1988 | <placement x="%col4_x%" y="%row1_y%" /> |
| 1989 | <font resource="font" color="%button_text_color%" /> |
| 1990 | <text>Set Backup Name</text> |
| 1991 | <image resource="main_button" /> |
| 1992 | <actions> |
| 1993 | <action function="set">tw_fileexists=0</action> |
| 1994 | <action function="page">backupname1</action> |
| 1995 | </actions> |
| 1996 | </object> |
| 1997 | |
| 1998 | <object type="button"> |
| 1999 | <highlight color="%highlight_color%" /> |
| 2000 | <fill color="%button_fill_color%" /> |
| 2001 | <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> |
| 2002 | <font resource="font" color="%button_text_color%" /> |
| 2003 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 2004 | <actions> |
| 2005 | <action function="set">tw_back=backup</action> |
| 2006 | <action function="page">selectstorage</action> |
| 2007 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2008 | </object> |
| 2009 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2010 | <object type="button"> |
| 2011 | <conditions> |
| 2012 | <condition var1="tw_include_encrypted_backup" var2="1" /> |
| 2013 | <condition var1="tw_encrypt_backup" var2="0" /> |
| 2014 | </conditions> |
| 2015 | <highlight color="%highlight_color%" /> |
| 2016 | <fill color="%button_fill_color%" /> |
| 2017 | <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> |
| 2018 | <font resource="font" color="%button_text_color%" /> |
| 2019 | <text>No Encryption</text> |
| 2020 | <actions> |
| 2021 | <action function="page">backupencryption</action> |
| 2022 | </actions> |
| 2023 | </object> |
| 2024 | |
| 2025 | <object type="button"> |
| 2026 | <conditions> |
| 2027 | <condition var1="tw_include_encrypted_backup" var2="1" /> |
| 2028 | <condition var1="tw_encrypt_backup" var2="1" /> |
| 2029 | </conditions> |
| 2030 | <highlight color="%highlight_color%" /> |
| 2031 | <fill color="%button_fill_color%" /> |
| 2032 | <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" /> |
| 2033 | <font resource="font" color="%button_text_color%" /> |
| 2034 | <text>Using Encryption</text> |
| 2035 | <actions> |
| 2036 | <action function="page">backupencryption</action> |
| 2037 | </actions> |
| 2038 | </object> |
| 2039 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2040 | <object type="checkbox"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2041 | <placement x="%col3_x%" y="%nandcheck_row6%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2042 | <font resource="font" color="%text_color%" /> |
| 2043 | <text>Enable Compression (Requires more time)</text> |
| 2044 | <data variable="tw_use_compression" /> |
| 2045 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2046 | </object> |
| 2047 | |
| 2048 | <object type="checkbox"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2049 | <placement x="%col3_x%" y="%nandcheck_row7%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2050 | <font resource="font" color="%text_color%" /> |
| 2051 | <text>Skip MD5 generation on backups</text> |
| 2052 | <data variable="tw_skip_md5_generate" /> |
| 2053 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2054 | </object> |
| 2055 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2056 | <object type="slider"> |
| 2057 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2058 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2059 | <actions> |
| 2060 | <action function="set">tw_operation_state=0</action> |
| 2061 | <action function="page">backup_run</action> |
| 2062 | </actions> |
| 2063 | </object> |
| 2064 | |
| 2065 | <object type="text" color="%text_color%"> |
| 2066 | <font resource="font" /> |
| 2067 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2068 | <text>Swipe to Back Up</text> |
| 2069 | </object> |
| 2070 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2071 | <object type="action"> |
| 2072 | <touch key="home" /> |
| 2073 | <action function="page">main</action> |
| 2074 | </object> |
| 2075 | |
| 2076 | <object type="action"> |
| 2077 | <touch key="back" /> |
| 2078 | <action function="page">main</action> |
| 2079 | </object> |
| 2080 | |
| 2081 | <object type="template" name="footer" /> |
| 2082 | </page> |
| 2083 | |
| 2084 | <page name="backupname1"> |
| 2085 | <object type="action"> |
Dees Troy | b21cc64 | 2013-09-10 17:36:41 +0000 | [diff] [blame] | 2086 | <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" /> |
| 2087 | <action function="generatebackupname"></function> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2088 | </object> |
| 2089 | |
| 2090 | <object type="action"> |
| 2091 | <action function="page">backupname2</function> |
| 2092 | </object> |
| 2093 | </page> |
| 2094 | |
| 2095 | <page name="backupname2"> |
| 2096 | <object type="template" name="header" /> |
| 2097 | |
| 2098 | <object type="text" color="%text_color%"> |
| 2099 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2100 | <font resource="font" /> |
| 2101 | <text>Please Enter a Backup Name</text> |
| 2102 | </object> |
| 2103 | |
| 2104 | <object type="input"> |
| 2105 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 2106 | <background color="%input_background_color%" /> |
| 2107 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 2108 | <font resource="font" color="%text_color%" /> |
| 2109 | <text>%tw_backup_name%</text> |
| 2110 | <data name="tw_backup_name" /> |
| 2111 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
| 2112 | <actions> |
| 2113 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action> |
| 2114 | <action function="set">tw_existpage=backupname2</action> |
| 2115 | <action function="set">tw_notexistpage=backup</action> |
| 2116 | <action function="page">filecheck</action> |
| 2117 | </actions> |
| 2118 | </object> |
| 2119 | |
| 2120 | <object type="text" color="%text_fail_color%"> |
| 2121 | <condition var1="tw_fileexists" var2="1" /> |
| 2122 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 2123 | <font resource="font" /> |
| 2124 | <text>A backup with that name already exists!</text> |
| 2125 | </object> |
| 2126 | |
| 2127 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2128 | <highlight color="%highlight_color%" /> |
Dees Troy | b21cc64 | 2013-09-10 17:36:41 +0000 | [diff] [blame] | 2129 | <placement x="%col2_x%" y="%cancel_button_y%" /> |
| 2130 | <font resource="font" color="%button_text_color%" /> |
| 2131 | <text>Append Date</text> |
| 2132 | <image resource="main_button" /> |
| 2133 | <action function="appenddatetobackupname"></action> |
| 2134 | </object> |
| 2135 | |
| 2136 | <object type="button"> |
| 2137 | <highlight color="%highlight_color%" /> |
| 2138 | <placement x="%col3_x%" y="%cancel_button_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2139 | <font resource="font" color="%button_text_color%" /> |
| 2140 | <text>Cancel / Clear</text> |
| 2141 | <image resource="main_button" /> |
| 2142 | <actions> |
Dees Troy | b21cc64 | 2013-09-10 17:36:41 +0000 | [diff] [blame] | 2143 | <action function="set">tw_backup_name=(Auto Generate)</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2144 | <action function="page">backup</action> |
| 2145 | </actions> |
| 2146 | </object> |
| 2147 | |
| 2148 | <object type="template" name="keyboardtemplate" /> |
| 2149 | |
| 2150 | <object type="action"> |
| 2151 | <touch key="home" /> |
| 2152 | <actions> |
Dees Troy | b21cc64 | 2013-09-10 17:36:41 +0000 | [diff] [blame] | 2153 | <action function="set">tw_backup_name=(Auto Generate)</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2154 | <action function="page">main</action> |
| 2155 | </actions> |
| 2156 | </object> |
| 2157 | |
| 2158 | <object type="action"> |
| 2159 | <touch key="back" /> |
| 2160 | <actions> |
Dees Troy | b21cc64 | 2013-09-10 17:36:41 +0000 | [diff] [blame] | 2161 | <action function="set">tw_backup_name=(Auto Generate)</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2162 | <action function="page">backup</action> |
| 2163 | </actions> |
| 2164 | </object> |
| 2165 | |
| 2166 | <object type="template" name="footer" /> |
| 2167 | </page> |
| 2168 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2169 | <page name="backupencryption"> |
| 2170 | <object type="template" name="header" /> |
| 2171 | |
| 2172 | <object type="text" color="%text_color%"> |
| 2173 | <font resource="font" /> |
| 2174 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2175 | <text>Encrypt your backup? Please enter a password:</text> |
| 2176 | </object> |
| 2177 | |
| 2178 | <object type="input"> |
| 2179 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 2180 | <background color="%input_background_color%" /> |
| 2181 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 2182 | <font resource="font" color="%text_color%" /> |
| 2183 | <text>%tw_backup_encrypt_display%</text> |
| 2184 | <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" /> |
| 2185 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> |
| 2186 | <action function="page">backupencryption2</action> |
| 2187 | </object> |
| 2188 | |
| 2189 | <object type="text" color="%text_fail_color%"> |
| 2190 | <condition var1="tw_password_not_match" var2="1" /> |
| 2191 | <font resource="font" /> |
| 2192 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 2193 | <text>Passwords Do Not Match</text> |
| 2194 | </object> |
| 2195 | |
| 2196 | <object type="button"> |
| 2197 | <highlight color="%highlight_color%" /> |
| 2198 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 2199 | <font resource="font" color="%button_text_color%" /> |
| 2200 | <text>Cancel</text> |
| 2201 | <image resource="main_button" /> |
| 2202 | <actions> |
| 2203 | <action function="set">tw_encrypt_backup=0</action> |
| 2204 | <action function="set">tw_backup_password=</action> |
| 2205 | <action function="set">tw_backup_password2=</action> |
| 2206 | <action function="set">tw_backup_encrypt_display=</action> |
| 2207 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2208 | <action function="page">backup</action> |
| 2209 | </actions> |
| 2210 | </object> |
| 2211 | |
| 2212 | <object type="template" name="keyboardtemplate" /> |
| 2213 | |
| 2214 | <object type="action"> |
| 2215 | <touch key="home" /> |
| 2216 | <action function="page">main</action> |
| 2217 | </object> |
| 2218 | |
| 2219 | <object type="action"> |
| 2220 | <touch key="back" /> |
| 2221 | <action function="page">backup</action> |
| 2222 | </object> |
| 2223 | |
| 2224 | <object type="template" name="footer" /> |
| 2225 | </page> |
| 2226 | |
| 2227 | <page name="backupencryption2"> |
| 2228 | <object type="template" name="header" /> |
| 2229 | |
| 2230 | <object type="text" color="%text_color%"> |
| 2231 | <font resource="font" /> |
| 2232 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2233 | <text>Encrypt your backup? Please Enter Password Again:</text> |
| 2234 | </object> |
| 2235 | |
| 2236 | <object type="input"> |
| 2237 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 2238 | <background color="%input_background_color%" /> |
| 2239 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 2240 | <font resource="font" color="%text_color%" /> |
| 2241 | <text>%tw_backup_encrypt_display2%</text> |
| 2242 | <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" /> |
| 2243 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> |
| 2244 | <actions> |
| 2245 | <action function="page">checkbackuppassword</action> |
| 2246 | </actions> |
| 2247 | </object> |
| 2248 | |
| 2249 | <object type="button"> |
| 2250 | <highlight color="%highlight_color%" /> |
| 2251 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 2252 | <font resource="font" color="%button_text_color%" /> |
| 2253 | <text>Cancel</text> |
| 2254 | <image resource="main_button" /> |
| 2255 | <actions> |
| 2256 | <action function="set">tw_encrypt_backup=0</action> |
| 2257 | <action function="set">tw_backup_password=</action> |
| 2258 | <action function="set">tw_backup_password2=</action> |
| 2259 | <action function="set">tw_backup_encrypt_display=</action> |
| 2260 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2261 | <action function="page">backup</action> |
| 2262 | </actions> |
| 2263 | </object> |
| 2264 | |
| 2265 | <object type="template" name="keyboardtemplate" /> |
| 2266 | |
| 2267 | <object type="action"> |
| 2268 | <touch key="home" /> |
| 2269 | <action function="page">main</action> |
| 2270 | </object> |
| 2271 | |
| 2272 | <object type="action"> |
| 2273 | <touch key="back" /> |
| 2274 | <action function="page">backup</action> |
| 2275 | </object> |
| 2276 | |
| 2277 | <object type="template" name="footer" /> |
| 2278 | </page> |
| 2279 | |
| 2280 | <page name="checkbackuppassword"> |
| 2281 | <object type="action"> |
| 2282 | <condition var1="tw_backup_password2" var2="tw_backup_password" /> |
| 2283 | <actions> |
| 2284 | <action function="set">tw_encrypt_backup=1</action> |
| 2285 | <action function="page">backup</action> |
| 2286 | </actions> |
| 2287 | </object> |
| 2288 | |
| 2289 | <object type="action"> |
| 2290 | <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" /> |
| 2291 | <actions> |
| 2292 | <action function="set">tw_encrypt_backup=0</action> |
| 2293 | <action function="set">tw_password_not_match=1</action> |
| 2294 | <action function="set">tw_backup_password=</action> |
| 2295 | <action function="set">tw_backup_password2=</action> |
| 2296 | <action function="set">tw_backup_encrypt_display=</action> |
| 2297 | <action function="set">tw_backup_encrypt_display2=</action> |
| 2298 | <action function="page">backupencryption</action> |
| 2299 | </actions> |
| 2300 | </object> |
| 2301 | </page> |
| 2302 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2303 | <page name="backup_run"> |
| 2304 | <object type="template" name="header" /> |
| 2305 | |
| 2306 | <object type="text" color="%text_color%"> |
| 2307 | <font resource="font" /> |
| 2308 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2309 | <text>%tw_operation% %tw_partition%</text> |
| 2310 | </object> |
| 2311 | |
Ethan Yonker | 1b7a31b | 2014-07-03 15:09:22 -0500 | [diff] [blame] | 2312 | <object type="text" color="%text_color%"> |
| 2313 | <font resource="font" /> |
| 2314 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 2315 | <text>%tw_file_progress%</text> |
| 2316 | </object> |
| 2317 | |
| 2318 | <object type="text" color="%text_color%"> |
| 2319 | <font resource="font" /> |
| 2320 | <placement x="%col_right_x%" y="%row2_text_y%" placement="1" /> |
| 2321 | <text>%tw_size_progress%</text> |
| 2322 | </object> |
| 2323 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2324 | <object type="template" name="action_page_console" /> |
| 2325 | |
| 2326 | <object type="template" name="progress_bar" /> |
| 2327 | |
| 2328 | <object type="action"> |
| 2329 | <action function="nandroid">backup</action> |
| 2330 | </object> |
| 2331 | |
| 2332 | <object type="action"> |
| 2333 | <condition var1="tw_operation_state" var2="1" /> |
| 2334 | <actions> |
| 2335 | <action function="set">tw_back=backup</action> |
| 2336 | <action function="set">tw_complete_text1=Backup Complete</action> |
| 2337 | <action function="set">tw_show_reboot=1</action> |
| 2338 | <action function="page">action_complete</action> |
| 2339 | </actions> |
| 2340 | </object> |
| 2341 | |
| 2342 | <object type="template" name="footer" /> |
| 2343 | </page> |
| 2344 | |
| 2345 | <page name="restore"> |
| 2346 | <object type="template" name="header" /> |
| 2347 | |
| 2348 | <object type="button"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2349 | <highlight color="%highlight_color%" /> |
| 2350 | <fill color="%button_fill_color%" /> |
| 2351 | <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" /> |
| 2352 | <font resource="font" color="%button_text_color%" /> |
| 2353 | <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text> |
| 2354 | <actions> |
| 2355 | <action function="set">tw_back=restore</action> |
| 2356 | <action function="page">selectstorage</action> |
| 2357 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2358 | </object> |
| 2359 | |
| 2360 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 2361 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2362 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 2363 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 2364 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2365 | <text>Select Package to Restore:</text> |
| 2366 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2367 | <sort name="tw_gui_sort_order" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 2368 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2369 | <icon folder="folder_icon" file="file_icon" /> |
| 2370 | <background color="%fileselector_background%" /> |
| 2371 | <filter folders="1" files="0" nav="0" /> |
| 2372 | <path name="tw_backups_folder" /> |
| 2373 | <data name="tw_restore" default="" /> |
| 2374 | <selection name="tw_restore_name" /> |
| 2375 | </object> |
| 2376 | |
| 2377 | <object type="template" name="sort_options" /> |
| 2378 | |
| 2379 | <object type="action"> |
| 2380 | <condition var1="tw_restore" op="modified" /> |
| 2381 | <actions> |
| 2382 | <action function="readBackup"></action> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2383 | <action function="page">restore_read</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2384 | </actions> |
| 2385 | </object> |
| 2386 | |
| 2387 | <object type="action"> |
| 2388 | <touch key="home" /> |
| 2389 | <action function="page">main</action> |
| 2390 | </object> |
| 2391 | |
| 2392 | <object type="action"> |
| 2393 | <touch key="back" /> |
| 2394 | <action function="page">main</action> |
| 2395 | </object> |
| 2396 | |
| 2397 | <object type="template" name="footer" /> |
| 2398 | </page> |
| 2399 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2400 | <page name="restore_read"> |
| 2401 | <object type="action"> |
| 2402 | <condition var1="tw_restore_encrypted" var2="1" /> |
| 2403 | <actions> |
| 2404 | <action function="set">tw_password_fail=0</action> |
| 2405 | <action function="page">restore_decrypt</action> |
| 2406 | </actions> |
| 2407 | </object> |
| 2408 | |
| 2409 | <object type="action"> |
| 2410 | <condition var1="tw_restore_encrypted" var2="0" /> |
| 2411 | <actions> |
| 2412 | <action function="page">restore_select</action> |
| 2413 | </actions> |
| 2414 | </object> |
| 2415 | </page> |
| 2416 | |
| 2417 | <page name="restore_decrypt"> |
| 2418 | <object type="template" name="header" /> |
| 2419 | |
| 2420 | <object type="text" color="%text_color%"> |
| 2421 | <font resource="font" /> |
| 2422 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2423 | <text>Backup encrypted. Please enter your password:</text> |
| 2424 | </object> |
| 2425 | |
| 2426 | <object type="input"> |
| 2427 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 2428 | <background color="%input_background_color%" /> |
| 2429 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 2430 | <font resource="font" color="%text_color%" /> |
| 2431 | <text>%tw_restore_display%</text> |
| 2432 | <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" /> |
| 2433 | <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" /> |
| 2434 | <actions> |
| 2435 | <action function="page">try_restore_decrypt</action> |
| 2436 | </actions> |
| 2437 | </object> |
| 2438 | |
| 2439 | <object type="text" color="%text_fail_color%"> |
| 2440 | <condition var1="tw_password_fail" var2="1" /> |
| 2441 | <font resource="font" /> |
| 2442 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 2443 | <text>Password Failed, Please Try Again</text> |
| 2444 | </object> |
| 2445 | |
| 2446 | <object type="button"> |
| 2447 | <highlight color="%highlight_color%" /> |
| 2448 | <placement x="%col2_x%" y="%cancel_button_y%" /> |
| 2449 | <font resource="font" color="%button_text_color%" /> |
| 2450 | <text>Cancel</text> |
| 2451 | <image resource="main_button" /> |
| 2452 | <actions> |
| 2453 | <action function="set">tw_page_done=1</action> |
| 2454 | <action function="page">restore</action> |
| 2455 | </actions> |
| 2456 | </object> |
| 2457 | |
| 2458 | <object type="button"> |
| 2459 | <highlight color="%highlight_color%" /> |
| 2460 | <placement x="%col3_x%" y="%cancel_button_y%" /> |
| 2461 | <font resource="font" color="%button_text_color%" /> |
| 2462 | <text>Delete</text> |
| 2463 | <image resource="main_button" /> |
| 2464 | <actions> |
| 2465 | <action function="set">tw_back=restore</action> |
| 2466 | <action function="set">tw_action=cmd</action> |
| 2467 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
| 2468 | <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> |
| 2469 | <action function="set">tw_text2=This cannot be undone!</action> |
| 2470 | <action function="set">tw_action_text1=Deleting Backup...</action> |
| 2471 | <action function="set">tw_complete_text1=Backup Delete Complete</action> |
| 2472 | <action function="set">tw_slider_text=Swipe to Delete</action> |
| 2473 | <action function="page">confirm_action</action> |
| 2474 | </actions> |
| 2475 | </object> |
| 2476 | |
| 2477 | <object type="template" name="keyboardtemplate" /> |
| 2478 | |
| 2479 | <object type="action"> |
| 2480 | <touch key="home" /> |
| 2481 | <action function="page">main</action> |
| 2482 | </object> |
| 2483 | |
| 2484 | <object type="action"> |
| 2485 | <touch key="back" /> |
| 2486 | <action function="page">restore</action> |
| 2487 | </object> |
| 2488 | |
| 2489 | <object type="template" name="footer" /> |
| 2490 | </page> |
| 2491 | |
| 2492 | <page name="try_restore_decrypt"> |
| 2493 | <object type="template" name="header" /> |
| 2494 | |
| 2495 | <object type="text" color="%text_color%"> |
| 2496 | <font resource="font" /> |
| 2497 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2498 | <text>Trying Decryption with Your Password</text> |
| 2499 | </object> |
| 2500 | |
| 2501 | <object type="template" name="action_page_console" /> |
| 2502 | |
| 2503 | <object type="template" name="progress_bar" /> |
| 2504 | |
| 2505 | <object type="action"> |
| 2506 | <action function="decrypt_backup"></action> |
| 2507 | </object> |
| 2508 | |
| 2509 | <object type="action"> |
| 2510 | <conditions> |
| 2511 | <condition var1="tw_operation_state" var2="1" /> |
| 2512 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 2513 | </conditions> |
| 2514 | <actions> |
| 2515 | <action function="set">tw_password_fail=1</action> |
| 2516 | <action function="page">restore_decrypt</action> |
| 2517 | </actions> |
| 2518 | </object> |
| 2519 | |
| 2520 | <object type="action"> |
| 2521 | <conditions> |
| 2522 | <condition var1="tw_operation_state" var2="1" /> |
| 2523 | <condition var1="tw_operation_status" op="=" var2="0" /> |
| 2524 | </conditions> |
| 2525 | <actions> |
| 2526 | <action function="set">tw_page_done=1</action> |
| 2527 | <action function="page">restore_select</action> |
| 2528 | </actions> |
| 2529 | </object> |
| 2530 | </page> |
| 2531 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2532 | <page name="restore_select"> |
| 2533 | <object type="template" name="header" /> |
| 2534 | |
| 2535 | <object type="text" color="%text_color%"> |
| 2536 | <font resource="font" /> |
| 2537 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2538 | <text>Package to Restore: %tw_restore_name%</text> |
| 2539 | </object> |
| 2540 | |
| 2541 | <object type="text" color="%text_color%"> |
| 2542 | <font resource="font" /> |
| 2543 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 2544 | <text>Package Date: %tw_restore_file_date%</text> |
| 2545 | </object> |
| 2546 | |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2547 | <object type="partitionlist"> |
| 2548 | <highlight color="%fileselector_highlight_color%" /> |
| 2549 | <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" /> |
| 2550 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
| 2551 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
| 2552 | <text>Select Partitions to Restore:</text> |
| 2553 | <icon selected="checkbox_true" unselected="checkbox_false" /> |
| 2554 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 2555 | <background color="%listbox_background%" /> |
| 2556 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
| 2557 | <data name="tw_restore_list" selectedlist="tw_restore_selected" /> |
| 2558 | <listtype name="restore" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2559 | </object> |
| 2560 | |
| 2561 | <object type="checkbox"> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2562 | <placement x="%col3_x%" y="%nandcheck_row6%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2563 | <font resource="font" color="%text_color%" /> |
| 2564 | <text>Enable MD5 checking of backup files</text> |
| 2565 | <data variable="tw_skip_md5_check" /> |
| 2566 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2567 | </object> |
| 2568 | |
| 2569 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2570 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2571 | <placement x="%col4_x%" y="%row1_y%" /> |
| 2572 | <font resource="font" color="%button_text_color%" /> |
| 2573 | <text>Rename Backup</text> |
| 2574 | <image resource="main_button" /> |
| 2575 | <actions> |
| 2576 | <action function="set">tw_backup_rename=</action> |
| 2577 | <action function="set">tw_fileexists=0</action> |
| 2578 | <action function="page">renamebackup</action> |
| 2579 | </actions> |
| 2580 | </object> |
| 2581 | |
| 2582 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2583 | <highlight color="%highlight_color%" /> |
Dees_Troy | a13d74f | 2013-03-24 08:54:55 -0500 | [diff] [blame] | 2584 | <placement x="%col3_x%" y="%row1_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2585 | <font resource="font" color="%button_text_color%" /> |
| 2586 | <text>Delete Backup</text> |
| 2587 | <image resource="main_button" /> |
| 2588 | <actions> |
| 2589 | <action function="set">tw_back=restore</action> |
| 2590 | <action function="set">tw_action=cmd</action> |
| 2591 | <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf "%tw_restore_name%"</action> |
| 2592 | <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action> |
| 2593 | <action function="set">tw_text2=This cannot be undone!</action> |
| 2594 | <action function="set">tw_action_text1=Deleting Backup...</action> |
| 2595 | <action function="set">tw_complete_text1=Backup Delete Complete</action> |
| 2596 | <action function="set">tw_slider_text=Swipe to Delete</action> |
| 2597 | <action function="page">confirm_action</action> |
| 2598 | </actions> |
| 2599 | </object> |
| 2600 | |
| 2601 | <object type="slider"> |
| 2602 | <placement x="%slider_x%" y="%slider_y%" /> |
| 2603 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 2604 | <action function="page">restore_run</action> |
| 2605 | </object> |
| 2606 | |
| 2607 | <object type="text" color="%text_color%"> |
| 2608 | <font resource="font" /> |
| 2609 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 2610 | <text>Swipe to Restore</text> |
| 2611 | </object> |
| 2612 | |
| 2613 | <object type="action"> |
| 2614 | <touch key="home" /> |
| 2615 | <action function="page">main</action> |
| 2616 | </object> |
| 2617 | |
| 2618 | <object type="action"> |
| 2619 | <touch key="back" /> |
| 2620 | <action function="page">restore</action> |
| 2621 | </object> |
| 2622 | |
| 2623 | <object type="template" name="footer" /> |
| 2624 | </page> |
| 2625 | |
| 2626 | <page name="renamebackup"> |
| 2627 | <object type="template" name="header" /> |
| 2628 | |
| 2629 | <object type="text" color="%text_color%"> |
| 2630 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2631 | <font resource="font" /> |
| 2632 | <text>Please Enter a New Backup Name</text> |
| 2633 | </object> |
| 2634 | |
| 2635 | <object type="input"> |
| 2636 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 2637 | <background color="%input_background_color%" /> |
| 2638 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 2639 | <font resource="font" color="%text_color%" /> |
| 2640 | <text>%tw_backup_rename%</text> |
| 2641 | <data name="tw_backup_rename" /> |
| 2642 | <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" /> |
| 2643 | <actions> |
| 2644 | <action function="set">tw_back=restore</action> |
| 2645 | <action function="set">tw_action=cmd</action> |
Dees_Troy | 2effe65 | 2012-11-19 17:06:03 +0000 | [diff] [blame] | 2646 | <action function="set">tw_action_param=cd %tw_backups_folder% && mv "%tw_restore_name%" "%tw_backup_rename%"</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2647 | <action function="set">tw_text1=Rename Backup?</action> |
| 2648 | <action function="set">tw_text2=This cannot be undone!</action> |
| 2649 | <action function="set">tw_action_text1=Renaming Backup...</action> |
| 2650 | <action function="set">tw_complete_text1=Backup Rename Complete</action> |
| 2651 | <action function="set">tw_slider_text=Swipe to Rename</action> |
| 2652 | <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action> |
| 2653 | <action function="set">tw_existpage=renamebackup</action> |
| 2654 | <action function="set">tw_notexistpage=confirm_action</action> |
| 2655 | <action function="page">filecheck</action> |
| 2656 | </actions> |
| 2657 | </object> |
| 2658 | |
| 2659 | <object type="text" color="%text_fail_color%"> |
| 2660 | <condition var1="tw_fileexists" var2="1" /> |
| 2661 | <placement x="%center_x%" y="%row5_text_y%" placement="5" /> |
| 2662 | <font resource="font" /> |
| 2663 | <text>A backup with that name already exists!</text> |
| 2664 | </object> |
| 2665 | |
| 2666 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2667 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2668 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 2669 | <font resource="font" color="%button_text_color%" /> |
| 2670 | <text>Cancel</text> |
| 2671 | <image resource="main_button" /> |
| 2672 | <action function="page">restore_select</action> |
| 2673 | </object> |
| 2674 | |
| 2675 | <object type="template" name="keyboardtemplate" /> |
| 2676 | |
| 2677 | <object type="action"> |
| 2678 | <touch key="home" /> |
| 2679 | <action function="page">main</action> |
| 2680 | </object> |
| 2681 | |
| 2682 | <object type="action"> |
| 2683 | <touch key="back" /> |
| 2684 | <action function="page">restore_select</action> |
| 2685 | </object> |
| 2686 | |
| 2687 | <object type="template" name="footer" /> |
| 2688 | </page> |
| 2689 | |
| 2690 | <page name="restore_run"> |
| 2691 | <object type="template" name="header" /> |
| 2692 | |
| 2693 | <object type="text" color="%text_color%"> |
| 2694 | <font resource="font" /> |
| 2695 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2696 | <text>%tw_operation% %tw_partition%</text> |
| 2697 | </object> |
| 2698 | |
Ethan Yonker | 1b7a31b | 2014-07-03 15:09:22 -0500 | [diff] [blame] | 2699 | <object type="text" color="%text_color%"> |
| 2700 | <font resource="font" /> |
| 2701 | <placement x="%center_x%" y="%row2_text_y%" placement="5" /> |
| 2702 | <text>%tw_size_progress%</text> |
| 2703 | </object> |
| 2704 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2705 | <object type="template" name="action_page_console" /> |
| 2706 | |
| 2707 | <object type="template" name="progress_bar" /> |
| 2708 | |
| 2709 | <object type="action"> |
| 2710 | <condition var1="tw_operation_state" var2="1" /> |
| 2711 | <actions> |
| 2712 | <action function="set">tw_back=restore_select</action> |
| 2713 | <action function="set">tw_complete_text1=Restore Complete</action> |
| 2714 | <action function="set">tw_show_reboot=1</action> |
| 2715 | <action function="page">action_complete</action> |
| 2716 | </actions> |
| 2717 | </object> |
| 2718 | |
| 2719 | <object type="action"> |
| 2720 | <action function="nandroid">restore</action> |
| 2721 | </object> |
| 2722 | </page> |
| 2723 | |
| 2724 | <page name="settings"> |
| 2725 | <object type="template" name="header" /> |
| 2726 | |
| 2727 | <object type="text" color="%text_color%"> |
| 2728 | <font resource="font" /> |
| 2729 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2730 | <text>Settings</text> |
| 2731 | </object> |
| 2732 | |
| 2733 | <object type="checkbox"> |
| 2734 | <placement x="%col1_x%" y="%row2_text_y%" /> |
| 2735 | <font resource="font" color="%text_color%" /> |
| 2736 | <text>Zip file signature verification?</text> |
| 2737 | <data variable="tw_signed_zip_verify" /> |
| 2738 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2739 | </object> |
| 2740 | |
| 2741 | <object type="checkbox"> |
| 2742 | <placement x="%col1_x%" y="%row3_text_y%" /> |
| 2743 | <font resource="font" color="%text_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2744 | <text>Use rm -rf instead of formatting?</text> |
| 2745 | <data variable="tw_rm_rf" /> |
| 2746 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2747 | </object> |
| 2748 | |
| 2749 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2750 | <placement x="%col1_x%" y="%row4_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2751 | <font resource="font" color="%text_color%" /> |
| 2752 | <text>Skip MD5 generation on backups</text> |
| 2753 | <data variable="tw_skip_md5_generate" /> |
| 2754 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2755 | </object> |
| 2756 | |
| 2757 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2758 | <placement x="%col1_x%" y="%row5_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2759 | <font resource="font" color="%text_color%" /> |
| 2760 | <text>Enable MD5 checking of backup files</text> |
| 2761 | <data variable="tw_skip_md5_check" /> |
| 2762 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2763 | </object> |
| 2764 | |
| 2765 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2766 | <placement x="%col1_x%" y="%row6_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2767 | <font resource="font" color="%text_color%" /> |
Dees_Troy | 8211102 | 2013-02-21 21:13:09 +0000 | [diff] [blame] | 2768 | <text>Use Military Time</text> |
| 2769 | <data variable="tw_military_time" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2770 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2771 | </object> |
| 2772 | |
| 2773 | <object type="checkbox"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2774 | <placement x="%col1_x%" y="%row7_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2775 | <font resource="font" color="%text_color%" /> |
| 2776 | <text>Simulate most actions for theme testing</text> |
| 2777 | <data variable="tw_simulate_actions" /> |
| 2778 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2779 | </object> |
| 2780 | |
| 2781 | <object type="checkbox"> |
| 2782 | <condition var1="tw_simulate_actions" var2="1" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2783 | <placement x="%col1_x%" y="%row8_text_y%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2784 | <font resource="font" color="%text_color%" /> |
| 2785 | <text>Simulate failure for actions</text> |
| 2786 | <data variable="tw_simulate_fail" /> |
| 2787 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2788 | </object> |
| 2789 | |
| 2790 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2791 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2792 | <placement x="%col1_x%" y="%row2_y%" /> |
| 2793 | <font resource="font" color="%button_text_color%" /> |
| 2794 | <text>Time Zone</text> |
| 2795 | <image resource="main_button" /> |
| 2796 | <action function="page">timezone</action> |
| 2797 | </object> |
| 2798 | |
| 2799 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2800 | <highlight color="%highlight_color%" /> |
Ethan Yonker | 03db326 | 2014-02-05 08:02:06 -0600 | [diff] [blame] | 2801 | <placement x="%col2_x%" y="%row2_y%" /> |
| 2802 | <font resource="font" color="%button_text_color%" /> |
| 2803 | <text>Restore Defaults</text> |
| 2804 | <image resource="main_button" /> |
| 2805 | <action function="restoredefaultsettings"></action> |
| 2806 | </object> |
| 2807 | |
| 2808 | <object type="button"> |
| 2809 | <highlight color="%highlight_color%" /> |
| 2810 | <placement x="%col3_x%" y="%row2_y%" /> |
| 2811 | <font resource="font" color="%button_text_color%" /> |
| 2812 | <text>Vibration Duration</text> |
| 2813 | <image resource="main_button" /> |
| 2814 | <action function="page">Vibrate</action> |
| 2815 | </object> |
| 2816 | |
| 2817 | <object type="button"> |
| 2818 | <highlight color="%highlight_color%" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2819 | <placement x="%col4_x%" y="%row2_y%" /> |
| 2820 | <font resource="font" color="%button_text_color%" /> |
| 2821 | <text>Screen</text> |
| 2822 | <image resource="main_button" /> |
| 2823 | <action function="page">screen</action> |
| 2824 | </object> |
| 2825 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2826 | <object type="action"> |
| 2827 | <touch key="home" /> |
| 2828 | <action function="page">main</action> |
| 2829 | </object> |
| 2830 | |
| 2831 | <object type="action"> |
| 2832 | <touch key="back" /> |
| 2833 | <action function="page">main</action> |
| 2834 | </object> |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 2835 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2836 | <object type="template" name="footer" /> |
| 2837 | </page> |
| 2838 | |
| 2839 | <page name="timezone"> |
| 2840 | <object type="template" name="header" /> |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 2841 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2842 | <object type="text" color="%text_color%"> |
| 2843 | <font resource="font" /> |
| 2844 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2845 | <text>Select Time Zone</text> |
| 2846 | </object> |
| 2847 | |
| 2848 | <object type="listbox"> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2849 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2850 | <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2851 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 2852 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2853 | <text>Select Time Zone:</text> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2854 | <icon selected="radio_true" unselected="radio_false" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2855 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2856 | <background color="%listbox_background%" /> |
Dees_Troy | eead985 | 2013-02-15 14:31:06 -0600 | [diff] [blame] | 2857 | <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2858 | <data name="tw_time_zone_guisel" /> |
| 2859 | <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem> |
| 2860 | <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem> |
| 2861 | <listitem name="(UTC -9) Alaska">AST9;ADT</listitem> |
| 2862 | <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem> |
| 2863 | <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem> |
| 2864 | <listitem name="(UTC -6) Central Time">CST6;CDT</listitem> |
| 2865 | <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem> |
| 2866 | <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem> |
| 2867 | <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem> |
| 2868 | <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem> |
| 2869 | <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem> |
| 2870 | <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem> |
| 2871 | <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem> |
| 2872 | <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem> |
| 2873 | <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem> |
| 2874 | <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem> |
| 2875 | <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem> |
| 2876 | <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem> |
| 2877 | <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem> |
| 2878 | <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem> |
| 2879 | <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem> |
| 2880 | <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem> |
| 2881 | <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem> |
| 2882 | <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem> |
| 2883 | </object> |
| 2884 | |
| 2885 | <object type="checkbox"> |
| 2886 | <placement x="%col1_medium_x%" y="%row11_text_y%" /> |
| 2887 | <font resource="font" color="%text_color%" /> |
| 2888 | <text>Do you use daylight savings time (DST)?</text> |
| 2889 | <data variable="tw_time_zone_guidst" /> |
| 2890 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 2891 | </object> |
| 2892 | |
| 2893 | <object type="text" color="%text_color%"> |
| 2894 | <font resource="font" /> |
| 2895 | <placement x="%center_x%" y="%row13_text_y%" placement="5" /> |
| 2896 | <text>Offset (usually 0): %tw_time_zone_guioffset%</text> |
| 2897 | </object> |
| 2898 | |
| 2899 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2900 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2901 | <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" /> |
| 2902 | <font resource="font" color="%button_text_color%" /> |
| 2903 | <text>0</text> |
| 2904 | <image resource="medium_button" /> |
| 2905 | <action function="set">tw_time_zone_guioffset=0</action> |
| 2906 | </object> |
| 2907 | |
| 2908 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2909 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2910 | <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" /> |
| 2911 | <font resource="font" color="%button_text_color%" /> |
| 2912 | <text>15</text> |
| 2913 | <image resource="medium_button" /> |
| 2914 | <action function="set">tw_time_zone_guioffset=15</action> |
| 2915 | </object> |
| 2916 | |
| 2917 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2918 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2919 | <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" /> |
| 2920 | <font resource="font" color="%button_text_color%" /> |
| 2921 | <text>30</text> |
| 2922 | <image resource="medium_button" /> |
| 2923 | <action function="set">tw_time_zone_guioffset=30</action> |
| 2924 | </object> |
| 2925 | |
| 2926 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2927 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2928 | <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" /> |
| 2929 | <font resource="font" color="%button_text_color%" /> |
| 2930 | <text>45</text> |
| 2931 | <image resource="medium_button" /> |
| 2932 | <action function="set">tw_time_zone_guioffset=45</action> |
| 2933 | </object> |
| 2934 | |
| 2935 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 2936 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 2937 | <placement x="%col4_x%" y="%row2_y%" /> |
| 2938 | <font resource="font" color="%button_text_color%" /> |
| 2939 | <text>Set Time Zone</text> |
| 2940 | <image resource="main_button" /> |
| 2941 | <action function="setguitimezone"></action> |
| 2942 | </object> |
| 2943 | |
| 2944 | <object type="text" color="%text_color%"> |
| 2945 | <font resource="font" /> |
| 2946 | <placement x="%center_x%" y="%row17_text_y%" placement="5" /> |
| 2947 | <text>Current Time Zone: %tw_time_zone%</text> |
| 2948 | </object> |
| 2949 | |
| 2950 | <object type="action"> |
| 2951 | <touch key="home" /> |
| 2952 | <action function="page">main</action> |
| 2953 | </object> |
| 2954 | |
| 2955 | <object type="action"> |
| 2956 | <touch key="back" /> |
| 2957 | <action function="page">settings</action> |
| 2958 | </object> |
| 2959 | |
| 2960 | <object type="template" name="footer" /> |
| 2961 | </page> |
| 2962 | |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2963 | <page name="screen"> |
| 2964 | <object type="template" name="header" /> |
| 2965 | |
| 2966 | <object type="text" color="%text_color%"> |
| 2967 | <font resource="font" /> |
| 2968 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 2969 | <text>Screen Settings</text> |
| 2970 | </object> |
| 2971 | |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2972 | <object type="button"> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2973 | <placement x="%slidervalue_x%" y="%row3_text_y%" /> |
| 2974 | <font resource="font" color="%text_color%" /> |
| 2975 | <condition var1="tw_screen_timeout_secs" op="=" var2="0" /> |
Ricardo Gomez | c9ecd44 | 2013-07-05 16:13:52 -0700 | [diff] [blame] | 2976 | <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2977 | <text>Enable screen timeout.</text> |
| 2978 | <image resource="checkbox_false" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2979 | <action function="set">tw_screen_timeout_secs=60</action> |
| 2980 | </object> |
| 2981 | |
| 2982 | <object type="button"> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2983 | <placement x="%slidervalue_x%" y="%row3_text_y%" /> |
| 2984 | <font resource="font" color="%text_color%" /> |
| 2985 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> |
Ricardo Gomez | c9ecd44 | 2013-07-05 16:13:52 -0700 | [diff] [blame] | 2986 | <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2987 | <text>Enable screen timeout.</text> |
| 2988 | <image resource="checkbox_true" /> |
| 2989 | <action function="set">tw_screen_timeout_secs=0</action> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 2990 | </object> |
| 2991 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2992 | <object type="slidervalue"> |
| 2993 | <condition var1="tw_screen_timeout_secs" op="!=" var2="0" /> |
Ricardo Gomez | c9ecd44 | 2013-07-05 16:13:52 -0700 | [diff] [blame] | 2994 | <condition var1="tw_no_screen_timeout" op="!=" var2="1" /> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 2995 | <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" /> |
| 2996 | <font resource="font" color="%text_color%" /> |
| 2997 | <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> |
| 2998 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> |
| 2999 | <text>Screen timeout in seconds:</text> |
| 3000 | <data variable="tw_screen_timeout_secs" min="15" max="300" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 3001 | </object> |
| 3002 | |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 3003 | <object type="slidervalue"> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 3004 | <condition var1="tw_has_brightnesss_file" var2="1" /> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 3005 | <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" /> |
| 3006 | <font resource="font" color="%text_color%" /> |
| 3007 | <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> |
| 3008 | <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" /> |
| 3009 | <text>Brightness: %tw_brightness_pct%%</text> |
| 3010 | <data variable="tw_brightness_pct" min="10" max="100" /> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 3011 | <actions> |
Dees_Troy | 83bd483 | 2013-05-04 12:39:56 +0000 | [diff] [blame] | 3012 | <action function="set">tw_brightness=%tw_brightness_max%</action> |
| 3013 | <action function="compute">tw_brightness*%tw_brightness_pct%</action> |
| 3014 | <action function="compute">tw_brightness/100</action> |
| 3015 | <action function="cmd">echo %tw_brightness% > "%tw_brightness_file%"</action> |
Dees_Troy | 2f9117a | 2013-02-17 19:52:09 -0600 | [diff] [blame] | 3016 | </actions> |
| 3017 | </object> |
| 3018 | |
| 3019 | <object type="action"> |
| 3020 | <touch key="home" /> |
| 3021 | <action function="page">main</action> |
| 3022 | </object> |
| 3023 | |
| 3024 | <object type="action"> |
| 3025 | <touch key="back" /> |
| 3026 | <action function="page">settings</action> |
| 3027 | </object> |
| 3028 | |
| 3029 | <object type="template" name="footer" /> |
| 3030 | </page> |
| 3031 | |
Ethan Yonker | 03db326 | 2014-02-05 08:02:06 -0600 | [diff] [blame] | 3032 | <page name="Vibrate"> |
| 3033 | <object type="template" name="header" /> |
| 3034 | |
| 3035 | <object type="text" color="%text_color%"> |
| 3036 | <font resource="font" /> |
| 3037 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3038 | <text>Vibration Settings :</text> |
| 3039 | </object> |
| 3040 | |
| 3041 | <object type="slidervalue"> |
| 3042 | <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" /> |
| 3043 | <font resource="font" color="%text_color%" /> |
| 3044 | <text>Button Vibration:</text> |
| 3045 | <data variable="tw_button_vibrate" min="0" max="300" /> |
| 3046 | <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> |
| 3047 | </object> |
| 3048 | |
| 3049 | <object type="slidervalue"> |
| 3050 | <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" /> |
| 3051 | <font resource="font" color="%text_color%" /> |
| 3052 | <text>Keyboard Vibration:</text> |
| 3053 | <data variable="tw_keyboard_vibrate" min="0" max="300" /> |
| 3054 | <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> |
| 3055 | </object> |
| 3056 | |
| 3057 | <object type="slidervalue"> |
| 3058 | <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" /> |
| 3059 | <font resource="font" color="%text_color%" /> |
| 3060 | <text>Action Vibration:</text> |
| 3061 | <data variable="tw_action_vibrate" min="0" max="500" /> |
| 3062 | <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" /> |
| 3063 | </object> |
| 3064 | |
| 3065 | <object type="action"> |
| 3066 | <touch key="home" /> |
| 3067 | <action function="page">main</action> |
| 3068 | </object> |
| 3069 | |
| 3070 | <object type="action"> |
| 3071 | <touch key="back" /> |
| 3072 | <action function="page">settings</action> |
| 3073 | </object> |
| 3074 | |
| 3075 | <object type="template" name="footer" /> |
| 3076 | </page> |
| 3077 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3078 | <page name="advanced"> |
| 3079 | <object type="template" name="header" /> |
| 3080 | |
| 3081 | <object type="text" color="%text_color%"> |
| 3082 | <font resource="font" /> |
| 3083 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3084 | <text>Advanced</text> |
| 3085 | </object> |
| 3086 | |
| 3087 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3088 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3089 | <placement x="%col1_x%" y="%row1_y%" /> |
| 3090 | <font resource="font" color="%button_text_color%" /> |
| 3091 | <text>Copy Log to SD</text> |
| 3092 | <image resource="main_button" /> |
| 3093 | <actions> |
| 3094 | <action function="set">tw_back=advanced</action> |
| 3095 | <action function="set">tw_action=copylog</action> |
| 3096 | <action function="set">tw_text1=Copy Log to SD Card?</action> |
| 3097 | <action function="set">tw_action_text1=Copying Log to SD Card...</action> |
| 3098 | <action function="set">tw_complete_text1=Log Copy Complete</action> |
| 3099 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 3100 | <action function="page">confirm_action</action> |
| 3101 | </actions> |
| 3102 | </object> |
| 3103 | |
| 3104 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3105 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3106 | <placement x="%col2_x%" y="%row1_y%" /> |
| 3107 | <font resource="font" color="%button_text_color%" /> |
| 3108 | <text>Fix Permissions</text> |
| 3109 | <image resource="main_button" /> |
| 3110 | <actions> |
| 3111 | <action function="set">tw_back=advanced</action> |
| 3112 | <action function="set">tw_action=fixpermissions</action> |
| 3113 | <action function="set">tw_text1=Fix Permissions?</action> |
| 3114 | <action function="set">tw_action_text1=Fixing Permissions...</action> |
| 3115 | <action function="set">tw_complete_text1=Fix Permissions Complete</action> |
| 3116 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 3117 | <action function="set">tw_show_reboot=1</action> |
| 3118 | <action function="page">confirm_action</action> |
| 3119 | </actions> |
| 3120 | </object> |
| 3121 | |
| 3122 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3123 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3124 | <placement x="%col3_x%" y="%row1_y%" /> |
| 3125 | <font resource="font" color="%button_text_color%" /> |
| 3126 | <text>Terminal Command</text> |
| 3127 | <image resource="main_button" /> |
| 3128 | <action function="page">terminalfolder</action> |
| 3129 | </object> |
| 3130 | |
| 3131 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3132 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3133 | <placement x="%col4_x%" y="%row1_y%" /> |
| 3134 | <font resource="font" color="%button_text_color%" /> |
| 3135 | <text>ADB Sideload</text> |
| 3136 | <image resource="main_button" /> |
bigbiff bigbiff | 7ce7f0c | 2013-01-25 09:54:04 -0500 | [diff] [blame] | 3137 | <action function="page">sideload</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3138 | </object> |
| 3139 | |
| 3140 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3141 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3142 | <condition var1="tw_allow_partition_sdcard" var2="1" /> |
| 3143 | <placement x="%col1_x%" y="%row2_y%" /> |
| 3144 | <font resource="font" color="%button_text_color%" /> |
| 3145 | <text>Partition SD Card</text> |
| 3146 | <image resource="main_button" /> |
| 3147 | <action function="page">partsdcard</action> |
| 3148 | </object> |
| 3149 | |
| 3150 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3151 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3152 | <placement x="%col2_x%" y="%row2_y%" /> |
| 3153 | <font resource="font" color="%button_text_color%" /> |
| 3154 | <text>File Manager</text> |
| 3155 | <image resource="main_button" /> |
| 3156 | <action function="page">filemanagerlist</action> |
| 3157 | </object> |
| 3158 | |
| 3159 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3160 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3161 | <placement x="%col3_x%" y="%row2_y%" /> |
| 3162 | <font resource="font" color="%button_text_color%" /> |
| 3163 | <text>Reload Theme</text> |
| 3164 | <image resource="main_button" /> |
| 3165 | <action function="reload"></action> |
| 3166 | </object> |
| 3167 | |
| 3168 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3169 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3170 | <condition var1="tw_show_dumlock" var2="1" /> |
| 3171 | <placement x="%col4_x%" y="%row2_y%" /> |
| 3172 | <font resource="font" color="%button_text_color%" /> |
| 3173 | <text>HTC Dumlock</text> |
| 3174 | <image resource="main_button" /> |
| 3175 | <action function="page">htcdumlock</action> |
| 3176 | </object> |
| 3177 | |
| 3178 | <object type="action"> |
| 3179 | <touch key="home" /> |
| 3180 | <action function="page">main</action> |
| 3181 | </object> |
| 3182 | |
| 3183 | <object type="action"> |
| 3184 | <touch key="back" /> |
| 3185 | <action function="page">main</action> |
| 3186 | </object> |
| 3187 | |
| 3188 | <object type="template" name="footer" /> |
| 3189 | </page> |
| 3190 | |
| 3191 | <page name="partsdcard"> |
| 3192 | <object type="template" name="header" /> |
| 3193 | |
| 3194 | <object type="text" color="%text_color%"> |
| 3195 | <font resource="font" /> |
| 3196 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3197 | <text>Partition SD Card</text> |
| 3198 | </object> |
| 3199 | |
| 3200 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3201 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3202 | <placement x="%col1_sdext_x%" y="%row1_sdext_y%" /> |
| 3203 | <font resource="font" color="%button_text_color%" /> |
| 3204 | <text></text> |
| 3205 | <image resource="minus_button" /> |
| 3206 | <action function="addsubtract">tw_sdext_size-128</action> |
| 3207 | </object> |
| 3208 | |
| 3209 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3210 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3211 | <placement x="%col2_sdext_x%" y="%row1_sdext_y%" /> |
| 3212 | <font resource="font" color="%button_text_color%" /> |
| 3213 | <text></text> |
| 3214 | <image resource="plus_button" /> |
| 3215 | <action function="addsubtract">tw_sdext_size+128</action> |
| 3216 | </object> |
| 3217 | |
| 3218 | <object type="text" color="%text_color%"> |
| 3219 | <font resource="font" /> |
| 3220 | <placement x="%center_x%" y="%row_extsize_y%" placement="5" /> |
| 3221 | <text>EXT Size: %tw_sdext_size%</text> |
| 3222 | </object> |
| 3223 | |
| 3224 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3225 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3226 | <placement x="%col1_sdext_x%" y="%row2_sdext_y%" /> |
| 3227 | <font resource="font" color="%button_text_color%" /> |
| 3228 | <text></text> |
| 3229 | <image resource="minus_button" /> |
| 3230 | <action function="addsubtract">tw_swap_size-32</action> |
| 3231 | </object> |
| 3232 | |
| 3233 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3234 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3235 | <placement x="%col2_sdext_x%" y="%row2_sdext_y%" /> |
| 3236 | <font resource="font" color="%button_text_color%" /> |
| 3237 | <text></text> |
| 3238 | <image resource="plus_button" /> |
| 3239 | <action function="addsubtract">tw_swap_size+32</action> |
| 3240 | </object> |
| 3241 | |
| 3242 | <object type="text" color="%text_color%"> |
| 3243 | <font resource="font" /> |
| 3244 | <placement x="%center_x%" y="%row_swapsize_y%" placement="5" /> |
| 3245 | <text>Swap Size: %tw_swap_size%</text> |
| 3246 | </object> |
| 3247 | |
| 3248 | <object type="text" color="%text_color%"> |
| 3249 | <font resource="font" /> |
| 3250 | <placement x="%center_x%" y="%row8_text_y%" placement="5" /> |
| 3251 | <text>File system: %tw_sdpart_file_system%</text> |
| 3252 | </object> |
| 3253 | |
| 3254 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3255 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3256 | <placement x="%col2_medium_x%" y="%row4_medium_y%" /> |
| 3257 | <font resource="font" color="%button_text_color%" /> |
| 3258 | <text>EXT3</text> |
| 3259 | <image resource="medium_button" /> |
| 3260 | <action function="set">tw_sdpart_file_system=ext3</action> |
| 3261 | </object> |
| 3262 | |
| 3263 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3264 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3265 | <condition var1="tw_sdext_disable_ext4" var2="0" /> |
| 3266 | <placement x="%col3_medium_x%" y="%row4_medium_y%" /> |
| 3267 | <font resource="font" color="%button_text_color%" /> |
| 3268 | <text>EXT4</text> |
| 3269 | <image resource="medium_button" /> |
| 3270 | <action function="set">tw_sdpart_file_system=ext4</action> |
| 3271 | </object> |
| 3272 | |
| 3273 | <object type="text" color="%text_color%"> |
| 3274 | <font resource="font" /> |
| 3275 | <placement x="%center_x%" y="%row12_text_y%" placement="5" /> |
| 3276 | <text>You will lose all files on your SD card!</text> |
| 3277 | </object> |
| 3278 | |
| 3279 | <object type="text" color="%text_color%"> |
| 3280 | <font resource="font" /> |
| 3281 | <placement x="%center_x%" y="%row13_text_y%" placement="5" /> |
| 3282 | <text>This action cannot be undone!</text> |
| 3283 | </object> |
| 3284 | |
| 3285 | <object type="slider"> |
| 3286 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3287 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3288 | <actions> |
| 3289 | <action function="set">tw_back=partsdcard</action> |
| 3290 | <action function="set">tw_action=partitionsd</action> |
| 3291 | <action function="set">tw_has_action2=1</action> |
| 3292 | <action function="set">tw_action2=set</action> |
| 3293 | <action function="set">tw_action2_param=tw_zip_location=/sdcard</action> |
| 3294 | <action function="set">tw_action_text1=Partitioning SD Card...</action> |
| 3295 | <action function="set">tw_action_text2=This will take a few minutes.</action> |
| 3296 | <action function="set">tw_complete_text1=Partitioning Complete</action> |
| 3297 | <action function="page">action_page</action> |
| 3298 | </actions> |
| 3299 | </object> |
| 3300 | |
| 3301 | <object type="text" color="%text_color%"> |
| 3302 | <font resource="font" /> |
| 3303 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3304 | <text>Swipe to Confirm Partition</text> |
| 3305 | </object> |
| 3306 | |
| 3307 | <object type="action"> |
| 3308 | <touch key="home" /> |
| 3309 | <action function="page">main</action> |
| 3310 | </object> |
| 3311 | |
| 3312 | <object type="action"> |
| 3313 | <touch key="back" /> |
| 3314 | <action function="page">advanced</action> |
| 3315 | </object> |
| 3316 | |
| 3317 | <object type="template" name="footer" /> |
| 3318 | </page> |
| 3319 | |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 3320 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3321 | <page name="htcdumlock"> |
| 3322 | <object type="template" name="header" /> |
| 3323 | |
| 3324 | <object type="text" color="%text_color%"> |
| 3325 | <font resource="font" /> |
| 3326 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3327 | <text>HTC Dumlock</text> |
| 3328 | </object> |
| 3329 | |
| 3330 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3331 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3332 | <condition var1="tw_show_dumlock" var2="1" /> |
| 3333 | <placement x="%col1_x%" y="%row1_y%" /> |
| 3334 | <font resource="font" color="%button_text_color%" /> |
| 3335 | <text>Restore Original Boot</text> |
| 3336 | <image resource="main_button" /> |
| 3337 | <actions> |
| 3338 | <action function="set">tw_back=htcdumlock</action> |
| 3339 | <action function="set">tw_action=htcdumlockrestoreboot</action> |
| 3340 | <action function="set">tw_text1=Restore original boot image?</action> |
| 3341 | <action function="set">tw_action_text1=Restoring Original Boot...</action> |
| 3342 | <action function="set">tw_complete_text1=Restore Original Boot Complete</action> |
| 3343 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 3344 | <action function="page">confirm_action</action> |
| 3345 | </actions> |
| 3346 | </object> |
| 3347 | |
| 3348 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3349 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3350 | <condition var1="tw_show_dumlock" var2="1" /> |
| 3351 | <placement x="%col2_x%" y="%row1_y%" /> |
| 3352 | <font resource="font" color="%button_text_color%" /> |
| 3353 | <text>Reflash Recovery->Boot</text> |
| 3354 | <image resource="main_button" /> |
| 3355 | <actions> |
| 3356 | <action function="set">tw_back=htcdumlock</action> |
| 3357 | <action function="set">tw_action=htcdumlockreflashrecovery</action> |
| 3358 | <action function="set">tw_text1=Reflash recovery to boot?</action> |
| 3359 | <action function="set">tw_action_text1=Flashing recovery to boot...</action> |
| 3360 | <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action> |
| 3361 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 3362 | <action function="page">confirm_action</action> |
| 3363 | </actions> |
| 3364 | </object> |
| 3365 | |
| 3366 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3367 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3368 | <condition var1="tw_show_dumlock" var2="1" /> |
| 3369 | <placement x="%col1_x%" y="%row2_y%" /> |
| 3370 | <font resource="font" color="%button_text_color%" /> |
| 3371 | <text>Install HTC Dumlock</text> |
| 3372 | <image resource="main_button" /> |
| 3373 | <actions> |
| 3374 | <action function="set">tw_back=htcdumlock</action> |
| 3375 | <action function="set">tw_action=installhtcdumlock</action> |
| 3376 | <action function="set">tw_text1=Install HTC dumlock files to ROM?</action> |
| 3377 | <action function="set">tw_action_text1=Installing HTC Dumlock...</action> |
| 3378 | <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action> |
| 3379 | <action function="set">tw_slider_text=Swipe to Confirm</action> |
| 3380 | <action function="page">confirm_action</action> |
| 3381 | </actions> |
| 3382 | </object> |
| 3383 | |
| 3384 | <object type="action"> |
| 3385 | <touch key="home" /> |
| 3386 | <action function="page">main</action> |
| 3387 | </object> |
| 3388 | |
| 3389 | <object type="action"> |
| 3390 | <touch key="back" /> |
| 3391 | <action function="page">advanced</action> |
| 3392 | </object> |
| 3393 | |
| 3394 | <object type="template" name="footer" /> |
| 3395 | </page> |
| 3396 | |
| 3397 | <page name="lock"> |
| 3398 | <background color="#000000A0" /> |
| 3399 | |
| 3400 | <object type="image"> |
| 3401 | <image resource="unlock-icon" /> |
| 3402 | <placement x="%lock_x%" y="%lock_y%" /> |
| 3403 | </object> |
| 3404 | |
| 3405 | <object type="slider"> |
| 3406 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3407 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3408 | <action function="overlay"></action> |
| 3409 | </object> |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 3410 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3411 | <object type="text" color="%text_color%"> |
| 3412 | <font resource="font" /> |
| 3413 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3414 | <text>Swipe to Unlock</text> |
| 3415 | </object> |
| 3416 | </page> |
| 3417 | |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 3418 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3419 | <page name="filemanagerlist"> |
| 3420 | <object type="template" name="header" /> |
| 3421 | |
| 3422 | <object type="text" color="%text_color%"> |
| 3423 | <font resource="font" /> |
| 3424 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3425 | <text>File Manager: Select a File or Folder</text> |
| 3426 | </object> |
| 3427 | |
| 3428 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3429 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3430 | <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" /> |
| 3431 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 3432 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3433 | <text>Folders:</text> |
| 3434 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3435 | <sort name="tw_gui_sort_order" /> |
| 3436 | <icon folder="folder_icon" file="file_icon" /> |
| 3437 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3438 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3439 | <filter folders="1" files="0" /> |
| 3440 | <path name="tw_file_location1" default="/sdcard" /> |
| 3441 | <data name="select" /> |
| 3442 | <selection name="tw_selection1" /> |
| 3443 | </object> |
| 3444 | |
| 3445 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3446 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3447 | <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" /> |
| 3448 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 3449 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3450 | <text>%tw_file_location1%</text> |
| 3451 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3452 | <sort name="tw_gui_sort_order" /> |
| 3453 | <icon folder="folder_icon" file="file_icon" /> |
| 3454 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3455 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3456 | <filter folders="0" files="1" /> |
| 3457 | <path name="tw_file_location1" default="/" /> |
| 3458 | <data name="tw_filename1" /> |
| 3459 | <selection name="tw_selection1" /> |
| 3460 | </object> |
| 3461 | |
| 3462 | <object type="template" name="sort_options" /> |
| 3463 | |
| 3464 | <object type="action"> |
| 3465 | <actions> |
| 3466 | <action function="set">tw_fm_type=File</action> |
| 3467 | <action function="set">tw_fm_isfolder=0</action> |
| 3468 | </actions> |
| 3469 | </object> |
| 3470 | |
| 3471 | <object type="action"> |
| 3472 | <touch key="home" /> |
| 3473 | <action function="page">main</action> |
| 3474 | </object> |
| 3475 | |
| 3476 | <object type="action"> |
| 3477 | <touch key="back" /> |
| 3478 | <action function="page">advanced</action> |
| 3479 | </object> |
| 3480 | |
| 3481 | <object type="action"> |
| 3482 | <condition var1="tw_filename1" op="modified" /> |
| 3483 | <actions> |
| 3484 | <action function="page">filemanageroptions</action> |
| 3485 | </actions> |
| 3486 | </object> |
| 3487 | |
| 3488 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3489 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3490 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3491 | <font resource="font" color="%button_text_color%" /> |
| 3492 | <text>Select Folder</text> |
| 3493 | <image resource="main_button" /> |
| 3494 | <actions> |
| 3495 | <action function="set">tw_filename1=tw_file_location1</action> |
| 3496 | <action function="set">tw_fm_isfolder=1</action> |
| 3497 | <action function="set">tw_fm_type=Folder</action> |
| 3498 | <action function="page">filemanageroptions</action> |
| 3499 | </actions> |
| 3500 | </object> |
| 3501 | |
| 3502 | <object type="template" name="footer" /> |
| 3503 | </page> |
| 3504 | |
| 3505 | <page name="filemanageroptions"> |
| 3506 | <object type="template" name="header" /> |
| 3507 | |
| 3508 | <object type="text" color="%text_color%"> |
| 3509 | <font resource="font" /> |
| 3510 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3511 | <text>%tw_fm_type% Selected:</text> |
| 3512 | </object> |
| 3513 | |
| 3514 | <object type="text" color="%text_color%"> |
| 3515 | <font resource="font" /> |
| 3516 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3517 | <text>%tw_filename1%</text> |
| 3518 | </object> |
| 3519 | |
| 3520 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3521 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3522 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 3523 | <placement x="%col1_x%" y="%row2_y%" /> |
| 3524 | <font resource="font" color="%button_text_color%" /> |
| 3525 | <text>Copy File</text> |
| 3526 | <image resource="main_button" /> |
| 3527 | <actions> |
| 3528 | <action function="set">tw_filemanager_command=cp</action> |
| 3529 | <action function="set">tw_fm_text1=Copying</action> |
| 3530 | <action function="page">choosedestinationfolder</action> |
| 3531 | </actions> |
| 3532 | </object> |
| 3533 | |
| 3534 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3535 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3536 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 3537 | <placement x="%col1_x%" y="%row2_y%" /> |
| 3538 | <font resource="font" color="%button_text_color%" /> |
| 3539 | <text>Copy Folder</text> |
| 3540 | <image resource="main_button" /> |
| 3541 | <actions> |
| 3542 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && cp -R</action> |
| 3543 | <action function="set">tw_fm_text1=Copying</action> |
| 3544 | <action function="page">choosedestinationfolder</action> |
| 3545 | </actions> |
| 3546 | </object> |
| 3547 | |
| 3548 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3549 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3550 | <placement x="%col2_x%" y="%row2_y%" /> |
| 3551 | <font resource="font" color="%button_text_color%" /> |
| 3552 | <text>Move</text> |
| 3553 | <image resource="main_button" /> |
| 3554 | <actions> |
| 3555 | <action function="set">tw_filemanager_command=mv</action> |
| 3556 | <action function="set">tw_fm_text1=Moving</action> |
| 3557 | <action function="page">choosedestinationfolder</action> |
| 3558 | </actions> |
| 3559 | </object> |
| 3560 | |
| 3561 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3562 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3563 | <placement x="%col3_x%" y="%row2_y%" /> |
| 3564 | <font resource="font" color="%button_text_color%" /> |
| 3565 | <text>chmod 755</text> |
| 3566 | <image resource="main_button" /> |
| 3567 | <actions> |
| 3568 | <action function="set">tw_filemanager_command=chmod 755</action> |
| 3569 | <action function="set">tw_fm_text1=chmod 755</action> |
| 3570 | <action function="set">tw_fm_text2=</action> |
| 3571 | <action function="set">tw_fm_text3=</action> |
| 3572 | <action function="set">tw_include_text3=0</action> |
| 3573 | <action function="set">tw_back=filemanageroptions</action> |
| 3574 | <action function="page">filemanagerconfirm</action> |
| 3575 | </actions> |
| 3576 | </object> |
| 3577 | |
| 3578 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3579 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3580 | <placement x="%col4_x%" y="%row2_y%" /> |
| 3581 | <font resource="font" color="%button_text_color%" /> |
| 3582 | <text>chmod</text> |
| 3583 | <image resource="main_button" /> |
| 3584 | <actions> |
| 3585 | <action function="set">tw_filemanager_rename=0000</action> |
| 3586 | <action function="set">tw_fm_text2=</action> |
| 3587 | <action function="set">tw_fm_text3=</action> |
| 3588 | <action function="set">tw_include_text3=0</action> |
| 3589 | <action function="set">tw_back=filemanageroptions</action> |
| 3590 | <action function="page">filemanagerchmod</action> |
| 3591 | </actions> |
| 3592 | </object> |
| 3593 | |
| 3594 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3595 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3596 | <placement x="%col1_x%" y="%row1_y%" /> |
| 3597 | <font resource="font" color="%button_text_color%" /> |
| 3598 | <text>Delete</text> |
| 3599 | <image resource="main_button" /> |
| 3600 | <actions> |
| 3601 | <action function="set">tw_filemanager_command=rm -rf</action> |
| 3602 | <action function="set">tw_fm_text1=Deleting</action> |
| 3603 | <action function="set">tw_fm_text2=</action> |
| 3604 | <action function="set">tw_fm_text3=</action> |
| 3605 | <action function="set">tw_include_text3=0</action> |
| 3606 | <action function="set">tw_back=filemanageroptions</action> |
| 3607 | <action function="page">filemanagerconfirm</action> |
| 3608 | </actions> |
| 3609 | </object> |
| 3610 | |
| 3611 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3612 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3613 | <condition var1="tw_fm_isfolder" var2="0" /> |
| 3614 | <placement x="%col4_x%" y="%row1_y%" /> |
| 3615 | <font resource="font" color="%button_text_color%" /> |
| 3616 | <text>Rename File</text> |
| 3617 | <image resource="main_button" /> |
| 3618 | <actions> |
| 3619 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3620 | <action function="set">tw_fm_text1=Renaming</action> |
| 3621 | <action function="set">tw_filemanager_command=mv</action> |
| 3622 | <action function="page">filemanagerrenamefile</action> |
| 3623 | </actions> |
| 3624 | </object> |
| 3625 | |
| 3626 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3627 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3628 | <condition var1="tw_fm_isfolder" var2="1" /> |
| 3629 | <placement x="%col4_x%" y="%row1_y%" /> |
| 3630 | <font resource="font" color="%button_text_color%" /> |
| 3631 | <text>Rename Folder</text> |
| 3632 | <image resource="main_button" /> |
| 3633 | <actions> |
| 3634 | <action function="set">tw_filemanager_rename=tw_selection1</action> |
| 3635 | <action function="set">tw_fm_text1=Renaming</action> |
| 3636 | <action function="set">tw_filemanager_command=cd "%tw_file_location1%" && cd .. && mv</action> |
| 3637 | <action function="page">filemanagerrenamefolder</action> |
| 3638 | </actions> |
| 3639 | </object> |
| 3640 | |
| 3641 | <object type="action"> |
| 3642 | <touch key="home" /> |
| 3643 | <action function="page">main</action> |
| 3644 | </object> |
| 3645 | |
| 3646 | <object type="action"> |
| 3647 | <touch key="back" /> |
| 3648 | <action function="page">filemanagerlist</action> |
| 3649 | </object> |
| 3650 | |
| 3651 | <object type="template" name="footer" /> |
| 3652 | </page> |
| 3653 | |
| 3654 | <page name="choosedestinationfolder"> |
| 3655 | <object type="template" name="header" /> |
| 3656 | |
| 3657 | <object type="text" color="%text_color%"> |
| 3658 | <font resource="font" /> |
| 3659 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3660 | <text>Browse to Destination Folder & Press Select</text> |
| 3661 | </object> |
| 3662 | |
| 3663 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3664 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3665 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 3666 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 3667 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3668 | <text>%tw_file_location2%</text> |
| 3669 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 3670 | <sort name="tw_gui_sort_order" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 3671 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3672 | <icon folder="folder_icon" file="file_icon" /> |
| 3673 | <background color="%fileselector_background%" /> |
| 3674 | <filter folders="1" files="0" /> |
| 3675 | <path name="tw_file_location2" default="/sdcard" /> |
| 3676 | <data name="tw_filename2" /> |
| 3677 | </object> |
| 3678 | |
| 3679 | <object type="template" name="sort_options" /> |
| 3680 | |
| 3681 | <object type="action"> |
| 3682 | <touch key="home" /> |
| 3683 | <action function="page">main</action> |
| 3684 | </object> |
| 3685 | |
| 3686 | <object type="action"> |
| 3687 | <touch key="back" /> |
| 3688 | <action function="page">filemanageroptions</action> |
| 3689 | </object> |
| 3690 | |
| 3691 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3692 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3693 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 3694 | <font resource="font" color="%button_text_color%" /> |
| 3695 | <text>Select Folder</text> |
| 3696 | <image resource="main_button" /> |
| 3697 | <actions> |
| 3698 | <action function="set">tw_fm_text2=to</action> |
| 3699 | <action function="set">tw_fm_text3=%tw_file_location2%</action> |
| 3700 | <action function="set">tw_include_text3=1</action> |
| 3701 | <action function="set">tw_back=filemanageroptions</action> |
| 3702 | <action function="page">filemanagerconfirm</action> |
| 3703 | </actions> |
| 3704 | </object> |
| 3705 | |
| 3706 | <object type="template" name="footer" /> |
| 3707 | </page> |
| 3708 | |
| 3709 | <page name="filemanagerrenamefile"> |
| 3710 | <object type="template" name="header" /> |
| 3711 | |
| 3712 | <object type="text" color="%text_color%"> |
| 3713 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3714 | <font resource="font" /> |
| 3715 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3716 | </object> |
| 3717 | |
| 3718 | <object type="input"> |
| 3719 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3720 | <background color="%input_background_color%" /> |
| 3721 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3722 | <font resource="font" color="%text_color%" /> |
| 3723 | <text>%tw_filemanager_rename%</text> |
| 3724 | <data name="tw_filemanager_rename" /> |
| 3725 | <restrict minlen="1" maxlen="128" /> |
| 3726 | <actions> |
| 3727 | <action function="set">tw_fm_text2=to</action> |
| 3728 | <action function="set">tw_fm_text3="%tw_file_location1%/%tw_filemanager_rename%"</action> |
| 3729 | <action function="set">tw_include_text3=1</action> |
| 3730 | <action function="set">tw_back=filemanageroptions</action> |
| 3731 | <action function="page">filemanagerconfirm</action> |
| 3732 | </actions> |
| 3733 | </object> |
| 3734 | |
| 3735 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3736 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3737 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3738 | <font resource="font" color="%button_text_color%" /> |
| 3739 | <text>Cancel</text> |
| 3740 | <image resource="main_button" /> |
| 3741 | <action function="page">filemanageroptions</action> |
| 3742 | </object> |
| 3743 | |
| 3744 | <object type="template" name="keyboardtemplate" /> |
| 3745 | |
| 3746 | <object type="action"> |
| 3747 | <touch key="home" /> |
| 3748 | <action function="page">main</action> |
| 3749 | </object> |
| 3750 | |
| 3751 | <object type="action"> |
| 3752 | <touch key="back" /> |
| 3753 | <action function="page">filemanageroptions</action> |
| 3754 | </object> |
| 3755 | |
| 3756 | <object type="template" name="footer" /> |
| 3757 | </page> |
| 3758 | |
| 3759 | <page name="filemanagerrenamefolder"> |
| 3760 | <object type="template" name="header" /> |
| 3761 | |
| 3762 | <object type="text" color="%text_color%"> |
| 3763 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3764 | <font resource="font" /> |
| 3765 | <text>Please Enter a New %tw_fm_type% Name</text> |
| 3766 | </object> |
| 3767 | |
| 3768 | <object type="input"> |
| 3769 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3770 | <background color="%input_background_color%" /> |
| 3771 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3772 | <font resource="font" color="%text_color%" /> |
| 3773 | <text>%tw_filemanager_rename%</text> |
| 3774 | <data name="tw_filemanager_rename" /> |
| 3775 | <restrict minlen="1" maxlen="128" /> |
| 3776 | <actions> |
| 3777 | <action function="set">tw_fm_text2=to</action> |
| 3778 | <action function="set">tw_fm_text3=%tw_filemanager_rename%</action> |
| 3779 | <action function="set">tw_include_text3=1</action> |
| 3780 | <action function="set">tw_back=filemanageroptions</action> |
| 3781 | <action function="page">filemanagerconfirm</action> |
| 3782 | </actions> |
| 3783 | </object> |
| 3784 | |
| 3785 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3786 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3787 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3788 | <font resource="font" color="%button_text_color%" /> |
| 3789 | <text>Cancel</text> |
| 3790 | <image resource="main_button" /> |
| 3791 | <action function="page">filemanageroptions</action> |
| 3792 | </object> |
| 3793 | |
| 3794 | <object type="template" name="keyboardtemplate" /> |
| 3795 | |
| 3796 | <object type="action"> |
| 3797 | <touch key="home" /> |
| 3798 | <action function="page">main</action> |
| 3799 | </object> |
| 3800 | |
| 3801 | <object type="action"> |
| 3802 | <touch key="back" /> |
| 3803 | <action function="page">filemanageroptions</action> |
| 3804 | </object> |
| 3805 | |
| 3806 | <object type="template" name="footer" /> |
| 3807 | </page> |
| 3808 | |
| 3809 | <page name="filemanagerchmod"> |
| 3810 | <object type="template" name="header" /> |
| 3811 | |
| 3812 | <object type="text" color="%text_color%"> |
| 3813 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3814 | <font resource="font" /> |
| 3815 | <text>Please Enter New Permissions</text> |
| 3816 | </object> |
| 3817 | |
| 3818 | <object type="input"> |
| 3819 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3820 | <background color="%input_background_color%" /> |
| 3821 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3822 | <font resource="font" color="%text_color%" /> |
| 3823 | <text>%tw_filemanager_rename%</text> |
| 3824 | <data name="tw_filemanager_rename" /> |
| 3825 | <restrict minlen="3" maxlen="4" allow="0123456789" /> |
| 3826 | <actions> |
| 3827 | <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action> |
| 3828 | <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action> |
| 3829 | <action function="set">tw_back=filemanageroptions</action> |
| 3830 | <action function="page">filemanagerconfirm</action> |
| 3831 | </actions> |
| 3832 | </object> |
| 3833 | |
| 3834 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3835 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3836 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3837 | <font resource="font" color="%button_text_color%" /> |
| 3838 | <text>Cancel</text> |
| 3839 | <image resource="main_button" /> |
| 3840 | <action function="page">filemanageroptions</action> |
| 3841 | </object> |
| 3842 | |
| 3843 | <object type="template" name="keyboardtemplate" /> |
| 3844 | |
| 3845 | <object type="action"> |
| 3846 | <touch key="home" /> |
| 3847 | <action function="page">main</action> |
| 3848 | </object> |
| 3849 | |
| 3850 | <object type="action"> |
| 3851 | <touch key="back" /> |
| 3852 | <action function="page">filemanageroptions</action> |
| 3853 | </object> |
| 3854 | |
| 3855 | <object type="template" name="footer" /> |
| 3856 | </page> |
| 3857 | |
| 3858 | <page name="filemanagerconfirm"> |
| 3859 | <object type="template" name="header" /> |
| 3860 | |
| 3861 | <object type="text" color="%text_color%"> |
| 3862 | <font resource="font" /> |
| 3863 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 3864 | <text>%tw_fm_text1%</text> |
| 3865 | </object> |
| 3866 | |
| 3867 | <object type="text" color="%text_color%"> |
| 3868 | <font resource="font" /> |
| 3869 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 3870 | <text>%tw_filename1%</text> |
| 3871 | </object> |
| 3872 | |
| 3873 | <object type="text" color="%text_color%"> |
| 3874 | <font resource="font" /> |
| 3875 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 3876 | <text>%tw_fm_text2%</text> |
| 3877 | </object> |
| 3878 | |
| 3879 | <object type="text" color="%text_color%"> |
| 3880 | <font resource="font" /> |
| 3881 | <placement x="%center_x%" y="%row4_text_y%" placement="5"/> |
| 3882 | <text>%tw_fm_text3%</text> |
| 3883 | </object> |
| 3884 | |
| 3885 | <object type="text" color="%text_color%"> |
| 3886 | <font resource="font" /> |
| 3887 | <placement x="%center_x%" y="%row10_text_y%" placement="5"/> |
| 3888 | <text>Press back button to cancel.</text> |
| 3889 | </object> |
| 3890 | |
| 3891 | <object type="slider"> |
| 3892 | <placement x="%slider_x%" y="%slider_y%" /> |
| 3893 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 3894 | <action function="page">filemanageracction</action> |
| 3895 | </object> |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 3896 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3897 | <object type="text" color="%text_color%"> |
| 3898 | <font resource="font" /> |
| 3899 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 3900 | <text>Swipe to Confirm</text> |
| 3901 | </object> |
| 3902 | |
| 3903 | <object type="action"> |
| 3904 | <touch key="back" /> |
| 3905 | <action function="page">%tw_back%</action> |
| 3906 | </object> |
| 3907 | |
| 3908 | <object type="action"> |
| 3909 | <touch key="home" /> |
| 3910 | <action function="page">main</action> |
| 3911 | </object> |
Matt Mower | fb1c4ff | 2014-04-16 13:43:36 -0500 | [diff] [blame] | 3912 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3913 | <object type="template" name="footer" /> |
| 3914 | </page> |
| 3915 | |
| 3916 | <page name="filemanageracction"> |
| 3917 | <object type="template" name="header" /> |
| 3918 | |
| 3919 | <object type="text" color="%text_color%"> |
| 3920 | <font resource="font" /> |
| 3921 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3922 | <text>%tw_fm_text1%</text> |
| 3923 | </object> |
| 3924 | |
| 3925 | <object type="template" name="action_page_console" /> |
| 3926 | |
| 3927 | <object type="template" name="progress_bar" /> |
| 3928 | |
| 3929 | <object type="action"> |
| 3930 | <conditions> |
| 3931 | <condition var1="tw_operation_state" var2="1" /> |
| 3932 | <condition var1="tw_operation_status" var2="0" /> |
| 3933 | </conditions> |
| 3934 | <actions> |
| 3935 | <action function="set">tw_back=filemanagerlist</action> |
| 3936 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3937 | <action function="page">action_complete</action> |
| 3938 | </actions> |
| 3939 | </object> |
| 3940 | |
| 3941 | <object type="action"> |
| 3942 | <conditions> |
| 3943 | <condition var1="tw_operation_state" var2="1" /> |
| 3944 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 3945 | </conditions> |
| 3946 | <actions> |
| 3947 | <action function="set">tw_complete_text1=File Operation Complete</action> |
| 3948 | <action function="page">action_complete</action> |
| 3949 | </actions> |
| 3950 | </object> |
| 3951 | |
| 3952 | <object type="action"> |
| 3953 | <condition var1="tw_include_text3" var2="0" /> |
| 3954 | <actions> |
| 3955 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%"</action> |
| 3956 | </actions> |
| 3957 | </object> |
| 3958 | |
| 3959 | <object type="action"> |
| 3960 | <condition var1="tw_include_text3" var2="1" /> |
| 3961 | <actions> |
| 3962 | <action function="cmd">%tw_filemanager_command% "%tw_filename1%" "%tw_fm_text3%"</action> |
| 3963 | </actions> |
| 3964 | </object> |
| 3965 | </page> |
| 3966 | |
| 3967 | <page name="decrypt"> |
| 3968 | <object type="template" name="header" /> |
| 3969 | |
| 3970 | <object type="text" color="%text_color%"> |
| 3971 | <font resource="font" /> |
| 3972 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 3973 | <text>Please Enter Your Password</text> |
| 3974 | </object> |
| 3975 | |
| 3976 | <object type="input"> |
| 3977 | <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" /> |
| 3978 | <background color="%input_background_color%" /> |
| 3979 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 3980 | <font resource="font" color="%text_color%" /> |
| 3981 | <text>%tw_crypto_display%</text> |
| 3982 | <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" /> |
| 3983 | <restrict minlen="1" maxlen="254" /> |
| 3984 | <actions> |
| 3985 | <action function="page">trydecrypt</action> |
| 3986 | </actions> |
| 3987 | </object> |
| 3988 | |
| 3989 | <object type="text" color="%text_fail_color%"> |
| 3990 | <condition var1="tw_password_fail" var2="1" /> |
| 3991 | <font resource="font" /> |
| 3992 | <placement x="%center_x%" y="%row4_text_y%" placement="5" /> |
| 3993 | <text>Password Failed, Please Try Again</text> |
| 3994 | </object> |
| 3995 | |
| 3996 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 3997 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 3998 | <placement x="%col_center_x%" y="%cancel_button_y%" /> |
| 3999 | <font resource="font" color="%button_text_color%" /> |
| 4000 | <text>Cancel</text> |
| 4001 | <image resource="main_button" /> |
| 4002 | <actions> |
Dees_Troy | 6ed34b7 | 2013-01-25 15:01:29 +0000 | [diff] [blame] | 4003 | <action function="set">tw_page_done=1</action> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4004 | <action function="page">main</action> |
| 4005 | </actions> |
| 4006 | </object> |
| 4007 | |
| 4008 | <object type="template" name="keyboardtemplate" /> |
| 4009 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4010 | <object type="template" name="footer" /> |
| 4011 | </page> |
| 4012 | |
| 4013 | <page name="trydecrypt"> |
| 4014 | <object type="template" name="header" /> |
| 4015 | |
| 4016 | <object type="text" color="%text_color%"> |
| 4017 | <font resource="font" /> |
| 4018 | <placement x="%center_x%" y="%row1_text_y%" placement="5" /> |
| 4019 | <text>Trying Decryption with Your Password</text> |
| 4020 | </object> |
| 4021 | |
| 4022 | <object type="template" name="action_page_console" /> |
| 4023 | |
| 4024 | <object type="template" name="progress_bar" /> |
| 4025 | |
| 4026 | <object type="action"> |
| 4027 | <action function="decrypt"></action> |
| 4028 | </object> |
| 4029 | |
| 4030 | <object type="action"> |
| 4031 | <conditions> |
| 4032 | <condition var1="tw_operation_state" var2="1" /> |
| 4033 | <condition var1="tw_operation_status" op="!=" var2="0" /> |
| 4034 | </conditions> |
| 4035 | <actions> |
| 4036 | <action function="set">tw_password_fail=1</action> |
| 4037 | <action function="page">decrypt</action> |
| 4038 | </actions> |
| 4039 | </object> |
| 4040 | |
| 4041 | <object type="action"> |
| 4042 | <conditions> |
| 4043 | <condition var1="tw_operation_state" var2="1" /> |
| 4044 | <condition var1="tw_operation_status" op="=" var2="0" /> |
| 4045 | </conditions> |
Dees_Troy | 6ed34b7 | 2013-01-25 15:01:29 +0000 | [diff] [blame] | 4046 | <actions> |
| 4047 | <action function="set">tw_page_done=1</action> |
| 4048 | <action function="page">main</action> |
| 4049 | </actions> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4050 | </object> |
| 4051 | </page> |
| 4052 | |
| 4053 | <page name="terminalfolder"> |
| 4054 | <object type="template" name="header" /> |
| 4055 | |
| 4056 | <object type="text" color="%text_color%"> |
| 4057 | <font resource="font" /> |
| 4058 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 4059 | <text>Browse to Starting Folder</text> |
| 4060 | </object> |
| 4061 | |
| 4062 | <object type="fileselector"> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 4063 | <highlight color="%fileselector_highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4064 | <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" /> |
| 4065 | <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" /> |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 4066 | <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4067 | <text>%tw_terminal_location%</text> |
| 4068 | <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" /> |
| 4069 | <sort name="tw_gui_sort_order" /> |
| 4070 | <icon folder="folder_icon" file="file_icon" /> |
| 4071 | <background color="%fileselector_background%" /> |
Dees_Troy | e7585ca | 2013-02-15 11:42:29 -0600 | [diff] [blame] | 4072 | <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4073 | <filter folders="1" files="0" /> |
| 4074 | <path name="tw_terminal_location" default="/" /> |
| 4075 | <data name="tw_terminal" /> |
| 4076 | <selection name="tw_terminal_selection" /> |
| 4077 | </object> |
| 4078 | |
| 4079 | <object type="template" name="sort_options" /> |
| 4080 | |
| 4081 | <object type="action"> |
| 4082 | <touch key="home" /> |
| 4083 | <action function="page">main</action> |
| 4084 | </object> |
| 4085 | |
| 4086 | <object type="action"> |
| 4087 | <touch key="back" /> |
| 4088 | <action function="page">advanced</action> |
| 4089 | </object> |
| 4090 | |
| 4091 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 4092 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4093 | <placement x="%filemanager_select_x%" y="%filemanager_select_y%" /> |
| 4094 | <font resource="font" color="%button_text_color%" /> |
| 4095 | <text>Select Folder</text> |
| 4096 | <image resource="main_button" /> |
| 4097 | <actions> |
| 4098 | <action function="page">terminalcommand</action> |
| 4099 | </actions> |
| 4100 | </object> |
| 4101 | |
| 4102 | <object type="template" name="footer" /> |
| 4103 | </page> |
| 4104 | |
| 4105 | <page name="terminalcommand"> |
| 4106 | <background color="#000000FF" /> |
| 4107 | |
| 4108 | <object type="console"> |
| 4109 | <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" /> |
| 4110 | <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" /> |
| 4111 | <font resource="fixed" /> |
| 4112 | </object> |
| 4113 | |
| 4114 | <object type="text" color="%text_color%"> |
| 4115 | <placement x="%input_x%" y="%terminal_text_y%" placement="0" /> |
| 4116 | <font resource="font" /> |
| 4117 | <text>Starting Path: %tw_terminal_location%</text> |
| 4118 | </object> |
| 4119 | |
| 4120 | <object type="input"> |
| 4121 | <condition var1="tw_terminal_state" var2="0" /> |
| 4122 | <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" /> |
| 4123 | <background color="%input_background_color%" /> |
| 4124 | <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" /> |
| 4125 | <font resource="font" color="%text_color%" /> |
| 4126 | <text>%tw_terminal_command%</text> |
| 4127 | <data name="tw_terminal_command" /> |
| 4128 | <restrict minlen="1" /> |
| 4129 | <action function="terminalcommand">%tw_terminal_command%</action> |
| 4130 | </object> |
| 4131 | |
| 4132 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 4133 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4134 | <condition var1="tw_terminal_state" var2="1" /> |
| 4135 | <placement x="%filemanager_select_x%" y="%terminal_button_y%" /> |
| 4136 | <font resource="font" color="%button_text_color%" /> |
| 4137 | <text>KILL</text> |
| 4138 | <image resource="medium_button" /> |
| 4139 | <action function="killterminal"></action> |
| 4140 | </object> |
| 4141 | |
| 4142 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 4143 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4144 | <placement x="%home_button_x%" y="%terminal_button_y%" /> |
| 4145 | <font resource="font" color="%button_text_color%" /> |
| 4146 | <text></text> |
| 4147 | <image resource="home_icon" /> |
| 4148 | <condition var1="tw_busy" var2="0" /> |
| 4149 | <action function="key">home</action> |
| 4150 | </object> |
| 4151 | |
| 4152 | <object type="button"> |
Dees_Troy | 1a7a667 | 2013-02-15 09:39:07 -0600 | [diff] [blame] | 4153 | <highlight color="%highlight_color%" /> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4154 | <placement x="%back_button_x%" y="%terminal_button_y%" /> |
| 4155 | <font resource="font" color="%button_text_color%" /> |
| 4156 | <text></text> |
| 4157 | <image resource="back_icon" /> |
| 4158 | <condition var1="tw_busy" var2="0" /> |
| 4159 | <action function="key">back</action> |
| 4160 | </object> |
| 4161 | |
| 4162 | <object type="action"> |
| 4163 | <touch key="power" /> |
| 4164 | <action function="overlay">lock</action> |
| 4165 | </object> |
| 4166 | |
Vojtech Bocek | 03fd6c5 | 2014-03-13 18:46:34 +0100 | [diff] [blame^] | 4167 | <object type="action"> |
| 4168 | <touch key="power+voldown" /> |
| 4169 | <action function="screenshot" /> |
| 4170 | </object> |
| 4171 | |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4172 | <object type="template" name="keyboardtemplate" /> |
| 4173 | |
| 4174 | <object type="action"> |
| 4175 | <touch key="home" /> |
| 4176 | <action function="page">main</action> |
| 4177 | </object> |
| 4178 | |
| 4179 | <object type="action"> |
| 4180 | <touch key="back" /> |
| 4181 | <action function="page">terminalfolder</action> |
| 4182 | </object> |
| 4183 | </page> |
bigbiff bigbiff | 7ce7f0c | 2013-01-25 09:54:04 -0500 | [diff] [blame] | 4184 | |
| 4185 | <page name="sideload"> |
| 4186 | <object type="template" name="header" /> |
| 4187 | |
| 4188 | <object type="text" color="%text_color%"> |
| 4189 | <font resource="font" /> |
| 4190 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 4191 | <text>ADB Sideload</text> |
| 4192 | </object> |
| 4193 | |
| 4194 | <object type="checkbox"> |
| 4195 | <placement x="%col1_x%" y="%row3_text_y%" /> |
| 4196 | <font resource="font" color="%text_color%" /> |
| 4197 | <text>Wipe Dalvik Cache.</text> |
| 4198 | <data variable="tw_wipe_dalvik" /> |
| 4199 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 4200 | </object> |
| 4201 | |
| 4202 | <object type="checkbox"> |
| 4203 | <placement x="%col1_x%" y="%row4_text_y%" /> |
| 4204 | <font resource="font" color="%text_color%" /> |
| 4205 | <text>Wipe Cache.</text> |
| 4206 | <data variable="tw_wipe_cache" /> |
| 4207 | <image checked="checkbox_true" unchecked="checkbox_false" /> |
| 4208 | </object> |
| 4209 | |
| 4210 | <object type="slider"> |
| 4211 | <placement x="%slider_x%" y="%slider_y%" /> |
| 4212 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 4213 | <actions> |
| 4214 | <action function="set">tw_back=advanced</action> |
| 4215 | <action function="set">tw_action=adbsideload</action> |
| 4216 | <action function="set">tw_action_text1=ADB Sideload</action> |
| 4217 | <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action> |
| 4218 | <action function="set">tw_complete_text1=ADB Sideload Complete</action> |
| 4219 | <action function="set">tw_has_cancel=1</action> |
| 4220 | <action function="set">tw_show_reboot=1</action> |
| 4221 | <action function="set">tw_cancel_action=adbsideloadcancel</action> |
| 4222 | <action function="page">action_page</action> |
| 4223 | </actions> |
| 4224 | </object> |
| 4225 | |
| 4226 | <object type="text" color="%text_color%"> |
| 4227 | <font resource="font" /> |
| 4228 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 4229 | <text>Swipe to Start Sideload</text> |
| 4230 | </object> |
| 4231 | |
| 4232 | <object type="action"> |
| 4233 | <touch key="home" /> |
| 4234 | <action function="page">main</action> |
| 4235 | </object> |
| 4236 | |
| 4237 | <object type="action"> |
| 4238 | <touch key="back" /> |
| 4239 | <action function="page">advanced</action> |
| 4240 | </object> |
| 4241 | |
| 4242 | <object type="template" name="footer" /> |
| 4243 | </page> |
Dees_Troy | 6ef6635 | 2013-02-21 08:26:57 -0600 | [diff] [blame] | 4244 | |
| 4245 | <page name="installsu"> |
| 4246 | <object type="template" name="header" /> |
| 4247 | |
| 4248 | <object type="text" color="%text_color%"> |
| 4249 | <font resource="font" /> |
| 4250 | <placement x="%center_x%" y="%row1_text_y%" placement="5"/> |
| 4251 | <text>Install SuperSU?</text> |
| 4252 | </object> |
| 4253 | |
| 4254 | <object type="text" color="%text_color%"> |
| 4255 | <font resource="font" /> |
| 4256 | <placement x="%center_x%" y="%row2_text_y%" placement="5"/> |
| 4257 | <text>Your device does not appear to be rooted.</text> |
| 4258 | </object> |
| 4259 | |
| 4260 | <object type="text" color="%text_color%"> |
| 4261 | <font resource="font" /> |
| 4262 | <placement x="%center_x%" y="%row3_text_y%" placement="5"/> |
| 4263 | <text>Install SuperSU now? This will root your device.</text> |
| 4264 | </object> |
| 4265 | |
| 4266 | <object type="button"> |
| 4267 | <highlight color="%highlight_color%" /> |
| 4268 | <placement x="%col_center_x%" y="%row2_medium_y%" /> |
| 4269 | <font resource="font" color="%button_text_color%" /> |
| 4270 | <text>Do Not Install</text> |
| 4271 | <image resource="main_button" /> |
| 4272 | <action function="set">tw_page_done=1</action> |
| 4273 | </object> |
| 4274 | |
| 4275 | <object type="slider"> |
| 4276 | <placement x="%slider_x%" y="%slider_y%" /> |
| 4277 | <resource base="slider" used="slider-used" touch="slider-touch" /> |
| 4278 | <actions> |
| 4279 | <action function="set">tw_action=installsu</action> |
| 4280 | <action function="set">tw_action_text1=Installing SuperSU</action> |
| 4281 | <action function="set">tw_action_text2=</action> |
| 4282 | <action function="page">singleaction_page</action> |
| 4283 | </actions> |
| 4284 | </object> |
| 4285 | |
| 4286 | <object type="text" color="%text_color%"> |
| 4287 | <font resource="font" /> |
| 4288 | <placement x="%center_x%" y="%slider_text_y%" placement="4" /> |
| 4289 | <text>Swipe to Install</text> |
| 4290 | </object> |
| 4291 | </page> |
Dees_Troy | 16b7435 | 2012-11-14 22:27:31 +0000 | [diff] [blame] | 4292 | </pages> |
| 4293 | </recovery> |