This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package dev.jamescullimore.app.ui.preview | |
| import androidx.compose.ui.tooling.preview.Preview | |
| // The unsupported locale intentionally falls back to showing string keys. | |
| @Preview(name = "Keys", locale = "eo", fontScale = 1f, group = "Keys") | |
| @Preview(name = "English - 85%", locale = "en", fontScale = 0.85f, group = "English") | |
| @Preview(name = "English - 100%", locale = "en", fontScale = 1.0f, group = "English") | |
| @Preview(name = "English - 150%", locale = "en", fontScale = 1.5f, group = "English") | |
| @Preview(name = "English - 200%", locale = "en", fontScale = 2.0f, group = "English") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package dev.jamescullimore.app.ui.settings | |
| import androidx.compose.foundation.ScrollState | |
| import androidx.compose.foundation.layout.fillMaxSize | |
| import androidx.compose.foundation.rememberScrollState | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.ui.Modifier | |
| import androidx.compose.ui.tooling.preview.Preview | |
| import androidx.compose.material3.Surface | |
| import dev.jamescullimore.app.ui.preview.CombinedPreviews |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package dev.jamescullimore.app.testing | |
| import android.content.res.Configuration.UI_MODE_NIGHT_MASK | |
| import android.content.res.Configuration.UI_MODE_NIGHT_YES | |
| import androidx.compose.foundation.background | |
| import androidx.compose.foundation.layout.Box | |
| import androidx.compose.foundation.layout.size | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.ui.Modifier | |
| import androidx.compose.ui.graphics.Color |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from __future__ import annotations | |
| import argparse | |
| import datetime as dt | |
| import html | |
| import json | |
| import re | |
| from collections import defaultdict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package dev.jamescullimore.app.ui.settings | |
| import androidx.compose.foundation.ScrollState | |
| import androidx.compose.foundation.layout.fillMaxSize | |
| import androidx.compose.foundation.rememberScrollState | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.ui.Modifier | |
| import androidx.compose.ui.tooling.preview.Preview | |
| import androidx.compose.material3.Surface | |
| import dev.jamescullimore.app.ui.preview.CombinedPreviews |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from __future__ import annotations | |
| import argparse | |
| import datetime as dt | |
| import html | |
| import json | |
| import re | |
| from collections import defaultdict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package dev.jamescullimore.app.testing | |
| import android.content.res.Configuration.UI_MODE_NIGHT_MASK | |
| import android.content.res.Configuration.UI_MODE_NIGHT_YES | |
| import androidx.compose.foundation.background | |
| import androidx.compose.foundation.layout.Box | |
| import androidx.compose.foundation.layout.size | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.ui.Modifier | |
| import androidx.compose.ui.graphics.Color |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package dev.jamescullimore.app.ui.preview | |
| import androidx.compose.ui.tooling.preview.Preview | |
| // The unsupported locale intentionally falls back to showing string keys. | |
| @Preview(name = "Keys", locale = "eo", fontScale = 1f, group = "Keys") | |
| @Preview(name = "English - 85%", locale = "en", fontScale = 0.85f, group = "English") | |
| @Preview(name = "English - 100%", locale = "en", fontScale = 1.0f, group = "English") | |
| @Preview(name = "English - 150%", locale = "en", fontScale = 1.5f, group = "English") | |
| @Preview(name = "English - 200%", locale = "en", fontScale = 2.0f, group = "English") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package dejavu.internal | |
| import android.app.Activity | |
| import android.app.Application | |
| import android.os.Bundle | |
| import androidx.compose.runtime.tooling.CompositionData | |
| import java.lang.ref.WeakReference | |
| import java.lang.reflect.Field | |
| import java.util.Collections | |
| import java.util.IdentityHashMap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package dejavu | |
| import androidx.activity.ComponentActivity | |
| import androidx.compose.ui.test.junit4.ComposeContentTestRule | |
| import androidx.compose.ui.test.junit4.ComposeTestRule | |
| import androidx.compose.ui.test.junit4.AndroidComposeTestRule | |
| import androidx.compose.ui.test.junit4.createAndroidComposeRule | |
| import androidx.test.ext.junit.rules.ActivityScenarioRule | |
| import org.junit.runner.Description | |
| import org.junit.runners.model.Statement |
NewerOlder