Home
last modified time | relevance | path

Searched refs:orientation (Results 1 – 19 of 19) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowManagerPolicy.kt38 val orientation: Int = 0, constant in android.tools.traces.wm.WindowManagerPolicy
45 get() = orientation == SCREEN_ORIENTATION_NOSENSOR
51 orientation == SCREEN_ORIENTATION_LOCKED
55 orientation == SCREEN_ORIENTATION_LANDSCAPE ||
56 orientation == SCREEN_ORIENTATION_SENSOR_LANDSCAPE ||
57 orientation == SCREEN_ORIENTATION_REVERSE_LANDSCAPE ||
58 orientation == SCREEN_ORIENTATION_USER_LANDSCAPE
62 orientation == SCREEN_ORIENTATION_PORTRAIT ||
63 orientation == SCREEN_ORIENTATION_SENSOR_PORTRAIT ||
64 orientation == SCREEN_ORIENTATION_REVERSE_PORTRAIT ||
[all …]
DConfiguration.kt31 val orientation: Int = 0, constant in android.tools.traces.wm.Configuration
42 orientation == 0 &&
55 if (orientation != other.orientation) return false in equals()
68 result = 31 * result + orientation in hashCode()
84 orientation: Int, in from()
94 orientation, in from()
DWindowContainerImpl.kt32 override val orientation: Int, constant in android.tools.traces.wm.WindowContainerImpl
92 if (orientation != other.orientation) return false in equals()
104 result = 31 * result + orientation in hashCode()
DDisplayArea.kt60 if (orientation != other.orientation) return false in <lambda>()
DActivity.kt70 if (orientation != other.orientation) return false in <lambda>()
DWindowContainer.kt28 val orientation: Int constant
DTask.kt140 if (orientation != other.orientation) return false in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/filmstrip/
DFilmstripTest.kt55 .apply { orientation = FilmstripOrientation.HORIZONTAL } in horizontalSingleFrame()
63 .apply { orientation = FilmstripOrientation.VERTICAL } in verticalSingleFrame()
80 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.HORIZONTAL } in horizontalFilmstrip()
102 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.HORIZONTAL } in horizontalFilmstrip_labelsWiderThanScreenshot()
116 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.HORIZONTAL } in horizontalFilmstrip_variableSize_tileMatchesLargestDimensions()
133 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.VERTICAL } in verticalFilmstrip()
149 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.VERTICAL } in verticalFilmstrip_labelsTallerThanScreenshot()
163 Filmstrip(screenshots).apply { orientation = FilmstripOrientation.VERTICAL } in verticalFilmstrip_variableSize_tileMatchesLargestDimensions()
181 .apply { orientation = FilmstripOrientation.AUTOMATIC } in automaticOrientation_tallScreenshots_filmstripIsHorizontal()
202 .apply { orientation = FilmstripOrientation.AUTOMATIC } in automaticOrientation_wideScreenshots_filmstripIsVertical()
[all …]
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DBaseOrientationRule.kt54 val UiDevice.orientation: Orientation constant
79 /* supplier */ { orientation }, in <lambda>()
113 orientation: Orientation, in setOrientationOverride()
117 if (orientation == NATURAL) device.naturalOrientation else orientation in setOrientationOverride()
DPortraitLandscapeRule.kt35 private fun Statement.runInOrientation(orientation: Orientation) { in Statement()
36 RotationUtils.setOrientationOverride(orientation) in Statement()
46 throw Exception("Test failed while in $orientation", e) in Statement()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DMockWindowStateBuilder.kt55 root = newEmptyRootContainer(orientation = 1, layerId = 1), in build()
DUtils.kt234 fun newEmptyRootContainer(orientation: Int = 0, layerId: Int = 0) =
239 orientation = orientation,
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DCommonUtils.java375 int orientation = getContext().getResources().getConfiguration().orientation; in isSplitShade() local
376 return isLargeScreen() && (orientation == Configuration.ORIENTATION_LANDSCAPE); in isSplitShade()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerStateBuilder.kt123 orientation = proto.orientation, in <lambda>()
467 orientation = proto.orientation, in <lambda>()
499 orientation = proto.orientation, in <lambda>()
/platform_testing/libraries/motion/src/platform/test/motion/filmstrip/
DFilmstrip.kt37 var orientation: FilmstripOrientation = FilmstripOrientation.AUTOMATIC variable in platform.test.motion.filmstrip.Filmstrip
71 when (orientation) {
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DGoldenPathManager.kt213 fun getScreenOrientation(context: Context) = context.resources.configuration.orientation.toString() in getAPIVersion()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java277 public ConfigGenerator setOrientation(ScreenOrientation orientation) { in setOrientation() argument
278 mOrientation = orientation; in setOrientation()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DAbstractStandardAppHelper2.java432 return mInstrumentation.getContext().getResources().getConfiguration().orientation; in getOrientation()
DAbstractStandardAppHelper.java473 return mInstrumentation.getContext().getResources().getConfiguration().orientation; in getOrientation()