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