From ba535e3b6cad2be4f42aa0630b5b664c4b80408d Mon Sep 17 00:00:00 2001 From: big biff Date: Tue, 29 Jul 2014 00:44:47 +0000 Subject: add 1440x2560 theme to TWRP Based on work by Chris Phelps https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/58963336b81ea8bcc03b8d7e4dfe4598f5afc972 https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/4ec10303cb76592044c3aa449dc68a33356a6e09 https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/c48bd2412332916eafd0db727d923c8c16cd35ed https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/f0944ded30e98917ca85db0185add1207ea5f4b6 But with other original changes too. Change-Id: I809a37a3983187e62568a1e2403b6637a692220d --- gui/Android.mk | 6 +- .../1440x2560/res/fonts/Roboto-Condensed-50.dat | Bin 0 -> 20320 bytes gui/devices/1440x2560/res/images/back-icon.png | Bin 0 -> 6182 bytes .../1440x2560/res/images/checkbox_checked.png | Bin 0 -> 1807 bytes .../1440x2560/res/images/checkbox_empty.png | Bin 0 -> 586 bytes gui/devices/1440x2560/res/images/cursor.png | Bin 0 -> 1452 bytes gui/devices/1440x2560/res/images/curtain.jpg | Bin 0 -> 153355 bytes gui/devices/1440x2560/res/images/file.png | Bin 0 -> 1267 bytes gui/devices/1440x2560/res/images/folder.png | Bin 0 -> 1069 bytes gui/devices/1440x2560/res/images/home-icon.png | Bin 0 -> 6309 bytes .../1440x2560/res/images/indeterminate001.png | Bin 0 -> 27503 bytes .../1440x2560/res/images/indeterminate002.png | Bin 0 -> 27434 bytes .../1440x2560/res/images/indeterminate003.png | Bin 0 -> 27355 bytes .../1440x2560/res/images/indeterminate004.png | Bin 0 -> 27258 bytes .../1440x2560/res/images/indeterminate005.png | Bin 0 -> 27208 bytes .../1440x2560/res/images/indeterminate006.png | Bin 0 -> 27246 bytes gui/devices/1440x2560/res/images/keyboard1.png | Bin 0 -> 105645 bytes gui/devices/1440x2560/res/images/keyboard2.png | Bin 0 -> 110283 bytes gui/devices/1440x2560/res/images/keyboard3.png | Bin 0 -> 107048 bytes gui/devices/1440x2560/res/images/keyboard4.png | Bin 0 -> 96978 bytes gui/devices/1440x2560/res/images/medium-button.png | Bin 0 -> 3359 bytes gui/devices/1440x2560/res/images/menu-button.png | Bin 0 -> 11385 bytes gui/devices/1440x2560/res/images/minus-button.png | Bin 0 -> 815 bytes gui/devices/1440x2560/res/images/plus-button.png | Bin 0 -> 5265 bytes .../1440x2560/res/images/progress_empty.png | Bin 0 -> 3413 bytes gui/devices/1440x2560/res/images/progress_fill.png | Bin 0 -> 3469 bytes gui/devices/1440x2560/res/images/radio_empty.png | Bin 0 -> 2673 bytes .../1440x2560/res/images/radio_selected.png | Bin 0 -> 3432 bytes gui/devices/1440x2560/res/images/slideout.png | Bin 0 -> 7326 bytes gui/devices/1440x2560/res/images/slider-touch.png | Bin 0 -> 48901 bytes gui/devices/1440x2560/res/images/slider-used.png | Bin 0 -> 19500 bytes gui/devices/1440x2560/res/images/slider.png | Bin 0 -> 42468 bytes gui/devices/1440x2560/res/images/sort-button.png | Bin 0 -> 1922 bytes gui/devices/1440x2560/res/images/top-bar.jpg | Bin 0 -> 27476 bytes gui/devices/1440x2560/res/images/unlock.png | Bin 0 -> 68671 bytes gui/devices/1440x2560/res/ui.xml | 417 +++++++++++++++++++++ gui/devices/portrait/res/portrait.xml | 2 +- 37 files changed, 422 insertions(+), 3 deletions(-) create mode 100644 gui/devices/1440x2560/res/fonts/Roboto-Condensed-50.dat create mode 100644 gui/devices/1440x2560/res/images/back-icon.png create mode 100644 gui/devices/1440x2560/res/images/checkbox_checked.png create mode 100644 gui/devices/1440x2560/res/images/checkbox_empty.png create mode 100644 gui/devices/1440x2560/res/images/cursor.png create mode 100644 gui/devices/1440x2560/res/images/curtain.jpg create mode 100644 gui/devices/1440x2560/res/images/file.png create mode 100644 gui/devices/1440x2560/res/images/folder.png create mode 100644 gui/devices/1440x2560/res/images/home-icon.png create mode 100644 gui/devices/1440x2560/res/images/indeterminate001.png create mode 100644 gui/devices/1440x2560/res/images/indeterminate002.png create mode 100644 gui/devices/1440x2560/res/images/indeterminate003.png create mode 100644 gui/devices/1440x2560/res/images/indeterminate004.png create mode 100644 gui/devices/1440x2560/res/images/indeterminate005.png create mode 100644 gui/devices/1440x2560/res/images/indeterminate006.png create mode 100644 gui/devices/1440x2560/res/images/keyboard1.png create mode 100644 gui/devices/1440x2560/res/images/keyboard2.png create mode 100644 gui/devices/1440x2560/res/images/keyboard3.png create mode 100644 gui/devices/1440x2560/res/images/keyboard4.png create mode 100644 gui/devices/1440x2560/res/images/medium-button.png create mode 100644 gui/devices/1440x2560/res/images/menu-button.png create mode 100644 gui/devices/1440x2560/res/images/minus-button.png create mode 100644 gui/devices/1440x2560/res/images/plus-button.png create mode 100644 gui/devices/1440x2560/res/images/progress_empty.png create mode 100644 gui/devices/1440x2560/res/images/progress_fill.png create mode 100644 gui/devices/1440x2560/res/images/radio_empty.png create mode 100644 gui/devices/1440x2560/res/images/radio_selected.png create mode 100644 gui/devices/1440x2560/res/images/slideout.png create mode 100644 gui/devices/1440x2560/res/images/slider-touch.png create mode 100644 gui/devices/1440x2560/res/images/slider-used.png create mode 100644 gui/devices/1440x2560/res/images/slider.png create mode 100644 gui/devices/1440x2560/res/images/sort-button.png create mode 100755 gui/devices/1440x2560/res/images/top-bar.jpg create mode 100644 gui/devices/1440x2560/res/images/unlock.png create mode 100644 gui/devices/1440x2560/res/ui.xml (limited to 'gui') diff --git a/gui/Android.mk b/gui/Android.mk index fa40e0fae..2acbc92c8 100644 --- a/gui/Android.mk +++ b/gui/Android.mk @@ -96,10 +96,12 @@ TWRP_RES_LOC := $(commands_recovery_local_path)/gui/devices/common/res TWRP_COMMON_XML := $(hide) echo "No common TWRP XML resources" ifeq ($(TW_CUSTOM_THEME),) + PORTRAIT := 320x480 480x800 480x854 540x960 720x1280 800x1280 1080x1920 1200x1920 1440x2560 1600x2560 + LANDSCAPE := 800x480 1024x600 1024x768 1280x800 1920x1200 2560x1600 TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION)/res - ifneq ($(filter $(DEVICE_RESOLUTION), 320x480 480x800 480x854 540x960 720x1280 800x1280 1080x1920 1200x1920 1600x2560),) + ifneq ($(filter $(DEVICE_RESOLUTION), $(PORTRAIT)),) TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/portrait/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ - else ifneq ($(filter $(DEVICE_RESOLUTION), 800x480 1024x600 1024x768 1280x800 1920x1200 2560x1600),) + else ifneq ($(filter $(DEVICE_RESOLUTION), $(LANDSCAPE)),) TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/landscape/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/ endif else diff --git a/gui/devices/1440x2560/res/fonts/Roboto-Condensed-50.dat b/gui/devices/1440x2560/res/fonts/Roboto-Condensed-50.dat new file mode 100644 index 000000000..ae9c0f64d Binary files /dev/null and b/gui/devices/1440x2560/res/fonts/Roboto-Condensed-50.dat differ diff --git a/gui/devices/1440x2560/res/images/back-icon.png b/gui/devices/1440x2560/res/images/back-icon.png new file mode 100644 index 000000000..439ec19a7 Binary files /dev/null and b/gui/devices/1440x2560/res/images/back-icon.png differ diff --git a/gui/devices/1440x2560/res/images/checkbox_checked.png b/gui/devices/1440x2560/res/images/checkbox_checked.png new file mode 100644 index 000000000..65d0b34da Binary files /dev/null and b/gui/devices/1440x2560/res/images/checkbox_checked.png differ diff --git a/gui/devices/1440x2560/res/images/checkbox_empty.png b/gui/devices/1440x2560/res/images/checkbox_empty.png new file mode 100644 index 000000000..89b4c9627 Binary files /dev/null and b/gui/devices/1440x2560/res/images/checkbox_empty.png differ diff --git a/gui/devices/1440x2560/res/images/cursor.png b/gui/devices/1440x2560/res/images/cursor.png new file mode 100644 index 000000000..32c8ae1ca Binary files /dev/null and b/gui/devices/1440x2560/res/images/cursor.png differ diff --git a/gui/devices/1440x2560/res/images/curtain.jpg b/gui/devices/1440x2560/res/images/curtain.jpg new file mode 100644 index 000000000..c168882d5 Binary files /dev/null and b/gui/devices/1440x2560/res/images/curtain.jpg differ diff --git a/gui/devices/1440x2560/res/images/file.png b/gui/devices/1440x2560/res/images/file.png new file mode 100644 index 000000000..a69b61996 Binary files /dev/null and b/gui/devices/1440x2560/res/images/file.png differ diff --git a/gui/devices/1440x2560/res/images/folder.png b/gui/devices/1440x2560/res/images/folder.png new file mode 100644 index 000000000..fbea7a970 Binary files /dev/null and b/gui/devices/1440x2560/res/images/folder.png differ diff --git a/gui/devices/1440x2560/res/images/home-icon.png b/gui/devices/1440x2560/res/images/home-icon.png new file mode 100644 index 000000000..b9e40393c Binary files /dev/null and b/gui/devices/1440x2560/res/images/home-icon.png differ diff --git a/gui/devices/1440x2560/res/images/indeterminate001.png b/gui/devices/1440x2560/res/images/indeterminate001.png new file mode 100644 index 000000000..f5e164698 Binary files /dev/null and b/gui/devices/1440x2560/res/images/indeterminate001.png differ diff --git a/gui/devices/1440x2560/res/images/indeterminate002.png b/gui/devices/1440x2560/res/images/indeterminate002.png new file mode 100644 index 000000000..c841fb449 Binary files /dev/null and b/gui/devices/1440x2560/res/images/indeterminate002.png differ diff --git a/gui/devices/1440x2560/res/images/indeterminate003.png b/gui/devices/1440x2560/res/images/indeterminate003.png new file mode 100644 index 000000000..651f9e7e3 Binary files /dev/null and b/gui/devices/1440x2560/res/images/indeterminate003.png differ diff --git a/gui/devices/1440x2560/res/images/indeterminate004.png b/gui/devices/1440x2560/res/images/indeterminate004.png new file mode 100644 index 000000000..21e9fca04 Binary files /dev/null and b/gui/devices/1440x2560/res/images/indeterminate004.png differ diff --git a/gui/devices/1440x2560/res/images/indeterminate005.png b/gui/devices/1440x2560/res/images/indeterminate005.png new file mode 100644 index 000000000..1dd0172f8 Binary files /dev/null and b/gui/devices/1440x2560/res/images/indeterminate005.png differ diff --git a/gui/devices/1440x2560/res/images/indeterminate006.png b/gui/devices/1440x2560/res/images/indeterminate006.png new file mode 100644 index 000000000..4e5803baa Binary files /dev/null and b/gui/devices/1440x2560/res/images/indeterminate006.png differ diff --git a/gui/devices/1440x2560/res/images/keyboard1.png b/gui/devices/1440x2560/res/images/keyboard1.png new file mode 100644 index 000000000..400f62db7 Binary files /dev/null and b/gui/devices/1440x2560/res/images/keyboard1.png differ diff --git a/gui/devices/1440x2560/res/images/keyboard2.png b/gui/devices/1440x2560/res/images/keyboard2.png new file mode 100644 index 000000000..8b864a9ba Binary files /dev/null and b/gui/devices/1440x2560/res/images/keyboard2.png differ diff --git a/gui/devices/1440x2560/res/images/keyboard3.png b/gui/devices/1440x2560/res/images/keyboard3.png new file mode 100644 index 000000000..be7ca4774 Binary files /dev/null and b/gui/devices/1440x2560/res/images/keyboard3.png differ diff --git a/gui/devices/1440x2560/res/images/keyboard4.png b/gui/devices/1440x2560/res/images/keyboard4.png new file mode 100644 index 000000000..306c4b303 Binary files /dev/null and b/gui/devices/1440x2560/res/images/keyboard4.png differ diff --git a/gui/devices/1440x2560/res/images/medium-button.png b/gui/devices/1440x2560/res/images/medium-button.png new file mode 100644 index 000000000..a3bf30d58 Binary files /dev/null and b/gui/devices/1440x2560/res/images/medium-button.png differ diff --git a/gui/devices/1440x2560/res/images/menu-button.png b/gui/devices/1440x2560/res/images/menu-button.png new file mode 100644 index 000000000..d65105579 Binary files /dev/null and b/gui/devices/1440x2560/res/images/menu-button.png differ diff --git a/gui/devices/1440x2560/res/images/minus-button.png b/gui/devices/1440x2560/res/images/minus-button.png new file mode 100644 index 000000000..e2edbe45f Binary files /dev/null and b/gui/devices/1440x2560/res/images/minus-button.png differ diff --git a/gui/devices/1440x2560/res/images/plus-button.png b/gui/devices/1440x2560/res/images/plus-button.png new file mode 100644 index 000000000..28fb825c6 Binary files /dev/null and b/gui/devices/1440x2560/res/images/plus-button.png differ diff --git a/gui/devices/1440x2560/res/images/progress_empty.png b/gui/devices/1440x2560/res/images/progress_empty.png new file mode 100644 index 000000000..4d610c6b7 Binary files /dev/null and b/gui/devices/1440x2560/res/images/progress_empty.png differ diff --git a/gui/devices/1440x2560/res/images/progress_fill.png b/gui/devices/1440x2560/res/images/progress_fill.png new file mode 100644 index 000000000..3860c2413 Binary files /dev/null and b/gui/devices/1440x2560/res/images/progress_fill.png differ diff --git a/gui/devices/1440x2560/res/images/radio_empty.png b/gui/devices/1440x2560/res/images/radio_empty.png new file mode 100644 index 000000000..9c2c66bb0 Binary files /dev/null and b/gui/devices/1440x2560/res/images/radio_empty.png differ diff --git a/gui/devices/1440x2560/res/images/radio_selected.png b/gui/devices/1440x2560/res/images/radio_selected.png new file mode 100644 index 000000000..8d05b9d48 Binary files /dev/null and b/gui/devices/1440x2560/res/images/radio_selected.png differ diff --git a/gui/devices/1440x2560/res/images/slideout.png b/gui/devices/1440x2560/res/images/slideout.png new file mode 100644 index 000000000..a2f2be140 Binary files /dev/null and b/gui/devices/1440x2560/res/images/slideout.png differ diff --git a/gui/devices/1440x2560/res/images/slider-touch.png b/gui/devices/1440x2560/res/images/slider-touch.png new file mode 100644 index 000000000..f6dac624a Binary files /dev/null and b/gui/devices/1440x2560/res/images/slider-touch.png differ diff --git a/gui/devices/1440x2560/res/images/slider-used.png b/gui/devices/1440x2560/res/images/slider-used.png new file mode 100644 index 000000000..f18f8ce23 Binary files /dev/null and b/gui/devices/1440x2560/res/images/slider-used.png differ diff --git a/gui/devices/1440x2560/res/images/slider.png b/gui/devices/1440x2560/res/images/slider.png new file mode 100644 index 000000000..46fa928e9 Binary files /dev/null and b/gui/devices/1440x2560/res/images/slider.png differ diff --git a/gui/devices/1440x2560/res/images/sort-button.png b/gui/devices/1440x2560/res/images/sort-button.png new file mode 100644 index 000000000..c4f9eddaf Binary files /dev/null and b/gui/devices/1440x2560/res/images/sort-button.png differ diff --git a/gui/devices/1440x2560/res/images/top-bar.jpg b/gui/devices/1440x2560/res/images/top-bar.jpg new file mode 100755 index 000000000..93137b8c2 Binary files /dev/null and b/gui/devices/1440x2560/res/images/top-bar.jpg differ diff --git a/gui/devices/1440x2560/res/images/unlock.png b/gui/devices/1440x2560/res/images/unlock.png new file mode 100644 index 000000000..dc3894b76 Binary files /dev/null and b/gui/devices/1440x2560/res/images/unlock.png differ diff --git a/gui/devices/1440x2560/res/ui.xml b/gui/devices/1440x2560/res/ui.xml new file mode 100644 index 000000000..fa78add57 --- /dev/null +++ b/gui/devices/1440x2560/res/ui.xml @@ -0,0 +1,417 @@ + + + +
+ + TeamWin + Backup Naowz + Default basic theme + preview.jpg +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/gui/devices/portrait/res/portrait.xml b/gui/devices/portrait/res/portrait.xml index 466c64bbf..6a3618e62 100644 --- a/gui/devices/portrait/res/portrait.xml +++ b/gui/devices/portrait/res/portrait.xml @@ -1387,7 +1387,7 @@ - + backup_run -- cgit v1.2.3