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