[Android] Fix the fastlane screenshot generation

Nicolas Pomepuy git at videolan.org
Thu Oct 9 13:36:08 UTC 2025


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Oct  9 15:22:31 2025 +0200| [4332167041d4c4b87b196023d759e6a01d627813] | committer: Nicolas Pomepuy

Fix the fastlane screenshot generation

The equalizer changed int he meantime and the sizing
add to be adapted. Also add a font for bengali

> https://code.videolan.org/videolan/vlc-android/commit/4332167041d4c4b87b196023d759e6a01d627813
---

 buildsystem/automation/fastlane/Screengrabfile     |   6 +++---
 .../framing/templates/PIxel 2 XL eq mask.xcf       | Bin 35158 -> 0 bytes
 .../automation/framing/templates/PIxel 2 XL eq.xcf | Bin 67999 -> 160755 bytes
 .../framing/templates/Seven inches eq.xcf          | Bin 115320 -> 235369 bytes
 .../automation/framing/templates/Ten inches eq.xcf | Bin 58883 -> 65341 bytes
 .../framing/templates/background_pixel_2_XL_eq.png | Bin 23438 -> 25731 bytes
 .../templates/background_pixel_2_XL_eq_mask.png    | Bin 19649 -> 21423 bytes
 .../templates/background_seven_inches_eq.png       | Bin 11441 -> 13017 bytes
 .../templates/background_seven_inches_eq_mask.png  | Bin 9208 -> 9938 bytes
 .../framing/templates/background_ten_inches_eq.png | Bin 8472 -> 9087 bytes
 .../templates/background_ten_inches_eq_mask.png    | Bin 5872 -> 6447 bytes
 buildsystem/automation/generate_images.sh          |  14 ++++++++------
 12 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/buildsystem/automation/fastlane/Screengrabfile b/buildsystem/automation/fastlane/Screengrabfile
index f27f7eb9d5..f8eaf4f501 100644
--- a/buildsystem/automation/fastlane/Screengrabfile
+++ b/buildsystem/automation/fastlane/Screengrabfile
@@ -5,11 +5,11 @@
 
 use_adb_root(true)
 test_instrumentation_runner("org.videolan.vlc.MultidexTestRunner")
-#locales(['en-US', 'fr-FR', 'eu-ES', 'zh-TW', 'zh-CN', 'de-DE', 'el-GR', 'he-IL', 'hu-HU', 'it-IT', 'sr', 'sk', 'sv-SE', 'tr-TR', 'uk', 'et', 'fi-FI', 'ro', 'ca', 'da-DK', 'ka-GE', 'ar', 'pt-BR', 'pt-PT', 'ja-JP', 'ko-KR', 'sl', 'bn-BD'])
-locales(['bn-BD'])
+locales(['en-US', 'fr-FR', 'eu-ES', 'zh-TW', 'zh-CN', 'de-DE', 'el-GR', 'he-IL', 'hu-HU', 'it-IT', 'sr', 'sk', 'sv-SE', 'tr-TR', 'uk', 'et', 'fi-FI', 'ro', 'ca', 'da-DK', 'ka-GE', 'ar', 'pt-BR', 'pt-PT', 'ja-JP', 'ko-KR', 'sl', 'bn-BD', 'nl-NL', 'fa'])
+#locales(['de-DE', 'ja-JP'])
 
 # clear all previously generated screenshots in your local output directory before creating new ones
-clear_previous_screenshots(true)
+clear_previous_screenshots(false)
 
 # For more information about all available options run
 #   fastlane screengrab --help
