Skip to content

Commit

Permalink
gui: remove old unmaintained 2.x theme
Browse files Browse the repository at this point in the history
Change-Id: I1181307989c7478ac6b84bf77732ee5dcff52ed1
  • Loading branch information
that1 authored and Dees-Troy committed Jan 18, 2017
1 parent 7118774 commit 55f2bda
Show file tree
Hide file tree
Showing 185 changed files with 4 additions and 13,949 deletions.
34 changes: 4 additions & 30 deletions gui/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ LOCAL_MODULE := twrp
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)$(TWRES_PATH)
TWRP_RES := $(commands_recovery_local_path)/gui/devices/common/res/*
# enable this to use new themes:
TWRP_NEW_THEME := true

ifeq ($(TW_CUSTOM_THEME),)
ifeq ($(TW_THEME),)
Expand All @@ -120,11 +117,10 @@ ifeq ($(TW_CUSTOM_THEME),)
endif
endif

ifeq ($(TWRP_NEW_THEME),true)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/theme/$(TW_THEME)
TWRP_RES := $(commands_recovery_local_path)/gui/theme/common/fonts
TWRP_RES += $(commands_recovery_local_path)/gui/theme/common/languages
TWRP_RES += $(commands_recovery_local_path)/gui/theme/common/$(word 1,$(subst _, ,$(TW_THEME))).xml
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/theme/$(TW_THEME)
TWRP_RES := $(commands_recovery_local_path)/gui/theme/common/fonts
TWRP_RES += $(commands_recovery_local_path)/gui/theme/common/languages
TWRP_RES += $(commands_recovery_local_path)/gui/theme/common/$(word 1,$(subst _, ,$(TW_THEME))).xml
ifeq ($(TW_EXTRA_LANGUAGES),true)
TWRP_RES += $(commands_recovery_local_path)/gui/theme/extra-languages/fonts
TWRP_RES += $(commands_recovery_local_path)/gui/theme/extra-languages/languages
Expand All @@ -142,28 +138,6 @@ ifeq ($(wildcard $(TWRP_THEME_LOC)/ui.xml),)
$(warning ****************************************************************************)
$(error stopping)
endif
else
TWRP_RES += $(commands_recovery_local_path)/gui/devices/$(word 1,$(subst _, ,$(TW_THEME)))/res/*
ifeq ($(TW_THEME), portrait_mdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/480x800/res
else ifeq ($(TW_THEME), portrait_hdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/1080x1920/res
else ifeq ($(TW_THEME), watch_mdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/320x320/res
else ifeq ($(TW_THEME), landscape_mdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/800x480/res
else ifeq ($(TW_THEME), landscape_hdpi)
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/1920x1200/res
else
$(warning ****************************************************************************)
$(warning * TW_THEME ($(TW_THEME)) is not valid.)
$(warning * Please choose an appropriate TW_THEME or create a new one for your device.)
$(warning * Valid options are portrait_mdpi portrait_hdpi watch_mdpi)
$(warning * landscape_mdpi landscape_hdpi)
$(warning ****************************************************************************)
$(error stopping)
endif
endif
else
TWRP_THEME_LOC := $(TW_CUSTOM_THEME)
endif
Expand Down
Binary file removed gui/devices/1080x1920/res/images/back-icon.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/checkbox_checked.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/checkbox_empty.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/cursor.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/curtain.jpg
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/file.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/folder.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/home-icon.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/keyboard1.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/keyboard2.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/keyboard3.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/keyboard4.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/medium-button.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/menu-button.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/minus-button.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/plus-button.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/progress_empty.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/progress_fill.png
Binary file not shown.
Binary file removed gui/devices/1080x1920/res/images/radio_empty.png
Binary file not shown.
Diff not rendered.
Binary file removed gui/devices/1080x1920/res/images/slideout.png
Diff not rendered.
Binary file removed gui/devices/1080x1920/res/images/slider-touch.png
Diff not rendered.
Binary file removed gui/devices/1080x1920/res/images/slider-used.png
Diff not rendered.
Binary file removed gui/devices/1080x1920/res/images/slider.png
Diff not rendered.
Binary file removed gui/devices/1080x1920/res/images/sort-button.png
Diff not rendered.
Binary file removed gui/devices/1080x1920/res/images/twrplogo.png
Diff not rendered.
Binary file removed gui/devices/1080x1920/res/images/unlock.png
Diff not rendered.
Loading

0 comments on commit 55f2bda

Please sign in to comment.