commit | deb4fe2cc29fd90ae40e67fe6a2bd0cf1d010e4f | [log] [tgz] |
---|---|---|
author | Alexander Martinz <amartinz@shiftphones.com> | Tue Dec 20 13:17:44 2022 +0100 |
committer | Alexander Martinz <alex@amartinz.at> | Wed Dec 21 07:01:59 2022 +0100 |
tree | a20e1ee4486227d8a56650ca1c6c9ea6fb9c9ea5 | |
parent | e06e7459d130b9c84bf1f60c3f2c812288496d09 [diff] |
(SHIFT) Branding: adjust logos and back selector ----- convert -resize 75% res-xxxhdpi/images/logo_image.png res-xxhdpi/images/logo_image.png convert -resize 50% res-xxxhdpi/images/logo_image.png res-xhdpi/images/logo_image.png convert -resize 37,5% res-xxxhdpi/images/logo_image.png res-hdpi/images/logo_image.png convert -resize 25% res-xxxhdpi/images/logo_image.png res-mdpi/images/logo_image.png find . -name "logo_image.png" -exec pngcrush -ow -rem allb -brute {} \; find . -name "logo_image.png" -exec optipng -o7 {} \; convert -resize 75% res-xxxhdpi/images/fastbootd.png res-xxhdpi/images/fastbootd.png convert -resize 50% res-xxxhdpi/images/fastbootd.png res-xhdpi/images/fastbootd.png convert -resize 37,5% res-xxxhdpi/images/fastbootd.png res-hdpi/images/fastbootd.png convert -resize 25% res-xxxhdpi/images/fastbootd.png res-mdpi/images/fastbootd.png find . -name "fastbootd.png" -exec pngcrush -ow -rem allb -brute {} \; find . -name "fastbootd.png" -exec optipng -o7 {} \; convert -resize 75% res-xxxhdpi/images/ic_back_sel.png res-xxhdpi/images/ic_back_sel.png convert -resize 50% res-xxxhdpi/images/ic_back_sel.png res-xhdpi/images/ic_back_sel.png convert -resize 37,5% res-xxxhdpi/images/ic_back_sel.png res-hdpi/images/ic_back_sel.png convert -resize 25% res-xxxhdpi/images/ic_back_sel.png res-mdpi/images/ic_back_sel.png find . -name "ic_back_sel.png" -exec pngcrush -ow -rem allb -brute {} \; find . -name "ic_back_sel.png" -exec optipng -o7 {} \; ----- Change-Id: I1ae4efc4e5535ebebcb5000845b7233e0dd481ca Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/recovery_ui/screen_ui.cpp b/recovery_ui/screen_ui.cpp index 864ad62..bb05d51 100644 --- a/recovery_ui/screen_ui.cpp +++ b/recovery_ui/screen_ui.cpp
@@ -1047,12 +1047,10 @@ back_icon_ = LoadBitmap("ic_back"); back_icon_sel_ = LoadBitmap("ic_back_sel"); + lineage_logo_ = LoadBitmap("logo_image"); if (android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) || android::base::GetBoolProperty("ro.fastbootd.available", false)) { - lineage_logo_ = LoadBitmap("logo_image_switch"); fastbootd_logo_ = LoadBitmap("fastbootd"); - } else { - lineage_logo_ = LoadBitmap("logo_image"); } // Background text for "installing_update" could be "installing update" or
diff --git a/res-hdpi/images/fastbootd.png b/res-hdpi/images/fastbootd.png index 7ff977c..17d2a8d 100644 --- a/res-hdpi/images/fastbootd.png +++ b/res-hdpi/images/fastbootd.png Binary files differ
diff --git a/res-hdpi/images/ic_back_sel.png b/res-hdpi/images/ic_back_sel.png index 13fcaea..e108007 100644 --- a/res-hdpi/images/ic_back_sel.png +++ b/res-hdpi/images/ic_back_sel.png Binary files differ
diff --git a/res-hdpi/images/logo_image.png b/res-hdpi/images/logo_image.png index 3d950ef..19f40bf 100644 --- a/res-hdpi/images/logo_image.png +++ b/res-hdpi/images/logo_image.png Binary files differ
diff --git a/res-hdpi/images/logo_image_switch.png b/res-hdpi/images/logo_image_switch.png deleted file mode 100644 index a074dfc..0000000 --- a/res-hdpi/images/logo_image_switch.png +++ /dev/null Binary files differ
diff --git a/res-mdpi/images/fastbootd.png b/res-mdpi/images/fastbootd.png index 2797bfa..0473fcb 100644 --- a/res-mdpi/images/fastbootd.png +++ b/res-mdpi/images/fastbootd.png Binary files differ
diff --git a/res-mdpi/images/ic_back_sel.png b/res-mdpi/images/ic_back_sel.png index b9a013b..e6d78f0 100644 --- a/res-mdpi/images/ic_back_sel.png +++ b/res-mdpi/images/ic_back_sel.png Binary files differ
diff --git a/res-mdpi/images/logo_image.png b/res-mdpi/images/logo_image.png index 4ca3c8a..d2ff522 100644 --- a/res-mdpi/images/logo_image.png +++ b/res-mdpi/images/logo_image.png Binary files differ
diff --git a/res-mdpi/images/logo_image_switch.png b/res-mdpi/images/logo_image_switch.png deleted file mode 100644 index ba2d185..0000000 --- a/res-mdpi/images/logo_image_switch.png +++ /dev/null Binary files differ
diff --git a/res-xhdpi/images/fastbootd.png b/res-xhdpi/images/fastbootd.png index e54976b..4584ee8 100644 --- a/res-xhdpi/images/fastbootd.png +++ b/res-xhdpi/images/fastbootd.png Binary files differ
diff --git a/res-xhdpi/images/ic_back_sel.png b/res-xhdpi/images/ic_back_sel.png index f69573d..2d779f1 100644 --- a/res-xhdpi/images/ic_back_sel.png +++ b/res-xhdpi/images/ic_back_sel.png Binary files differ
diff --git a/res-xhdpi/images/logo_image.png b/res-xhdpi/images/logo_image.png index 6a5a8c0..28874a6 100644 --- a/res-xhdpi/images/logo_image.png +++ b/res-xhdpi/images/logo_image.png Binary files differ
diff --git a/res-xhdpi/images/logo_image_switch.png b/res-xhdpi/images/logo_image_switch.png deleted file mode 100644 index 928cffd..0000000 --- a/res-xhdpi/images/logo_image_switch.png +++ /dev/null Binary files differ
diff --git a/res-xxhdpi/images/fastbootd.png b/res-xxhdpi/images/fastbootd.png index 891776b..9009fa5 100644 --- a/res-xxhdpi/images/fastbootd.png +++ b/res-xxhdpi/images/fastbootd.png Binary files differ
diff --git a/res-xxhdpi/images/ic_back_sel.png b/res-xxhdpi/images/ic_back_sel.png index 4657b57..74ece6c 100644 --- a/res-xxhdpi/images/ic_back_sel.png +++ b/res-xxhdpi/images/ic_back_sel.png Binary files differ
diff --git a/res-xxhdpi/images/logo_image.png b/res-xxhdpi/images/logo_image.png index d38aa26..ff7bdaf 100644 --- a/res-xxhdpi/images/logo_image.png +++ b/res-xxhdpi/images/logo_image.png Binary files differ
diff --git a/res-xxhdpi/images/logo_image_switch.png b/res-xxhdpi/images/logo_image_switch.png deleted file mode 100644 index af1aed7..0000000 --- a/res-xxhdpi/images/logo_image_switch.png +++ /dev/null Binary files differ
diff --git a/res-xxxhdpi/images/fastbootd.png b/res-xxxhdpi/images/fastbootd.png index 220452b..65361b4 100644 --- a/res-xxxhdpi/images/fastbootd.png +++ b/res-xxxhdpi/images/fastbootd.png Binary files differ
diff --git a/res-xxxhdpi/images/ic_back_sel.png b/res-xxxhdpi/images/ic_back_sel.png index efe1b02..37c67c2 100644 --- a/res-xxxhdpi/images/ic_back_sel.png +++ b/res-xxxhdpi/images/ic_back_sel.png Binary files differ
diff --git a/res-xxxhdpi/images/logo_image.png b/res-xxxhdpi/images/logo_image.png index ab2b9e5..5af8505 100644 --- a/res-xxxhdpi/images/logo_image.png +++ b/res-xxxhdpi/images/logo_image.png Binary files differ
diff --git a/res-xxxhdpi/images/logo_image_switch.png b/res-xxxhdpi/images/logo_image_switch.png deleted file mode 100644 index cba0ca6..0000000 --- a/res-xxxhdpi/images/logo_image_switch.png +++ /dev/null Binary files differ