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