commit | 32d27e8256ac9aa06c82057c94c90bb1ce5ba67f | [log] [tgz] |
---|---|---|
author | Alexander Martinz <amartinz@shiftphones.com> | Tue Dec 20 13:17:44 2022 +0100 |
committer | Alexander Martinz <alex@amartinz.at> | Fri Nov 15 14:01:24 2024 +0100 |
tree | bb793550872fbb83d03773179bccaff408ab97bc | |
parent | 9e6e2f186b507fe3c81e8cd297382357016ba4f4 [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 f2d8b45..46f4e1f 100644 --- a/recovery_ui/screen_ui.cpp +++ b/recovery_ui/screen_ui.cpp
@@ -1172,12 +1172,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