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