screenshots: all-screens coverage batch 1 (metadata only)
- Commit
c788b714c616a284f0a6631197ab03cf36897b1f- Author
- Vayun Mathur <[email protected]>
- When
- 2026-11-25 18:09 UTC (10 days ago)
- Parents
9ba6b2d
Per owner direction (captures are metadata, no fail-on -diff): 10 modules extended so every top-level screen has a capture or a documented Layoutlib exception (communicate's missing golden was an uncompilable screenshotTest - import fixed, 9/9 now; new tablet captures for calendar/contacts/files/todo mains; games/hub determinism fixed to a fixed instant). Screens behind VM/provider/native surfaces are listed as exceptions in each MetadataPreviews.kt rather than faked. Previews == goldens for all 10; metadata + compile verified green.
Diff
calendar/src/screenshotTest/kotlin/com/vayunmathur/calendar/ui/MetadataPreviews.kt
diff --git a/calendar/src/screenshotTest/kotlin/com/vayunmathur/calendar/ui/MetadataPreviews.kt b/calendar/src/screenshotTest/kotlin/com/vayunmathur/calendar/ui/MetadataPreviews.ktindex 9dea6d2bb4..aec93a1f69 100644--- a/calendar/src/screenshotTest/kotlin/com/vayunmathur/calendar/ui/MetadataPreviews.kt+++ b/calendar/src/screenshotTest/kotlin/com/vayunmathur/calendar/ui/MetadataPreviews.kt@@ -143,6 +143,13 @@ private val SAMPLE_EVENTS = listOf( * the `cmd uimode night yes` the old on-device generator used. Material You sources its * palette from the wallpaper, which does not exist here, so these render with the fallback * scheme rather than a user's accent colour.+ *+ * Coverage: `Calendar` (month), `Event` (detail) and `Settings` on phone, plus both the+ * month (main) and event detail on large-tablet.+ * Exceptions (no stateless slice; ViewModel + system CalendarProvider / intent URIs):+ * `EditEvent`, `HolidayCalendars` and `ImportIcs` are not preview-rendered — faking them+ * from literals would not show the real editor/import screens. Dialog routes+ * (`GotoDialog`, pickers, recurrence, settings dialogs) are dialogs, not full screens. */ class MetadataPreviews { @@ -199,6 +206,26 @@ class MetadataPreviews { } } + @PreviewTest+ @Preview(name = "5-month-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview5MonthExpanded() {+ DynamicTheme(darkTheme = true) {+ CalendarScreen(+ state = CalendarUiState(+ layout = CalendarViewModel.CalendarLayout.Month,+ dateViewing = TODAY,+ today = TODAY,+ events = SAMPLE_EVENTS,+ calendars = mapOf(PERSONAL.id to PERSONAL, WORK.id to WORK),+ calendarVisibility = mapOf(PERSONAL.id to true, WORK.id to true),+ previewInstances = SAMPLE_EVENTS.map { instance(it) },+ ),+ actions = CalendarActions.Noop,+ )+ }+ }+ @PreviewTest @Preview(name = "4-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true) @Composable
communicate/src/screenshotTest/kotlin/com/vayunmathur/communicate/ui/MetadataPreviews.kt
diff --git a/communicate/src/screenshotTest/kotlin/com/vayunmathur/communicate/ui/MetadataPreviews.kt b/communicate/src/screenshotTest/kotlin/com/vayunmathur/communicate/ui/MetadataPreviews.ktindex 3b5c8971bb..09100e4621 100644--- a/communicate/src/screenshotTest/kotlin/com/vayunmathur/communicate/ui/MetadataPreviews.kt+++ b/communicate/src/screenshotTest/kotlin/com/vayunmathur/communicate/ui/MetadataPreviews.kt@@ -6,11 +6,14 @@ import androidx.compose.foundation.pager.rememberPagerState import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.tooling.preview.Preview+import androidx.compose.ui.unit.dp import com.android.tools.screenshot.PreviewTest import com.vayunmathur.communicate.data.CommunicateCallLogEntry import com.vayunmathur.communicate.data.CommunicateCallType import com.vayunmathur.communicate.data.CommunicateContact+import com.vayunmathur.communicate.data.SmsMessage import com.vayunmathur.communicate.data.SmsThread+import com.vayunmathur.communicate.data.VoicemailEntry import com.vayunmathur.library.ui.DynamicTheme import com.vayunmathur.library.ui.IconCall import com.vayunmathur.library.ui.IconHistory@@ -23,6 +26,9 @@ import com.vayunmathur.library.ui.TabbedPagerScaffold /** Phone-shaped, roughly 1080x2340 at xxhdpi — comfortably above the F-Droid minimum. */ private const val PHONE = "spec:width=411dp,height=891dp,dpi=420" +/** Expanded desktop/tablet window for the main (Messages) screen. */+private const val EXPANDED = "spec:width=1280dp,height=800dp,dpi=240"+ /** * Store listing images for `:communicate` phone tabs, rendered from Compose previews. *@@ -30,6 +36,16 @@ private const val PHONE = "spec:width=411dp,height=891dp,dpi=420" * cover the handset tabs: Messages, Dialer, Call logs, Voicemail. The tab screens were split * into stateless `*Content` slices so previews render without the SMS provider, * the SIM/session lines, or the contact/call-log content providers.+ *+ * Coverage: the four tabs and `Conversation` (primary detail, via its stateless+ * message-list + composer slices) on phone, plus Messages (main) on large-tablet;+ * the car templates are in CarMetadataPreviews.+ * Exceptions: `Accounts` and the WhatsApp/Signal/RCS/Google-Voice registration+ * wizards read Keystore-sealed DataStore line sessions and provider state — there is+ * no stateless slice and Layoutlib has no AndroidKeyStore session to show.+ * `Call` is a live WebRTC/telecom call (mic/camera/video surface, global call+ * registry): like `camera`'s viewfinder it cannot be rendered in Layoutlib; the car+ * in-call template in CarMetadataPreviews is the renderable in-call surface. */ class MetadataPreviews { @@ -160,6 +176,44 @@ class MetadataPreviews { ChromePreview(selectedTab = 3) } + @PreviewTest+ @Preview(name = "7-conversation", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview7Conversation() {+ DynamicTheme(darkTheme = true) {+ androidx.compose.foundation.layout.Column(Modifier.fillMaxSize()) {+ Box(Modifier.weight(1f).fillMaxSize()) {+ MessagesContent(+ padding = androidx.compose.foundation.layout.PaddingValues(0.dp),+ rows = listOf(+ SmsMessage(1, 1, "+14155550102", "Running 10 minutes late, start without me", 1_785_566_400_000, outgoing = false, read = true),+ SmsMessage(2, 1, "+14155550102", "No worries — we moved to room B", 1_785_566_460_000, outgoing = true, read = true),+ SmsMessage(3, 1, "+14155550102", "Perfect, see you there", 1_785_566_520_000, outgoing = false, read = true),+ ),+ )+ }+ ComposeSmsRow(+ draft = "",+ onDraftChange = {},+ attachments = emptyList(),+ onAttachMedia = {},+ onAttachFile = {},+ onCreatePoll = null,+ onShareContact = null,+ onRemoveAttachment = {},+ onSend = {},+ )+ }+ }+ }++ @PreviewTest+ @Preview(name = "8-messages-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview8MessagesExpanded() {+ ChromePreview(selectedTab = 0)+ }+ @Composable private fun MessagesContent() { MessagesListContent(
contacts/src/screenshotTest/kotlin/com/vayunmathur/contacts/ui/MetadataPreviews.kt
diff --git a/contacts/src/screenshotTest/kotlin/com/vayunmathur/contacts/ui/MetadataPreviews.kt b/contacts/src/screenshotTest/kotlin/com/vayunmathur/contacts/ui/MetadataPreviews.ktindex db22d5185a..693c1ab1fd 100644--- a/contacts/src/screenshotTest/kotlin/com/vayunmathur/contacts/ui/MetadataPreviews.kt+++ b/contacts/src/screenshotTest/kotlin/com/vayunmathur/contacts/ui/MetadataPreviews.kt@@ -41,6 +41,9 @@ import kotlinx.datetime.LocalDate /** Phone-shaped, roughly 1080x2340 at xxhdpi — comfortably above the F-Droid minimum. */ private const val PHONE = "spec:width=411dp,height=891dp,dpi=420" +/** Expanded desktop/tablet window: list main screen and the landscape detail header. */+private const val EXPANDED = "spec:width=1280dp,height=800dp,dpi=240"+ private val FAMILY = ContactGroup(1, "Family") private val FRIENDS = ContactGroup(2, "Friends") private val WORK = ContactGroup(3, "Work")@@ -137,6 +140,13 @@ private fun groupRow(group: ContactGroup) = GroupWithContacts( * palette from the wallpaper, which does not exist here, so these render with the fallback * scheme rather than a user's accent colour. Contact photos are absent too — an avatar is * decoded in a coroutine, and a preview never runs one — so every row shows its initial.+ *+ * Coverage: `ContactsList`, `GroupsList` and `ContactDetail` on phone, plus the list+ * (main) and detail (landscape-header wide layout) on large-tablet.+ * Exceptions (no stateless slice; ViewModel + contacts-provider / decoded-bitmap state):+ * `Settings`, `EditContact`/`InsertOrEditContact` and `ImportVcf` are not+ * preview-rendered, and `CropPhoto` needs a decoded bitmap from a content URI which+ * Layoutlib cannot load. Dialog routes are dialogs, not full screens. */ class MetadataPreviews { @@ -168,6 +178,28 @@ class MetadataPreviews { fun Preview3Groups() { ChromePreview(selectedTab = 1) }++ @PreviewTest+ @Preview(name = "4-list-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview4ListExpanded() {+ ChromePreview(selectedTab = 0)+ }++ @PreviewTest+ @Preview(name = "5-details-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview5DetailsExpanded() {+ DynamicTheme(darkTheme = true) {+ ContactDetailsScreen(+ state = ContactDetailsUiState(+ contact = AISHA,+ groups = GROUPS,+ ),+ actions = ContactsActions.Noop,+ )+ }+ } } @Composable
email/src/screenshotTest/kotlin/com/vayunmathur/email/MetadataPreviews.kt
diff --git a/email/src/screenshotTest/kotlin/com/vayunmathur/email/MetadataPreviews.kt b/email/src/screenshotTest/kotlin/com/vayunmathur/email/MetadataPreviews.ktindex ea91748f96..b241078c54 100644--- a/email/src/screenshotTest/kotlin/com/vayunmathur/email/MetadataPreviews.kt+++ b/email/src/screenshotTest/kotlin/com/vayunmathur/email/MetadataPreviews.kt@@ -7,6 +7,7 @@ import com.vayunmathur.email.data.EmailAccount import com.vayunmathur.email.data.EmailFolder import com.vayunmathur.email.data.EmailMessage import com.vayunmathur.email.data.EmailPreview+import com.vayunmathur.email.ui.AddAccountFormScreen import com.vayunmathur.email.ui.AddAccountScreen import com.vayunmathur.email.ui.EmailDrawerContent import com.vayunmathur.email.ui.MessageListScreen@@ -48,6 +49,13 @@ private const val EXPANDED = "spec:width=1280dp,height=800dp,dpi=240" * renders top-level previews happily, but the screenshot engine discovers previews as * JUnit tests and needs a real class to attach them to — top-level functions land in a * synthetic `…Kt` facade and are silently skipped.+ *+ * Coverage: `MessageList` (inbox/search/drawer), `MessageThread` (detail) and+ * `AddAccount` + `AddAccountForm` on phone, plus the thread on large-tablet.+ * Exceptions: `Composer` hosts an `AndroidView` HTML editor (WebView) which+ * Layoutlib cannot render; `Outbox`, `Drafts` and `Settings` have no stateless+ * slice (EmailViewModel + Room/DataStore), and `EmlViewer` reads a SAF URI's+ * bytes — none can be shown honestly from literals. */ class MetadataPreviews { @@ -106,6 +114,27 @@ class MetadataPreviews { } } + @PreviewTest+ @Preview(name = "8-inbox-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview8InboxExpanded() {+ DynamicTheme(darkTheme = true) {+ MessageListScreen(+ state = MessageListUiState(messages = INBOX),+ actions = MessageListActions.Noop,+ )+ }+ }++ @PreviewTest+ @Preview(name = "7-add-account-form", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview7AddAccountForm() {+ DynamicTheme(darkTheme = true) {+ AddAccountFormScreen(providerId = "gmail", onBack = {}, onAccountAdded = {})+ }+ }+ @PreviewTest @Preview(name = "5-conversation-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true) @Composable
files/src/screenshotTest/kotlin/com/vayunmathur/files/MetadataPreviews.kt
diff --git a/files/src/screenshotTest/kotlin/com/vayunmathur/files/MetadataPreviews.kt b/files/src/screenshotTest/kotlin/com/vayunmathur/files/MetadataPreviews.ktindex ecc8c33863..e0ce768f61 100644--- a/files/src/screenshotTest/kotlin/com/vayunmathur/files/MetadataPreviews.kt+++ b/files/src/screenshotTest/kotlin/com/vayunmathur/files/MetadataPreviews.kt@@ -6,9 +6,12 @@ import com.android.tools.screenshot.PreviewTest import com.vayunmathur.files.platform.FileBrowserItem import com.vayunmathur.files.platform.FilesActions import com.vayunmathur.files.platform.FilesUiState+import com.vayunmathur.files.platform.HomeUiState+import com.vayunmathur.files.platform.StorageInfo import com.vayunmathur.files.platform.TrashUiState import com.vayunmathur.files.ui.DirectoryScreen import com.vayunmathur.files.ui.FilesDrawer+import com.vayunmathur.files.ui.HomeScreen import com.vayunmathur.files.ui.TrashScreen import com.vayunmathur.library.ui.DrawerValue import com.vayunmathur.library.ui.DynamicTheme@@ -20,6 +23,9 @@ import java.io.File /** Phone-shaped, roughly 1080x2340 at xxhdpi — comfortably above the F-Droid minimum. */ private const val PHONE = "spec:width=411dp,height=891dp,dpi=420" +/** Expanded desktop/tablet window for the main (home) screen. */+private const val EXPANDED = "spec:width=1280dp,height=800dp,dpi=240"+ private const val ROOT = "/storage/emulated/0" /**@@ -32,6 +38,10 @@ private const val ROOT = "/storage/emulated/0" * The [File]s below are never touched — the browser only reads the names and sizes it is * handed — so these render without a filesystem, a device, or the all-files permission the * real app needs before it shows anything at all.+ *+ * Coverage: every `Route` destination — `Home`, `Directory`, `Category`, `Trash` and+ * `Zip` on phone, plus `Home` (main) on large-tablet. The text editor is a separate+ * activity (`TextEditorActivity`, ViewModel + SAF URI), not a `Route` destination. */ class MetadataPreviews { @@ -197,4 +207,59 @@ class MetadataPreviews { } } }++ @Composable+ private fun HomeContent() {+ HomeScreen(+ home = HomeUiState(+ rootDisplayName = "Pixel 9 Pro",+ storage = StorageInfo(totalBytes = 256_000_000_000, freeBytes = 84_000_000_000),+ recents = listOf(+ file("$ROOT/Download/receipts-june.pdf", 184_320),+ file("$ROOT/DCIM/IMG_2481.jpg", 3_145_728),+ ),+ bookmarks = listOf(dir("$ROOT/Documents")),+ ),+ actions = FilesActions.Noop,+ )+ }++ @PreviewTest+ @Preview(name = "6-home", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview6Home() {+ DynamicTheme(darkTheme = true) {+ HomeContent()+ }+ }++ @PreviewTest+ @Preview(name = "7-category", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview7Category() {+ DynamicTheme(darkTheme = true) {+ DirectoryScreen(+ state = FilesUiState(+ rootDirectory = File(ROOT),+ rootDisplayName = "Pixel 9 Pro",+ currentDirectory = File(ROOT),+ categoryTitle = "Images",+ files = listOf(+ file("$ROOT/DCIM/IMG_2481.jpg", 3_145_728),+ file("$ROOT/Pictures/offsite.png", 1_204_112),+ ),+ ),+ actions = FilesActions.Noop,+ )+ }+ }++ @PreviewTest+ @Preview(name = "8-home-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview8HomeExpanded() {+ DynamicTheme(darkTheme = true) {+ HomeContent()+ }+ } }
games/hub/src/screenshotTest/kotlin/com/vayunmathur/games/hub/ui/screens/MetadataPreviews.kt
diff --git a/games/hub/src/screenshotTest/kotlin/com/vayunmathur/games/hub/ui/screens/MetadataPreviews.kt b/games/hub/src/screenshotTest/kotlin/com/vayunmathur/games/hub/ui/screens/MetadataPreviews.ktindex f9039c11dd..c5c33a742b 100644--- a/games/hub/src/screenshotTest/kotlin/com/vayunmathur/games/hub/ui/screens/MetadataPreviews.kt+++ b/games/hub/src/screenshotTest/kotlin/com/vayunmathur/games/hub/ui/screens/MetadataPreviews.kt@@ -53,12 +53,22 @@ private const val DAY = 24 * HOUR * is not collected as a screenshot test. Previews must also be class members, not top-level * functions. Order comes from the function names (Preview1…, Preview2…). *- * Timestamps are relative to now so the "2h ago" style labels stay in their intended- * bucket; the rendered text is the same on every run.+ * Timestamps are offsets from a fixed instant ([NOW]) so the "2h ago" style+ * labels stay in their intended bucket and the rendered text is identical on+ * every run (no relative-to-now fixtures).+ *+ * Coverage: `Dashboard`, `Games`, `Profile`, `Yuu` (list/empty/editor) and+ * `PlayOnTv` (controller-pad discovery) on phone, plus the dashboard on+ * large-tablet.+ * Exceptions (no stateless slice; GameHubViewModel over Room): `Achievements`,+ * `AchievementsForGame`, `GameDetail`, `Activity` and `Settings` are not+ * preview-rendered. The Yuu editor's 3D avatar surface is the screen's own+ * preview seam as already rendered by `Preview7YuuEditor`. */ class MetadataPreviews { - private val now = System.currentTimeMillis()+ /** 2026-01-17T12:00Z — fixed, never the wall clock. */+ private val now = 1_768_651_200_000L private val games = listOf( HubGameEntity("chess", "com.vayunmathur.games.chess", "Chess", "Classic chess with puzzles and a human-like AI", "1.0", registeredAt = now - 28 * DAY, lastSeenAt = now - HOUR, lastPlayedAt = now - HOUR, totalPlaytimeMs = 5 * HOUR + 23 * 60_000L, totalSessions = 42),@@ -259,6 +269,35 @@ class MetadataPreviews { } } + @PreviewTest+ @Preview(name = "8-play-on-tv", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview8PlayOnTv() {+ DynamicTheme(darkTheme = true) {+ ControllerPad(+ state = ControllerPadState(+ hosts = listOf(+ com.vayunmathur.sdk.controller.ControllerHostInfo(+ id = "tv-1",+ instanceName = "Living Room TV",+ friendlyName = "Living Room TV",+ host = "192.168.1.20",+ port = 5277,+ protocolVersion = 1,+ gameId = "kart",+ ),+ ),+ ),+ onConnect = {},+ onProveCode = {},+ onJoin = {},+ onInput = { _, _, _, _ -> },+ onLeave = {},+ onRescan = {},+ )+ }+ }+ @PreviewTest @Preview(name = "7-yuu-editor", device = PHONE, group = "phone", showSystemUi = true) @Composable
health/src/screenshotTest/kotlin/com/vayunmathur/health/ui/MetadataPreviews.kt
diff --git a/health/src/screenshotTest/kotlin/com/vayunmathur/health/ui/MetadataPreviews.kt b/health/src/screenshotTest/kotlin/com/vayunmathur/health/ui/MetadataPreviews.ktindex cec6249318..6eb48d798c 100644--- a/health/src/screenshotTest/kotlin/com/vayunmathur/health/ui/MetadataPreviews.kt+++ b/health/src/screenshotTest/kotlin/com/vayunmathur/health/ui/MetadataPreviews.kt@@ -69,6 +69,16 @@ private val TODAY = LocalDate(2026, 1, 17) * `cmd uimode night yes` the old on-device generator used. Material You sources its palette * from the device wallpaper, which does not exist here, so these render with the fallback * scheme rather than a user's actual accent colour.+ *+ * Coverage: `Today` and `NutritionDetails` tabs, `BarChartDetails` (steps + heart+ * rate), the dose-reminder full screen and the Health-Connect-required gate on+ * phone, plus the metric detail on large-tablet (the main tab's detail pane).+ * Exceptions (no stateless slice; HealthViewModel/MedicalViewModel over Health+ * Connect + Room + the bundled food database): `Body`, `Medical`,+ * `NutritionFullBreakdown`, `RecipeManagement`/`RecipeEditor`, `SleepDetails`,+ * `ExerciseDetails` and the medical editors (`EditVaccination`/`EditMedication`/+ * `EditAllergy`/`EditCondition`/`EditLabResult`/`CatalogPicker`) are not+ * preview-rendered. Date/time-picker dialog routes are dialogs, not full screens. */ class MetadataPreviews { @@ -240,6 +250,59 @@ class MetadataPreviews { } } + @PreviewTest+ @Preview(name = "8-today-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview8TodayExpanded() {+ ChromePreview(Route.Today) {+ TodayScreen(+ state = TodayUiState(+ steps = 8_432L,+ activeCalories = 412L,+ mindfulnessMinutes = 15L,+ distanceKm = 6.12,+ floors = 7.0,+ hydrationMl = 1850.0,+ heartRateMin = 52L,+ heartRateMax = 141L,+ metrics = MainPageMetrics(+ spo2 = 98.0,+ rhr = 58L,+ bloodPressure = 118.0 to 76.0,+ sleepMinutes = 447L,+ ),+ ),+ actions = TodayActions.Noop,+ )+ }+ }++ @PreviewTest+ @Preview(name = "6-dose-reminder", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview6DoseReminder() {+ DynamicTheme(darkTheme = true) {+ DoseReminderScreen(+ medicationName = "Metformin",+ amount = "500 mg",+ onTaken = {},+ onSnooze = {},+ )+ }+ }++ @PreviewTest+ @Preview(name = "7-health-connect-required", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview7HealthConnectRequired() {+ DynamicTheme(darkTheme = true) {+ HealthConnectRequiredPage(+ availability = com.vayunmathur.health.platform.HealthConnectAvailability.NOT_INSTALLED,+ onInstall = { false },+ )+ }+ }+ /** * The app's real tab chrome around preview screen content: the same four * [BottomBarItem]s and unconditional [MainNavigation] host the activity
metadata_data/photos/appstore-wear/wear/1.png
diff --git a/metadata_data/photos/appstore-wear/wear/1.png b/metadata_data/photos/appstore-wear/wear/1.pngnew file mode 100644index 0000000000..aef9774408Binary files /dev/null and b/metadata_data/photos/appstore-wear/wear/1.png differ
metadata_data/photos/calendar-wear/wear/1.png
diff --git a/metadata_data/photos/calendar-wear/wear/1.png b/metadata_data/photos/calendar-wear/wear/1.pngnew file mode 100644index 0000000000..912eacbfe2Binary files /dev/null and b/metadata_data/photos/calendar-wear/wear/1.png differ
metadata_data/photos/calendar-wear/wear/2.png
diff --git a/metadata_data/photos/calendar-wear/wear/2.png b/metadata_data/photos/calendar-wear/wear/2.pngnew file mode 100644index 0000000000..e07e9627d8Binary files /dev/null and b/metadata_data/photos/calendar-wear/wear/2.png differ
metadata_data/photos/calendar/large-tablet/1.png
diff --git a/metadata_data/photos/calendar/large-tablet/1.png b/metadata_data/photos/calendar/large-tablet/1.pngindex 1d2663e3c5..37d4d2410a 100644Binary files a/metadata_data/photos/calendar/large-tablet/1.png and b/metadata_data/photos/calendar/large-tablet/1.png differ
metadata_data/photos/calendar/large-tablet/2.png
diff --git a/metadata_data/photos/calendar/large-tablet/2.png b/metadata_data/photos/calendar/large-tablet/2.pngnew file mode 100644index 0000000000..453cd9777bBinary files /dev/null and b/metadata_data/photos/calendar/large-tablet/2.png differ
metadata_data/photos/calendar/phone/3.png
diff --git a/metadata_data/photos/calendar/phone/3.png b/metadata_data/photos/calendar/phone/3.pngindex 10852244d6..a53288cfb9 100644Binary files a/metadata_data/photos/calendar/phone/3.png and b/metadata_data/photos/calendar/phone/3.png differ
metadata_data/photos/camera-wear/wear/1.png
diff --git a/metadata_data/photos/camera-wear/wear/1.png b/metadata_data/photos/camera-wear/wear/1.pngnew file mode 100644index 0000000000..a56d18f3cfBinary files /dev/null and b/metadata_data/photos/camera-wear/wear/1.png differ
metadata_data/photos/camera-wear/wear/2.png
diff --git a/metadata_data/photos/camera-wear/wear/2.png b/metadata_data/photos/camera-wear/wear/2.pngnew file mode 100644index 0000000000..6f15acbfd1Binary files /dev/null and b/metadata_data/photos/camera-wear/wear/2.png differ
metadata_data/photos/camera-wear/wear/3.png
diff --git a/metadata_data/photos/camera-wear/wear/3.png b/metadata_data/photos/camera-wear/wear/3.pngnew file mode 100644index 0000000000..62d21fa4e2Binary files /dev/null and b/metadata_data/photos/camera-wear/wear/3.png differ
metadata_data/photos/cast-tv/tv/1.png
diff --git a/metadata_data/photos/cast-tv/tv/1.png b/metadata_data/photos/cast-tv/tv/1.pngnew file mode 100644index 0000000000..f5822acfadBinary files /dev/null and b/metadata_data/photos/cast-tv/tv/1.png differ
metadata_data/photos/cast-tv/tv/2.png
diff --git a/metadata_data/photos/cast-tv/tv/2.png b/metadata_data/photos/cast-tv/tv/2.pngnew file mode 100644index 0000000000..bdc2611be4Binary files /dev/null and b/metadata_data/photos/cast-tv/tv/2.png differ
metadata_data/photos/cast-tv/tv/3.png
diff --git a/metadata_data/photos/cast-tv/tv/3.png b/metadata_data/photos/cast-tv/tv/3.pngnew file mode 100644index 0000000000..bd244884d8Binary files /dev/null and b/metadata_data/photos/cast-tv/tv/3.png differ
metadata_data/photos/cast-tv/tv/4.png
diff --git a/metadata_data/photos/cast-tv/tv/4.png b/metadata_data/photos/cast-tv/tv/4.pngnew file mode 100644index 0000000000..997847d208Binary files /dev/null and b/metadata_data/photos/cast-tv/tv/4.png differ
metadata_data/photos/cast-tv/tv/5.png
diff --git a/metadata_data/photos/cast-tv/tv/5.png b/metadata_data/photos/cast-tv/tv/5.pngnew file mode 100644index 0000000000..66e909c25dBinary files /dev/null and b/metadata_data/photos/cast-tv/tv/5.png differ
metadata_data/photos/cast-tv/tv/6.png
diff --git a/metadata_data/photos/cast-tv/tv/6.png b/metadata_data/photos/cast-tv/tv/6.pngnew file mode 100644index 0000000000..d364576be2Binary files /dev/null and b/metadata_data/photos/cast-tv/tv/6.png differ
metadata_data/photos/cast-tv/tv/7.png
diff --git a/metadata_data/photos/cast-tv/tv/7.png b/metadata_data/photos/cast-tv/tv/7.pngnew file mode 100644index 0000000000..373b01ed6aBinary files /dev/null and b/metadata_data/photos/cast-tv/tv/7.png differ
metadata_data/photos/cast-tv/tv/8.png
diff --git a/metadata_data/photos/cast-tv/tv/8.png b/metadata_data/photos/cast-tv/tv/8.pngnew file mode 100644index 0000000000..d5ac35e905Binary files /dev/null and b/metadata_data/photos/cast-tv/tv/8.png differ
metadata_data/photos/communicate-wear/wear/1.png
diff --git a/metadata_data/photos/communicate-wear/wear/1.png b/metadata_data/photos/communicate-wear/wear/1.pngnew file mode 100644index 0000000000..e3e9ee4c17Binary files /dev/null and b/metadata_data/photos/communicate-wear/wear/1.png differ
metadata_data/photos/communicate-wear/wear/2.png
diff --git a/metadata_data/photos/communicate-wear/wear/2.png b/metadata_data/photos/communicate-wear/wear/2.pngnew file mode 100644index 0000000000..42cd8d4735Binary files /dev/null and b/metadata_data/photos/communicate-wear/wear/2.png differ
metadata_data/photos/communicate-wear/wear/3.png
diff --git a/metadata_data/photos/communicate-wear/wear/3.png b/metadata_data/photos/communicate-wear/wear/3.pngnew file mode 100644index 0000000000..f5aa6c1a1cBinary files /dev/null and b/metadata_data/photos/communicate-wear/wear/3.png differ
metadata_data/photos/communicate-wear/wear/4.png
diff --git a/metadata_data/photos/communicate-wear/wear/4.png b/metadata_data/photos/communicate-wear/wear/4.pngnew file mode 100644index 0000000000..95ecaac31aBinary files /dev/null and b/metadata_data/photos/communicate-wear/wear/4.png differ
metadata_data/photos/communicate-wear/wear/5.png
diff --git a/metadata_data/photos/communicate-wear/wear/5.png b/metadata_data/photos/communicate-wear/wear/5.pngnew file mode 100644index 0000000000..86b90e4056Binary files /dev/null and b/metadata_data/photos/communicate-wear/wear/5.png differ
metadata_data/photos/communicate-wear/wear/6.png
diff --git a/metadata_data/photos/communicate-wear/wear/6.png b/metadata_data/photos/communicate-wear/wear/6.pngnew file mode 100644index 0000000000..a98e6e3e05Binary files /dev/null and b/metadata_data/photos/communicate-wear/wear/6.png differ
metadata_data/photos/communicate-wear/wear/7.png
diff --git a/metadata_data/photos/communicate-wear/wear/7.png b/metadata_data/photos/communicate-wear/wear/7.pngnew file mode 100644index 0000000000..76b437f921Binary files /dev/null and b/metadata_data/photos/communicate-wear/wear/7.png differ
metadata_data/photos/communicate/large-tablet/1.png
diff --git a/metadata_data/photos/communicate/large-tablet/1.png b/metadata_data/photos/communicate/large-tablet/1.pngnew file mode 100644index 0000000000..92ea380a4eBinary files /dev/null and b/metadata_data/photos/communicate/large-tablet/1.png differ
metadata_data/photos/communicate/phone/1.png
diff --git a/metadata_data/photos/communicate/phone/1.png b/metadata_data/photos/communicate/phone/1.pngindex 7643fb72a6..bebda4c36e 100644Binary files a/metadata_data/photos/communicate/phone/1.png and b/metadata_data/photos/communicate/phone/1.png differ
metadata_data/photos/communicate/phone/2.png
diff --git a/metadata_data/photos/communicate/phone/2.png b/metadata_data/photos/communicate/phone/2.pngindex 59e9529302..338f4a55c1 100644Binary files a/metadata_data/photos/communicate/phone/2.png and b/metadata_data/photos/communicate/phone/2.png differ
metadata_data/photos/communicate/phone/3.png
diff --git a/metadata_data/photos/communicate/phone/3.png b/metadata_data/photos/communicate/phone/3.pngindex da876b488c..006c933258 100644Binary files a/metadata_data/photos/communicate/phone/3.png and b/metadata_data/photos/communicate/phone/3.png differ
metadata_data/photos/communicate/phone/5.png
diff --git a/metadata_data/photos/communicate/phone/5.png b/metadata_data/photos/communicate/phone/5.pngindex d2daf65007..7001fd43dc 100644Binary files a/metadata_data/photos/communicate/phone/5.png and b/metadata_data/photos/communicate/phone/5.png differ
metadata_data/photos/communicate/phone/6.png
diff --git a/metadata_data/photos/communicate/phone/6.png b/metadata_data/photos/communicate/phone/6.pngindex 80685cbacc..d2daf65007 100644Binary files a/metadata_data/photos/communicate/phone/6.png and b/metadata_data/photos/communicate/phone/6.png differ
metadata_data/photos/communicate/phone/7.png
diff --git a/metadata_data/photos/communicate/phone/7.png b/metadata_data/photos/communicate/phone/7.pngnew file mode 100644index 0000000000..80685cbaccBinary files /dev/null and b/metadata_data/photos/communicate/phone/7.png differ
metadata_data/photos/communicate/phone/8.png
diff --git a/metadata_data/photos/communicate/phone/8.png b/metadata_data/photos/communicate/phone/8.pngnew file mode 100644index 0000000000..4ac2139257Binary files /dev/null and b/metadata_data/photos/communicate/phone/8.png differ
metadata_data/photos/contacts-wear/wear/1.png
diff --git a/metadata_data/photos/contacts-wear/wear/1.png b/metadata_data/photos/contacts-wear/wear/1.pngnew file mode 100644index 0000000000..1e9b7685b0Binary files /dev/null and b/metadata_data/photos/contacts-wear/wear/1.png differ
metadata_data/photos/contacts-wear/wear/2.png
diff --git a/metadata_data/photos/contacts-wear/wear/2.png b/metadata_data/photos/contacts-wear/wear/2.pngnew file mode 100644index 0000000000..dc445025d7Binary files /dev/null and b/metadata_data/photos/contacts-wear/wear/2.png differ
metadata_data/photos/contacts/large-tablet/1.png
diff --git a/metadata_data/photos/contacts/large-tablet/1.png b/metadata_data/photos/contacts/large-tablet/1.pngnew file mode 100644index 0000000000..d09fd70358Binary files /dev/null and b/metadata_data/photos/contacts/large-tablet/1.png differ
metadata_data/photos/contacts/large-tablet/2.png
diff --git a/metadata_data/photos/contacts/large-tablet/2.png b/metadata_data/photos/contacts/large-tablet/2.pngnew file mode 100644index 0000000000..928f1af646Binary files /dev/null and b/metadata_data/photos/contacts/large-tablet/2.png differ
metadata_data/photos/contacts/phone/1.png
diff --git a/metadata_data/photos/contacts/phone/1.png b/metadata_data/photos/contacts/phone/1.pngindex 262da13ef3..d80f2e3b39 100644Binary files a/metadata_data/photos/contacts/phone/1.png and b/metadata_data/photos/contacts/phone/1.png differ
metadata_data/photos/contacts/phone/2.png
diff --git a/metadata_data/photos/contacts/phone/2.png b/metadata_data/photos/contacts/phone/2.pngindex 07563ba8f9..4d16633b57 100644Binary files a/metadata_data/photos/contacts/phone/2.png and b/metadata_data/photos/contacts/phone/2.png differ
metadata_data/photos/email/large-tablet/1.png
diff --git a/metadata_data/photos/email/large-tablet/1.png b/metadata_data/photos/email/large-tablet/1.pngindex d2e771d35c..8f0ba8e379 100644Binary files a/metadata_data/photos/email/large-tablet/1.png and b/metadata_data/photos/email/large-tablet/1.png differ
metadata_data/photos/email/large-tablet/2.png
diff --git a/metadata_data/photos/email/large-tablet/2.png b/metadata_data/photos/email/large-tablet/2.pngnew file mode 100644index 0000000000..b3f59eec28Binary files /dev/null and b/metadata_data/photos/email/large-tablet/2.png differ
metadata_data/photos/email/phone/1.png
diff --git a/metadata_data/photos/email/phone/1.png b/metadata_data/photos/email/phone/1.pngindex 32065c53de..595e9283f5 100644Binary files a/metadata_data/photos/email/phone/1.png and b/metadata_data/photos/email/phone/1.png differ
metadata_data/photos/email/phone/2.png
diff --git a/metadata_data/photos/email/phone/2.png b/metadata_data/photos/email/phone/2.pngindex 5c4c7d5c53..4693989a3d 100644Binary files a/metadata_data/photos/email/phone/2.png and b/metadata_data/photos/email/phone/2.png differ
metadata_data/photos/email/phone/3.png
diff --git a/metadata_data/photos/email/phone/3.png b/metadata_data/photos/email/phone/3.pngindex a7a636abf4..1b44a29b82 100644Binary files a/metadata_data/photos/email/phone/3.png and b/metadata_data/photos/email/phone/3.png differ
metadata_data/photos/email/phone/5.png
diff --git a/metadata_data/photos/email/phone/5.png b/metadata_data/photos/email/phone/5.pngindex fe374a98db..8b927af26e 100644Binary files a/metadata_data/photos/email/phone/5.png and b/metadata_data/photos/email/phone/5.png differ
metadata_data/photos/email/phone/6.png
diff --git a/metadata_data/photos/email/phone/6.png b/metadata_data/photos/email/phone/6.pngnew file mode 100644index 0000000000..a1416a4c17Binary files /dev/null and b/metadata_data/photos/email/phone/6.png differ
metadata_data/photos/files/large-tablet/1.png
diff --git a/metadata_data/photos/files/large-tablet/1.png b/metadata_data/photos/files/large-tablet/1.pngnew file mode 100644index 0000000000..7800d70510Binary files /dev/null and b/metadata_data/photos/files/large-tablet/1.png differ
metadata_data/photos/files/phone/6.png
diff --git a/metadata_data/photos/files/phone/6.png b/metadata_data/photos/files/phone/6.pngnew file mode 100644index 0000000000..784a4ee1e2Binary files /dev/null and b/metadata_data/photos/files/phone/6.png differ
metadata_data/photos/files/phone/7.png
diff --git a/metadata_data/photos/files/phone/7.png b/metadata_data/photos/files/phone/7.pngnew file mode 100644index 0000000000..72be9a3324Binary files /dev/null and b/metadata_data/photos/files/phone/7.png differ
metadata_data/photos/findfamily-wear/wear/1.png
diff --git a/metadata_data/photos/findfamily-wear/wear/1.png b/metadata_data/photos/findfamily-wear/wear/1.pngnew file mode 100644index 0000000000..0514069cebBinary files /dev/null and b/metadata_data/photos/findfamily-wear/wear/1.png differ
metadata_data/photos/findfamily-wear/wear/2.png
diff --git a/metadata_data/photos/findfamily-wear/wear/2.png b/metadata_data/photos/findfamily-wear/wear/2.pngnew file mode 100644index 0000000000..c6b3edffbdBinary files /dev/null and b/metadata_data/photos/findfamily-wear/wear/2.png differ
metadata_data/photos/findfamily-wear/wear/3.png
diff --git a/metadata_data/photos/findfamily-wear/wear/3.png b/metadata_data/photos/findfamily-wear/wear/3.pngnew file mode 100644index 0000000000..bbbe458a6bBinary files /dev/null and b/metadata_data/photos/findfamily-wear/wear/3.png differ
metadata_data/photos/games-hub/large-tablet/1.png
diff --git a/metadata_data/photos/games-hub/large-tablet/1.png b/metadata_data/photos/games-hub/large-tablet/1.pngindex 33fa11eccf..8ce0af878e 100644Binary files a/metadata_data/photos/games-hub/large-tablet/1.png and b/metadata_data/photos/games-hub/large-tablet/1.png differ
metadata_data/photos/games-hub/phone/1.png
diff --git a/metadata_data/photos/games-hub/phone/1.png b/metadata_data/photos/games-hub/phone/1.pngindex 2b7d4190d8..4605404780 100644Binary files a/metadata_data/photos/games-hub/phone/1.png and b/metadata_data/photos/games-hub/phone/1.png differ
metadata_data/photos/games-hub/phone/7.png
diff --git a/metadata_data/photos/games-hub/phone/7.png b/metadata_data/photos/games-hub/phone/7.pngnew file mode 100644index 0000000000..859d7f8785Binary files /dev/null and b/metadata_data/photos/games-hub/phone/7.png differ
metadata_data/photos/games-voxels/phone/1.png
diff --git a/metadata_data/photos/games-voxels/phone/1.png b/metadata_data/photos/games-voxels/phone/1.pngnew file mode 100644index 0000000000..2cf9a643bbBinary files /dev/null and b/metadata_data/photos/games-voxels/phone/1.png differ
metadata_data/photos/games-voxels/phone/2.png
diff --git a/metadata_data/photos/games-voxels/phone/2.png b/metadata_data/photos/games-voxels/phone/2.pngnew file mode 100644index 0000000000..52b4debd98Binary files /dev/null and b/metadata_data/photos/games-voxels/phone/2.png differ
metadata_data/photos/games-voxels/phone/3.png
diff --git a/metadata_data/photos/games-voxels/phone/3.png b/metadata_data/photos/games-voxels/phone/3.pngnew file mode 100644index 0000000000..2e8fa90f57Binary files /dev/null and b/metadata_data/photos/games-voxels/phone/3.png differ
metadata_data/photos/games-voxels/phone/4.png
diff --git a/metadata_data/photos/games-voxels/phone/4.png b/metadata_data/photos/games-voxels/phone/4.pngnew file mode 100644index 0000000000..7fc6c92363Binary files /dev/null and b/metadata_data/photos/games-voxels/phone/4.png differ
metadata_data/photos/games-voxels/phone/5.png
diff --git a/metadata_data/photos/games-voxels/phone/5.png b/metadata_data/photos/games-voxels/phone/5.pngnew file mode 100644index 0000000000..2850b788bcBinary files /dev/null and b/metadata_data/photos/games-voxels/phone/5.png differ
metadata_data/photos/games-voxels/phone/6.png
diff --git a/metadata_data/photos/games-voxels/phone/6.png b/metadata_data/photos/games-voxels/phone/6.pngnew file mode 100644index 0000000000..419cac3d21Binary files /dev/null and b/metadata_data/photos/games-voxels/phone/6.png differ
metadata_data/photos/games-voxels/phone/7.png
diff --git a/metadata_data/photos/games-voxels/phone/7.png b/metadata_data/photos/games-voxels/phone/7.pngnew file mode 100644index 0000000000..294184154eBinary files /dev/null and b/metadata_data/photos/games-voxels/phone/7.png differ
metadata_data/photos/games-voxels/phone/8.png
diff --git a/metadata_data/photos/games-voxels/phone/8.png b/metadata_data/photos/games-voxels/phone/8.pngnew file mode 100644index 0000000000..db0ffa205eBinary files /dev/null and b/metadata_data/photos/games-voxels/phone/8.png differ
metadata_data/photos/health/large-tablet/2.png
diff --git a/metadata_data/photos/health/large-tablet/2.png b/metadata_data/photos/health/large-tablet/2.pngnew file mode 100644index 0000000000..a4f409863bBinary files /dev/null and b/metadata_data/photos/health/large-tablet/2.png differ
metadata_data/photos/health/phone/1.png
diff --git a/metadata_data/photos/health/phone/1.png b/metadata_data/photos/health/phone/1.pngindex 6d1def4b91..64d81e4cbc 100644Binary files a/metadata_data/photos/health/phone/1.png and b/metadata_data/photos/health/phone/1.png differ
metadata_data/photos/health/phone/5.png
diff --git a/metadata_data/photos/health/phone/5.png b/metadata_data/photos/health/phone/5.pngnew file mode 100644index 0000000000..b13938bb67Binary files /dev/null and b/metadata_data/photos/health/phone/5.png differ
metadata_data/photos/health/phone/6.png
diff --git a/metadata_data/photos/health/phone/6.png b/metadata_data/photos/health/phone/6.pngnew file mode 100644index 0000000000..31de462760Binary files /dev/null and b/metadata_data/photos/health/phone/6.png differ
metadata_data/photos/launcher-wear/wear/1.png
diff --git a/metadata_data/photos/launcher-wear/wear/1.png b/metadata_data/photos/launcher-wear/wear/1.pngnew file mode 100644index 0000000000..61e55288c4Binary files /dev/null and b/metadata_data/photos/launcher-wear/wear/1.png differ
metadata_data/photos/launcher-wear/wear/2.png
diff --git a/metadata_data/photos/launcher-wear/wear/2.png b/metadata_data/photos/launcher-wear/wear/2.pngnew file mode 100644index 0000000000..cbf14fa051Binary files /dev/null and b/metadata_data/photos/launcher-wear/wear/2.png differ
metadata_data/photos/launcher-wear/wear/3.png
diff --git a/metadata_data/photos/launcher-wear/wear/3.png b/metadata_data/photos/launcher-wear/wear/3.pngnew file mode 100644index 0000000000..7a3d53e7dfBinary files /dev/null and b/metadata_data/photos/launcher-wear/wear/3.png differ
metadata_data/photos/maps-wear/wear/1.png
diff --git a/metadata_data/photos/maps-wear/wear/1.png b/metadata_data/photos/maps-wear/wear/1.pngnew file mode 100644index 0000000000..231d6a5885Binary files /dev/null and b/metadata_data/photos/maps-wear/wear/1.png differ
metadata_data/photos/maps-wear/wear/2.png
diff --git a/metadata_data/photos/maps-wear/wear/2.png b/metadata_data/photos/maps-wear/wear/2.pngnew file mode 100644index 0000000000..264a872643Binary files /dev/null and b/metadata_data/photos/maps-wear/wear/2.png differ
metadata_data/photos/maps-wear/wear/3.png
diff --git a/metadata_data/photos/maps-wear/wear/3.png b/metadata_data/photos/maps-wear/wear/3.pngnew file mode 100644index 0000000000..06e1f8996eBinary files /dev/null and b/metadata_data/photos/maps-wear/wear/3.png differ
metadata_data/photos/music-wear/wear/10.png
diff --git a/metadata_data/photos/music-wear/wear/10.png b/metadata_data/photos/music-wear/wear/10.pngnew file mode 100644index 0000000000..9183a56f7fBinary files /dev/null and b/metadata_data/photos/music-wear/wear/10.png differ
metadata_data/photos/music-wear/wear/3.png
diff --git a/metadata_data/photos/music-wear/wear/3.png b/metadata_data/photos/music-wear/wear/3.pngnew file mode 100644index 0000000000..2940f420b0Binary files /dev/null and b/metadata_data/photos/music-wear/wear/3.png differ
metadata_data/photos/music-wear/wear/4.png
diff --git a/metadata_data/photos/music-wear/wear/4.png b/metadata_data/photos/music-wear/wear/4.pngnew file mode 100644index 0000000000..b269923a5dBinary files /dev/null and b/metadata_data/photos/music-wear/wear/4.png differ
metadata_data/photos/music-wear/wear/5.png
diff --git a/metadata_data/photos/music-wear/wear/5.png b/metadata_data/photos/music-wear/wear/5.pngnew file mode 100644index 0000000000..3cfd6e2f82Binary files /dev/null and b/metadata_data/photos/music-wear/wear/5.png differ
metadata_data/photos/music-wear/wear/6.png
diff --git a/metadata_data/photos/music-wear/wear/6.png b/metadata_data/photos/music-wear/wear/6.pngnew file mode 100644index 0000000000..0ae0897a02Binary files /dev/null and b/metadata_data/photos/music-wear/wear/6.png differ
metadata_data/photos/music-wear/wear/7.png
diff --git a/metadata_data/photos/music-wear/wear/7.png b/metadata_data/photos/music-wear/wear/7.pngnew file mode 100644index 0000000000..6ae93da594Binary files /dev/null and b/metadata_data/photos/music-wear/wear/7.png differ
metadata_data/photos/music-wear/wear/8.png
diff --git a/metadata_data/photos/music-wear/wear/8.png b/metadata_data/photos/music-wear/wear/8.pngnew file mode 100644index 0000000000..35aa3fe59aBinary files /dev/null and b/metadata_data/photos/music-wear/wear/8.png differ
metadata_data/photos/music-wear/wear/9.png
diff --git a/metadata_data/photos/music-wear/wear/9.png b/metadata_data/photos/music-wear/wear/9.pngnew file mode 100644index 0000000000..851984d73cBinary files /dev/null and b/metadata_data/photos/music-wear/wear/9.png differ
metadata_data/photos/notes-wear/wear/1.png
diff --git a/metadata_data/photos/notes-wear/wear/1.png b/metadata_data/photos/notes-wear/wear/1.pngnew file mode 100644index 0000000000..24ea80e358Binary files /dev/null and b/metadata_data/photos/notes-wear/wear/1.png differ
metadata_data/photos/notes-wear/wear/2.png
diff --git a/metadata_data/photos/notes-wear/wear/2.png b/metadata_data/photos/notes-wear/wear/2.pngnew file mode 100644index 0000000000..e71c207508Binary files /dev/null and b/metadata_data/photos/notes-wear/wear/2.png differ
metadata_data/photos/notes-wear/wear/3.png
diff --git a/metadata_data/photos/notes-wear/wear/3.png b/metadata_data/photos/notes-wear/wear/3.pngnew file mode 100644index 0000000000..a2b9d4e8afBinary files /dev/null and b/metadata_data/photos/notes-wear/wear/3.png differ
metadata_data/photos/office/large-tablet/2.png
diff --git a/metadata_data/photos/office/large-tablet/2.png b/metadata_data/photos/office/large-tablet/2.pngnew file mode 100644index 0000000000..88b5281384Binary files /dev/null and b/metadata_data/photos/office/large-tablet/2.png differ
metadata_data/photos/office/phone/6.png
diff --git a/metadata_data/photos/office/phone/6.png b/metadata_data/photos/office/phone/6.pngnew file mode 100644index 0000000000..e4df70024bBinary files /dev/null and b/metadata_data/photos/office/phone/6.png differ
metadata_data/photos/photos/large-tablet/2.png
diff --git a/metadata_data/photos/photos/large-tablet/2.png b/metadata_data/photos/photos/large-tablet/2.pngnew file mode 100644index 0000000000..22648f7dd4Binary files /dev/null and b/metadata_data/photos/photos/large-tablet/2.png differ
metadata_data/photos/photos/phone/3.png
diff --git a/metadata_data/photos/photos/phone/3.png b/metadata_data/photos/photos/phone/3.pngindex 32bc64e6d9..987d2eaa76 100644Binary files a/metadata_data/photos/photos/phone/3.png and b/metadata_data/photos/photos/phone/3.png differ
metadata_data/photos/photos/phone/4.png
diff --git a/metadata_data/photos/photos/phone/4.png b/metadata_data/photos/photos/phone/4.pngindex 85d3da0884..fc2a6c1bc5 100644Binary files a/metadata_data/photos/photos/phone/4.png and b/metadata_data/photos/photos/phone/4.png differ
metadata_data/photos/photos/phone/5.png
diff --git a/metadata_data/photos/photos/phone/5.png b/metadata_data/photos/photos/phone/5.pngnew file mode 100644index 0000000000..7bf5ef0765Binary files /dev/null and b/metadata_data/photos/photos/phone/5.png differ
metadata_data/photos/photos/phone/6.png
diff --git a/metadata_data/photos/photos/phone/6.png b/metadata_data/photos/photos/phone/6.pngnew file mode 100644index 0000000000..bc5798cb66Binary files /dev/null and b/metadata_data/photos/photos/phone/6.png differ
metadata_data/photos/setupwizard/phone/1.png
diff --git a/metadata_data/photos/setupwizard/phone/1.png b/metadata_data/photos/setupwizard/phone/1.pngnew file mode 100644index 0000000000..1042d996bcBinary files /dev/null and b/metadata_data/photos/setupwizard/phone/1.png differ
metadata_data/photos/setupwizard/phone/2.png
diff --git a/metadata_data/photos/setupwizard/phone/2.png b/metadata_data/photos/setupwizard/phone/2.pngnew file mode 100644index 0000000000..a9ab86bd43Binary files /dev/null and b/metadata_data/photos/setupwizard/phone/2.png differ
metadata_data/photos/setupwizard/phone/3.png
diff --git a/metadata_data/photos/setupwizard/phone/3.png b/metadata_data/photos/setupwizard/phone/3.pngnew file mode 100644index 0000000000..5df0449c2eBinary files /dev/null and b/metadata_data/photos/setupwizard/phone/3.png differ
metadata_data/photos/setupwizard/phone/4.png
diff --git a/metadata_data/photos/setupwizard/phone/4.png b/metadata_data/photos/setupwizard/phone/4.pngnew file mode 100644index 0000000000..44808befecBinary files /dev/null and b/metadata_data/photos/setupwizard/phone/4.png differ
metadata_data/photos/setupwizard/phone/5.png
diff --git a/metadata_data/photos/setupwizard/phone/5.png b/metadata_data/photos/setupwizard/phone/5.pngnew file mode 100644index 0000000000..947e9193fcBinary files /dev/null and b/metadata_data/photos/setupwizard/phone/5.png differ
metadata_data/photos/setupwizard/phone/6.png
diff --git a/metadata_data/photos/setupwizard/phone/6.png b/metadata_data/photos/setupwizard/phone/6.pngnew file mode 100644index 0000000000..bc340d2f89Binary files /dev/null and b/metadata_data/photos/setupwizard/phone/6.png differ
metadata_data/photos/todo-wear/wear/1.png
diff --git a/metadata_data/photos/todo-wear/wear/1.png b/metadata_data/photos/todo-wear/wear/1.pngnew file mode 100644index 0000000000..73c1a89fe0Binary files /dev/null and b/metadata_data/photos/todo-wear/wear/1.png differ
metadata_data/photos/todo-wear/wear/2.png
diff --git a/metadata_data/photos/todo-wear/wear/2.png b/metadata_data/photos/todo-wear/wear/2.pngnew file mode 100644index 0000000000..f74c224f5aBinary files /dev/null and b/metadata_data/photos/todo-wear/wear/2.png differ
metadata_data/photos/todo-wear/wear/3.png
diff --git a/metadata_data/photos/todo-wear/wear/3.png b/metadata_data/photos/todo-wear/wear/3.pngnew file mode 100644index 0000000000..253cad17bdBinary files /dev/null and b/metadata_data/photos/todo-wear/wear/3.png differ
metadata_data/photos/todo-wear/wear/4.png
diff --git a/metadata_data/photos/todo-wear/wear/4.png b/metadata_data/photos/todo-wear/wear/4.pngnew file mode 100644index 0000000000..7f04b91c6fBinary files /dev/null and b/metadata_data/photos/todo-wear/wear/4.png differ
metadata_data/photos/todo-wear/wear/5.png
diff --git a/metadata_data/photos/todo-wear/wear/5.png b/metadata_data/photos/todo-wear/wear/5.pngnew file mode 100644index 0000000000..2892220e21Binary files /dev/null and b/metadata_data/photos/todo-wear/wear/5.png differ
metadata_data/photos/todo-wear/wear/6.png
diff --git a/metadata_data/photos/todo-wear/wear/6.png b/metadata_data/photos/todo-wear/wear/6.pngnew file mode 100644index 0000000000..57968e4191Binary files /dev/null and b/metadata_data/photos/todo-wear/wear/6.png differ
metadata_data/photos/todo/large-tablet/1.png
diff --git a/metadata_data/photos/todo/large-tablet/1.png b/metadata_data/photos/todo/large-tablet/1.pngnew file mode 100644index 0000000000..e1e2532f9dBinary files /dev/null and b/metadata_data/photos/todo/large-tablet/1.png differ
metadata_data/photos/todo/phone/6.png
diff --git a/metadata_data/photos/todo/phone/6.png b/metadata_data/photos/todo/phone/6.pngnew file mode 100644index 0000000000..2e62eada5eBinary files /dev/null and b/metadata_data/photos/todo/phone/6.png differ
office/src/androidTest/java/com/vayunmathur/office/ui/CoreJourneyTest.kt
diff --git a/office/src/androidTest/java/com/vayunmathur/office/ui/CoreJourneyTest.kt b/office/src/androidTest/java/com/vayunmathur/office/ui/CoreJourneyTest.ktnew file mode 100644index 0000000000..eb90ed08d9--- /dev/null+++ b/office/src/androidTest/java/com/vayunmathur/office/ui/CoreJourneyTest.kt@@ -0,0 +1,104 @@+package com.vayunmathur.office.ui++import android.app.UiAutomation+import android.content.ComponentName+import android.content.Intent+import android.content.pm.PackageManager+import androidx.test.ext.junit.runners.AndroidJUnit4+import androidx.test.platform.app.InstrumentationRegistry+import androidx.test.uiautomator.By+import androidx.test.uiautomator.UiDevice+import androidx.test.uiautomator.UiObject2+import androidx.test.uiautomator.Until+import java.io.IOException+import org.junit.Assert.assertEquals+import org.junit.Assert.assertNotNull+import org.junit.Assert.assertTrue+import org.junit.Test+import org.junit.runner.RunWith++/**+ * Core-journey e2e: drives the app's primary user flow with real+ * navigation/interaction assertions, beyond the launch-only FullE2eTest.+ * UiDevice polling, not compose-test (see FullE2eTest for why).+ * Core flow: offline home -> New Doc -> document editor surface replaces the home.+ */+@RunWith(AndroidJUnit4::class)+class CoreJourneyTest {++ @Test+ fun newDocOpensEditor_coreJourney() {+ val instrumentation = InstrumentationRegistry.getInstrumentation()+ val device = UiDevice.getInstance(instrumentation)+ val targetContext = instrumentation.targetContext+ val packageName = targetContext.packageName+ grantAll(instrumentation.uiAutomation, targetContext.packageManager, packageName)+ launch(packageName, device, targetContext)+ waitText(device, "Open Document")+ clickText(device, "New Doc")+ // Editor replaces home: the home CTA must go away and the app must stay in front.+ val gone = device.wait(Until.gone(By.text("Open Document")), TIMEOUT_MS)+ assertTrue("editor never replaced home", gone)+ assertEquals(packageName, device.currentPackageName)+ }+++ fun launch(launcherPkg: String, device: UiDevice, ctx: android.content.Context) {+ val intent = ctx.packageManager.getLaunchIntentForPackage(launcherPkg)+ assertNotNull("no launcher intent for $launcherPkg", intent)+ intent!!.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK)+ ctx.startActivity(intent)+ assertGateAbsent(device)+ }+ fun launchComponent(pkg: String, cls: String, device: UiDevice, ctx: android.content.Context, action: String? = null) {+ val intent = Intent()+ if (action != null) intent.action = action+ intent.setComponent(ComponentName(pkg, cls))+ .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK)+ ctx.startActivity(intent)+ assertGateAbsent(device)+ }+ fun assertGateAbsent(device: UiDevice) {+ org.junit.Assert.assertNull("permission gate showing", device.wait(Until.findObject(By.text(GATE)), GATE_MS))+ }+ fun waitText(device: UiDevice, text: String): UiObject2 {+ val o = device.wait(Until.findObject(By.text(text)), TIMEOUT_MS)+ assertNotNull("never appeared: $text", o); return o!!+ }+ fun waitAny(device: UiDevice, vararg texts: String): String {+ val deadline = System.currentTimeMillis() + TIMEOUT_MS+ while (System.currentTimeMillis() < deadline) {+ for (t in texts) { device.findObject(By.text(t))?.let { return t } }+ Thread.sleep(250)+ }+ throw AssertionError("none appeared: ${texts.joinToString()}")+ }+ fun clickText(device: UiDevice, text: String) {+ val o = waitText(device, text)+ // Text itself may not be the clickable node; click its centre hits the parent.+ val b = o.visibleBounds; device.click(b.centerX(), b.centerY())+ Thread.sleep(600)+ }+ fun clickTextIfPresent(device: UiDevice, text: String): Boolean {+ val o = device.wait(Until.findObject(By.text(text)), 3000) ?: return false+ val b = o.visibleBounds; device.click(b.centerX(), b.centerY()); Thread.sleep(600); return true+ }+ fun fillField(device: UiDevice, index: Int, value: String) {+ val fields = device.wait(Until.findObjects(By.clazz("android.widget.EditText")), TIMEOUT_MS)+ assertNotNull("no edit fields", fields); assertTrue("missing field $index", fields!!.size > index)+ fields[index].click(); fields[index].setText(value)+ }+ fun grantAll(ua: UiAutomation, pm: PackageManager, pkg: String) {+ val info = pm.getPackageInfo(pkg, PackageManager.GET_PERMISSIONS)+ for (p in info.requestedPermissions.orEmpty()) try { ua.executeShellCommand("pm grant $pkg $p").close() } catch (e: Exception) {}+ for (c in SPECIAL) try { ua.executeShellCommand(c.format(pkg)).close() } catch (e: Exception) {}+ }+++ private companion object {+ const val TIMEOUT_MS = 20_000L+ const val GATE_MS = 5_000L+ const val GATE = "Grant Required Permissions"+ val SPECIAL = arrayOf("appops set %s SCHEDULE_EXACT_ALARM allow", "appops set %s USE_FULL_SCREEN_INTENT allow")+ }+}
office/src/screenshotTest/kotlin/com/vayunmathur/office/ui/MetadataPreviews.kt
diff --git a/office/src/screenshotTest/kotlin/com/vayunmathur/office/ui/MetadataPreviews.kt b/office/src/screenshotTest/kotlin/com/vayunmathur/office/ui/MetadataPreviews.ktindex 4a49b8e2e7..0ebb7b4452 100644--- a/office/src/screenshotTest/kotlin/com/vayunmathur/office/ui/MetadataPreviews.kt+++ b/office/src/screenshotTest/kotlin/com/vayunmathur/office/ui/MetadataPreviews.kt@@ -198,6 +198,15 @@ private val SamplePresentation = OdfDocument.Presentation( * Each preview needs @PreviewTest as well as @Preview: @Preview alone renders in Studio but * is not collected as a screenshot test. Previews must also be class members, not top-level * functions. Order comes from the function names (Preview1…, Preview2…).+ *+ * Coverage: `OfflineHome`, the three offline editor bodies (text/sheet/slides,+ * the renderable form of `OfflineEditor`), the outline drawer, and+ * `OnlineHome` in its disabled state on phone, plus the wide editor layout on+ * large-tablet (main/editor wide variant).+ * Exceptions: the enabled `OnlineHome` list and `OnlineEditor` need the E2EE+ * relay session + OfficeViewModel, and the full editor chrome needs the native+ * `office_engine` (above) — Layoutlib cannot load that native library, so only+ * the document bodies are shown, exactly as the header above describes. */ class MetadataPreviews { @@ -246,6 +255,22 @@ class MetadataPreviews { ChromePreview() } + @PreviewTest+ @Preview(name = "8-home-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview8HomeExpanded() {+ ChromePreview()+ }++ @PreviewTest+ @Preview(name = "7-online-disabled", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview7OnlineDisabled() {+ DynamicTheme(darkTheme = true) {+ OnlineDisabledScreen(onEnable = {})+ }+ }+ @PreviewTest @Preview(name = "5-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true) @Composable
photos/src/screenshotTest/kotlin/com/vayunmathur/photos/ui/MetadataPreviews.kt
diff --git a/photos/src/screenshotTest/kotlin/com/vayunmathur/photos/ui/MetadataPreviews.kt b/photos/src/screenshotTest/kotlin/com/vayunmathur/photos/ui/MetadataPreviews.ktindex d400bdd759..1233fa79c1 100644--- a/photos/src/screenshotTest/kotlin/com/vayunmathur/photos/ui/MetadataPreviews.kt+++ b/photos/src/screenshotTest/kotlin/com/vayunmathur/photos/ui/MetadataPreviews.kt@@ -60,6 +60,16 @@ private const val EXPANDED = "spec:width=1280dp,height=800dp,dpi=420" * generator also seeded synthetic gradient JPEGs rather than shipping real photographs. * The map screen is gone from the listing entirely; it is a MapLibre GL surface and there * is nothing for Layoutlib to draw.+ *+ * Coverage: `Gallery`, `People`, `Albums`, `AlbumDetail` and `Favorites` on phone,+ * plus the wide viewer layout on large-tablet.+ * Exceptions: `Map` is a MapLibre GL surface (above). `PhotoPage` (viewer),+ * `Trash`, `SecureFolder`/`VaultViewer`, `Wallpaper` and the photo/video editors+ * have no placeholder seam at the page level — they need a decoded MediaStore+ * bitmap/pager, MediaStore trash intents, a decrypted vault file behind+ * biometrics, WallpaperManager/WindowManager, or a native-ML editor canvas /+ * video surface, none of which Layoutlib can supply. The wide layout above is+ * the renderable wide form of the viewer. */ class MetadataPreviews { @@ -112,6 +122,46 @@ class MetadataPreviews { } } + @PreviewTest+ @Preview(name = "8-gallery-expanded", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview8GalleryExpanded() {+ GalleryPreview(GalleryUiState(photos = samplePhotos()))+ }++ @PreviewTest+ @Preview(name = "6-album-detail", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview6AlbumDetail() {+ val photos = samplePhotos()+ DynamicTheme(darkTheme = true) {+ CompositionLocalProvider(LocalColumnCount provides remember { mutableFloatStateOf(3f) }) {+ AlbumDetailScreen(+ backStack = NavBackStack(arrayOf<Route>(Route.AlbumDetail("Trip"))),+ albumName = "Trip",+ album = Album("Trip", photos[4], photos.slice(4..9)),+ thumbnail = { photo, modifier -> PlaceholderTile(photo, modifier) },+ )+ }+ }+ }++ @PreviewTest+ @Preview(name = "7-favorites", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview7Favorites() {+ DynamicTheme(darkTheme = true) {+ CompositionLocalProvider(LocalColumnCount provides remember { mutableFloatStateOf(3f) }) {+ FavoritesScreen(+ backStack = NavBackStack(arrayOf<Route>(Route.Favorites)),+ state = GalleryUiState(photos = samplePhotos().take(9)),+ actions = GalleryActions.Noop,+ thumbnail = { photo, modifier -> PlaceholderTile(photo, modifier) },+ )+ }+ }+ }+ @PreviewTest @Preview(name = "5-albums", device = PHONE, group = "phone", showSystemUi = true) @Composable
todo/src/screenshotTest/kotlin/com/vayunmathur/todo/ui/MetadataPreviews.kt
diff --git a/todo/src/screenshotTest/kotlin/com/vayunmathur/todo/ui/MetadataPreviews.kt b/todo/src/screenshotTest/kotlin/com/vayunmathur/todo/ui/MetadataPreviews.ktindex e72b5c33d8..a5a9fd365e 100644--- a/todo/src/screenshotTest/kotlin/com/vayunmathur/todo/ui/MetadataPreviews.kt+++ b/todo/src/screenshotTest/kotlin/com/vayunmathur/todo/ui/MetadataPreviews.kt@@ -29,6 +29,7 @@ import kotlinx.datetime.TimeZone /** Phone-shaped, roughly 1080x2340 at xxhdpi - comfortably above the F-Droid minimum. */ private const val PHONE = "spec:width=411dp,height=891dp,dpi=420" private const val TABLET = "spec:width=1280dp,height=800dp,dpi=240"+private const val EXPANDED = "spec:width=1280dp,height=800dp,dpi=240" /** * 2026-10-14 09:00 in the rendering machine's zone: the labels are computed in the system zone,@@ -50,6 +51,9 @@ private fun at(offset: Int, h: Int, m: Int = 0) = DueDates.at(TODAY.plus(offset, * * Everything here is a literal - no ViewModel, no database, no device - which is also what * makes the images reproducible from a clean checkout.+ *+ * Coverage: every `Route` destination is shown — `TodoList` (Today/All/search),+ * `TodoDetail` (editor) and `Settings` on phone, plus the main list on large-tablet. */ class MetadataPreviews { private val work = TodoList(id = 1, syncId = "work", name = "Work", color = 0xFF1E88E5.toInt(), icon = "work")@@ -147,6 +151,18 @@ class MetadataPreviews { } } + @PreviewTest+ @Preview(name = "6-settings", device = PHONE, group = "phone", showSystemUi = true)+ @Composable+ fun Preview7Settings() {+ DynamicTheme(darkTheme = true) {+ SettingsScreen(+ state = SettingsUiState(lists = lists),+ actions = object : SettingsActions {},+ )+ }+ }+ @PreviewTest @Preview(name = "1-tablet", device = TABLET, group = "tablet", showSystemUi = true) @Composable@@ -161,4 +177,13 @@ class MetadataPreviews { } } }++ @PreviewTest+ @Preview(name = "7-large-tablet", device = EXPANDED, group = "large-tablet", showSystemUi = true)+ @Composable+ fun Preview8LargeTablet() {+ DynamicTheme(darkTheme = true) {+ TodoListScreen(state = listState(), actions = TodoListActions.Noop)+ }+ } }