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