Home
last modified time | relevance | path

Searched refs:isLandscape (Results 1 – 5 of 5) sorted by relevance

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DDeviceEmulationRule.kt127 return if (spec.isLandscape == isPortraitNaturalPosition) { in <lambda>()
173 val isLandscape: Boolean = false, constant in platform.test.screenshot.DeviceEmulationSpec
188 isLandscape: Boolean? = null, in forDisplays()
192 fun addDisplay(isLandscape: Boolean) { in forDisplays()
194 add(DeviceEmulationSpec(display, isDarkTheme = false, isLandscape)) in forDisplays()
198 add(DeviceEmulationSpec(display, isDarkTheme = true, isLandscape)) in forDisplays()
202 if (isLandscape != true) { in forDisplays()
203 addDisplay(isLandscape = false) in forDisplays()
206 if (isLandscape != false) { in forDisplays()
207 addDisplay(isLandscape = true) in forDisplays()
[all …]
DDefaultDeviceEmulationSpec.kt29 DeviceEmulationSpec.forDisplays(Displays.Tablet, isDarkTheme = true, isLandscape = false)
41 isLandscape = true
DGoldenPathManager.kt180 if (emulationSpec.isLandscape) "landscape" else "portrait" in getEmulatedDevicePathConfig()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DGoldenPathManagerTest.kt97 isLandscape = false, in emulatedDevicePathConfigTest()
107 isLandscape = true, in emulatedDevicePathConfigTest()
DDeviceEmulationRuleTest.kt51 isLandscape = true, in <lambda>()