diff --git a/buildsystem/automation/framing/templates/PIxel 2 XL eq mask.xcf b/buildsystem/automation/framing/templates/PIxel 2 XL eq mask.xcf
deleted file mode 100644
index 095a8558dc..0000000000
Binary files a/buildsystem/automation/framing/templates/PIxel 2 XL eq mask.xcf and /dev/null differ
diff --git a/buildsystem/automation/framing/templates/PIxel 2 XL eq.xcf b/buildsystem/automation/framing/templates/PIxel 2 XL eq.xcf
index 7ba89ae4a0..1ad9ed79a4 100644
Binary files a/buildsystem/automation/framing/templates/PIxel 2 XL eq.xcf and b/buildsystem/automation/framing/templates/PIxel 2 XL eq.xcf differ
diff --git a/buildsystem/automation/framing/templates/Seven inches eq.xcf b/buildsystem/automation/framing/templates/Seven inches eq.xcf
index bb8d1205f3..48fedef59f 100644
Binary files a/buildsystem/automation/framing/templates/Seven inches eq.xcf and b/buildsystem/automation/framing/templates/Seven inches eq.xcf differ
diff --git a/buildsystem/automation/framing/templates/Ten inches eq.xcf b/buildsystem/automation/framing/templates/Ten inches eq.xcf
index 556b257302..623c0b40ae 100644
Binary files a/buildsystem/automation/framing/templates/Ten inches eq.xcf and b/buildsystem/automation/framing/templates/Ten inches eq.xcf differ
diff --git a/buildsystem/automation/framing/templates/background_pixel_2_XL_eq.png b/buildsystem/automation/framing/templates/background_pixel_2_XL_eq.png
index 8d7dd2a66a..79042559a0 100644
Binary files a/buildsystem/automation/framing/templates/background_pixel_2_XL_eq.png and b/buildsystem/automation/framing/templates/background_pixel_2_XL_eq.png differ
diff --git a/buildsystem/automation/framing/templates/background_pixel_2_XL_eq_mask.png b/buildsystem/automation/framing/templates/background_pixel_2_XL_eq_mask.png
index a336bf0a2a..41a2f20dea 100644
Binary files a/buildsystem/automation/framing/templates/background_pixel_2_XL_eq_mask.png and b/buildsystem/automation/framing/templates/background_pixel_2_XL_eq_mask.png differ
diff --git a/buildsystem/automation/framing/templates/background_seven_inches_eq.png b/buildsystem/automation/framing/templates/background_seven_inches_eq.png
index a06948a503..d36aeda1dc 100644
Binary files a/buildsystem/automation/framing/templates/background_seven_inches_eq.png and b/buildsystem/automation/framing/templates/background_seven_inches_eq.png differ
diff --git a/buildsystem/automation/framing/templates/background_seven_inches_eq_mask.png b/buildsystem/automation/framing/templates/background_seven_inches_eq_mask.png
index 16a73763de..fd7d959011 100644
Binary files a/buildsystem/automation/framing/templates/background_seven_inches_eq_mask.png and b/buildsystem/automation/framing/templates/background_seven_inches_eq_mask.png differ
diff --git a/buildsystem/automation/framing/templates/background_ten_inches_eq.png b/buildsystem/automation/framing/templates/background_ten_inches_eq.png
index 2bd008fccf..c9d6855711 100644
Binary files a/buildsystem/automation/framing/templates/background_ten_inches_eq.png and b/buildsystem/automation/framing/templates/background_ten_inches_eq.png differ
diff --git a/buildsystem/automation/framing/templates/background_ten_inches_eq_mask.png b/buildsystem/automation/framing/templates/background_ten_inches_eq_mask.png
index 6d0f80d5dd..f8e1344d8b 100644
Binary files a/buildsystem/automation/framing/templates/background_ten_inches_eq_mask.png and b/buildsystem/automation/framing/templates/background_ten_inches_eq_mask.png differ
diff --git a/buildsystem/automation/generate_images.sh b/buildsystem/automation/generate_images.sh
index d16e3c451d..41dcc644ef 100755
--- a/buildsystem/automation/generate_images.sh
+++ b/buildsystem/automation/generate_images.sh
@@ -116,10 +116,12 @@ get_font() {
         'ko-KR') echo "NotoSansKR";;
         'hi-IN') echo "NotoSans";;
         'el-GR') echo "NotoSans";;
+        'bn-BD') echo "NotoSansBengali";;
         'ka-GE') echo "NotoSansGeorgian";;
         'he-IL') echo "NotoSansHebrew";;
         'zh-TW') echo "NotoSansSC";;
         'zh-CN') echo "NotoSansSC";;
+        'fa') echo "NotoAR";;
         'ar') echo "NotoAR";;
         *) echo 'Raleway';;
     esac
@@ -196,9 +198,9 @@ generate_screenshot () {
       imageOffsetLandscapeY=592
       templatePrefix="background_pixel_2_XL"
       eqWidth=1440
-      eqHeight=1815
+      eqHeight=2049
       eqX=0
-      eqY=975
+      eqY=747
       eqFrameX=550
       eqFrameY=1360
       pipFrameX=1050
@@ -225,9 +227,9 @@ generate_screenshot () {
         imageOffsetLandscapeX=720
         imageOffsetLandscapeY=520
         eqWidth=1024
-        eqHeight=1038
+        eqHeight=1174
         eqX=238
-        eqY=1298
+        eqY=1162
         eqFrameX=900
         eqFrameY=2050
         pipFrameY=2460
@@ -242,9 +244,9 @@ generate_screenshot () {
         imageOffsetLandscapeX=920
         imageOffsetLandscapeY=544
         eqWidth=768
-        eqHeight=782
+        eqHeight=881
         eqX=616
-        eqY=670
+        eqY=571
         eqFrameX=2600
         eqFrameY=1050
         pipFrameX=2450



More information about the Android mailing list