Home
last modified time | relevance | path

Searched refs:DeviceEmulationSpec (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/tests/InputScreenshotTest/src/android/input/screenshot/
DDefaultDeviceEmulationSpec.kt19 import platform.test.screenshot.DeviceEmulationSpec
28 val DeviceEmulationSpec.Companion.PhoneAndTabletFull constant
32 DeviceEmulationSpec.forDisplays(Displays.Phone, Displays.Tablet)
43 val DeviceEmulationSpec.Companion.PhoneAndTabletMinimal constant
47 DeviceEmulationSpec.forDisplays(Displays.Phone, isDarkTheme = false) +
48 DeviceEmulationSpec.forDisplays(Displays.Tablet, isDarkTheme = true, isLandscape = false)
53 val DeviceEmulationSpec.Companion.PhoneMinimal constant
57 DeviceEmulationSpec.forDisplays(Displays.Phone, isDarkTheme = false, isLandscape = false)
DKeyboardLayoutPreviewIsoScreenshotTest.kt31 import platform.test.screenshot.DeviceEmulationSpec in <lambda>()
35 class KeyboardLayoutPreviewIsoScreenshotTest(emulationSpec: DeviceEmulationSpec) { in <lambda>()
39 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in <lambda>()
DKeyboardLayoutPreviewJisScreenshotTest.kt30 import platform.test.screenshot.DeviceEmulationSpec in <lambda>()
34 class KeyboardLayoutPreviewJisScreenshotTest(emulationSpec: DeviceEmulationSpec) { in <lambda>()
38 fun getTestSpecs() = DeviceEmulationSpec.PhoneMinimal in <lambda>()
DKeyboardLayoutPreviewAnsiScreenshotTest.kt30 import platform.test.screenshot.DeviceEmulationSpec in <lambda>()
34 class KeyboardLayoutPreviewAnsiScreenshotTest(emulationSpec: DeviceEmulationSpec) { in <lambda>()
38 fun getTestSpecs() = DeviceEmulationSpec.PhoneMinimal in <lambda>()
DInputScreenshotTestRule.kt33 import platform.test.screenshot.DeviceEmulationSpec
40 emulationSpec: DeviceEmulationSpec,
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/widget/ui/
DFooterScreenshotTest.kt26 import platform.test.screenshot.DeviceEmulationSpec
31 class FooterScreenshotTest(emulationSpec: DeviceEmulationSpec) {
35 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
DSpinnerScreenshotTest.kt27 import platform.test.screenshot.DeviceEmulationSpec
32 class SpinnerScreenshotTest(emulationSpec: DeviceEmulationSpec) {
36 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/motion/
DComposeMotionTestRuleHelper.kt25 import platform.test.screenshot.DeviceEmulationSpec
33 deviceEmulationSpec: DeviceEmulationSpec = DeviceEmulationSpec(Displays.Phone), in createSysUiComposeMotionTestRule()
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/widget/preference/
DMainSwitchPreferenceScreenshotTest.kt28 import platform.test.screenshot.DeviceEmulationSpec
33 class MainSwitchPreferenceScreenshotTest(emulationSpec: DeviceEmulationSpec) {
37 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
DTwoTargetSwitchPreferenceScreenshotTest.kt29 import platform.test.screenshot.DeviceEmulationSpec
34 class TwoTargetSwitchPreferenceScreenshotTest(emulationSpec: DeviceEmulationSpec) {
38 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
DSliderPreferenceScreenshotTest.kt30 import platform.test.screenshot.DeviceEmulationSpec
35 class SliderPreferenceScreenshotTest(emulationSpec: DeviceEmulationSpec) {
39 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
DProgressBarPreferenceScreenshotTest.kt34 import platform.test.screenshot.DeviceEmulationSpec
39 class ProgressBarPreferenceScreenshotTest(emulationSpec: DeviceEmulationSpec) {
43 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
DSwitchPreferenceScreenshotTest.kt32 import platform.test.screenshot.DeviceEmulationSpec
37 class SwitchPreferenceScreenshotTest(emulationSpec: DeviceEmulationSpec) {
41 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
DPreferenceScreenshotTest.kt33 import platform.test.screenshot.DeviceEmulationSpec
38 class PreferenceScreenshotTest(emulationSpec: DeviceEmulationSpec) {
42 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/widget/illustration/
DImageIllustrationScreenshotTest.kt29 import platform.test.screenshot.DeviceEmulationSpec
34 class ImageIllustrationScreenshotTest(emulationSpec: DeviceEmulationSpec) {
38 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/widget/chart/
DPieChartScreenshotTest.kt28 import platform.test.screenshot.DeviceEmulationSpec
33 class PieChartScreenshotTest(emulationSpec: DeviceEmulationSpec) {
37 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
DLineChartScreenshotTest.kt30 import platform.test.screenshot.DeviceEmulationSpec in <lambda>()
35 class LineChartScreenshotTest(emulationSpec: DeviceEmulationSpec) { in <lambda>()
39 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in <lambda>()
DBarChartScreenshotTest.kt30 import platform.test.screenshot.DeviceEmulationSpec in <lambda>()
35 class BarChartScreenshotTest(emulationSpec: DeviceEmulationSpec) { in <lambda>()
39 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/widget/button/
DActionButtonsScreenshotTest.kt31 import platform.test.screenshot.DeviceEmulationSpec
36 class ActionButtonsScreenshotTest(emulationSpec: DeviceEmulationSpec) {
40 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletMinimal in getTestSpecs()
/frameworks/base/packages/SettingsLib/Spa/screenshot/src/com/android/settingslib/spa/screenshot/util/
DSettingsScreenshotTestRule.kt33 import platform.test.screenshot.DeviceEmulationSpec
40 emulationSpec: DeviceEmulationSpec,
96 emulationSpec: DeviceEmulationSpec, in settingsScreenshotTestRule()
/frameworks/base/packages/CredentialManager/tests/robotests/screenshot/src/com/android/credentialmanager/
DGetCredScreenshotTest.kt36 import platform.test.screenshot.DeviceEmulationSpec
45 class GetCredScreenshotTest(emulationSpec: DeviceEmulationSpec) {
49 fun getTestSpecs() = DeviceEmulationSpec.PhoneAndTabletFull in getTestSpecs()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/ui/composable/
DBouncerContentTest.kt54 import platform.test.screenshot.DeviceEmulationSpec
61 private val deviceSpec = DeviceEmulationSpec(FoldableInner)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DTransitionAnimatorTest.kt42 import platform.test.screenshot.DeviceEmulationSpec in <lambda>()
55 DeviceEmulationSpec( in <lambda>()