m7c: brand splash instead of the white startup screen
- LaunchTheme/NormalTheme on #05070A (was the stock light theme + white windowBackground) and the Android 12 splash API in values-v31 - splash icon is a padded 512x512 canvas: Android masks everything outside the inner 192dp of the 288dp icon area, which clipped the wordmark at the top; the icon plate is set to the icon navy - Flutter splash (lib/src/ui/splash_screen.dart): logo pulses (scale 0.96-1.04, opacity 0.72-1.0, 1100 ms) plus a thin progress line, min 700 ms measured from the first Flutter frame - boot work (session, FFI library, ad SDK) now runs after the first frame and the game fades in over the splash: no blocking work before the first frame - numbers (Redmi Note 10, API 31): debug 3053 ms, profile/AOT 2040 ms on the first start, 850-960 ms on later cold starts, ready log ~1030 ms - fixed: top-level Stopwatch only started on first access (Dart lazily initialises top-level finals), so the boot log always showed 0 ms - tools/device/startup.sh measures cold start + boot log; testing.md documents the splash chain and the MIUI release-install trap
This commit is contained in:
+4
-4
@@ -62,10 +62,10 @@ flutter:
|
||||
# the material Icons class.
|
||||
uses-material-design: true
|
||||
|
||||
# To add assets to your application, add an assets section, like this:
|
||||
# assets:
|
||||
# - images/a_dot_burr.jpeg
|
||||
# - images/a_dot_ham.jpeg
|
||||
# Brand mark used by the in-app splash (the Android launch theme ships the
|
||||
# same image as res/drawable-xxxhdpi/launch_logo.png).
|
||||
assets:
|
||||
- assets/logo_mark.png
|
||||
|
||||
# An image asset can refer to one or more resolution-specific "variants", see
|
||||
# https://flutter.dev/to/resolution-aware-images
|
||||
|
||||
Reference in New Issue
Block a user