Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 16 of 16) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/helpers/
DRotationUtils.kt30 fun rotateInsets(insets: Insets?, rotation: Rotation): Insets { in rotateInsets()
35 when (rotation) { in rotateInsets()
68 rotation: Rotation in rotateBounds()
72 return when (rotation) { in rotateBounds()
103 fun rotateBounds(inBounds: Rect, parentBounds: Rect, rotation: Rotation): Rect = in rotateBounds()
104 rotateBounds(inBounds, parentBounds.right, parentBounds.bottom, rotation) in rotateBounds()
DWindowUtils.kt184 fun getNavigationBarFrameHeight(rotation: Rotation, isGesturalNavigation: Boolean): Int { in getNavigationBarFrameHeight()
185 return if (rotation.isRotated()) { in getNavigationBarFrameHeight()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowManagerPolicy.kt39 val rotation: Rotation = Rotation.ROTATION_0, constant in android.tools.traces.wm.WindowManagerPolicy
80 if (rotation != other.rotation) return false in equals()
98 result = 31 * result + rotation.hashCode() in hashCode()
113 "rotation=$rotation, rotationMode=$rotationMode, " + in toString()
144 rotation: Rotation = Rotation.ROTATION_0, in from()
159 rotation, in from()
DWindowManagerTrace.kt49 return firstWmState.policy?.rotation in getInitialRotation()
59 return lastWmState.policy?.rotation in getFinalRotation()
DDisplayContent.kt48 val rotation: Rotation, in <lambda>() constant in android.tools.traces.wm.DisplayContent
133 if (rotation != other.rotation) return false in <lambda>()
161 result = 31 * result + rotation.value in <lambda>()
DWindowManagerState.kt209 getDisplay(displayId)?.rotation ?: error("Default display not found") in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/
DScenarioBuilder.kt30 fun withStartRotation(rotation: Rotation) = apply { startRotation = rotation } in <lambda>()
32 fun withEndRotation(rotation: Rotation) = apply { endRotation = rotation } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/rules/
DChangeDisplayOrientationRule.kt63 initialOrientation = Rotation.getByValue(wm.defaultDisplay.rotation) in starting()
79 rotation: Rotation, in setRotation()
91 when (rotation) { in setRotation()
99 wmHelper.StateSyncBuilder().withRotation(rotation).waitForAndVerify() in setRotation()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/
DLegacyFlickerTestFactory.kt43 supportedRotations.map { rotation -> in <lambda>() method
44 createFlickerTest(navBarMode, rotation, rotation, extraArgs) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowManagerTraceSubject.kt460 override fun hasRotation(rotation: Rotation, displayId: Int): WindowManagerTraceSubject = in <lambda>()
461 hasRotation(rotation, displayId, isOptional = false) in <lambda>()
465 rotation: Rotation, in <lambda>()
469 addAssertion("hasRotation($rotation, display=$displayId)", isOptional) { in <lambda>()
470 it.hasRotation(rotation, displayId) in <lambda>()
DIWindowManagerSubject.kt113 rotation: Rotation,
DWindowManagerStateSubject.kt326 override fun hasRotation(rotation: Rotation, displayId: Int): WindowManagerStateSubject = in <lambda>()
328 check { "rotation" }.that(wmState.getRotation(displayId)).isEqual(rotation) in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/wm/
DWindowManagerStateBuilder.kt124 rotation = Rotation.getByValue(proto.rotation), in <lambda>()
202 rotation = in <lambda>()
203 Rotation.getByValue(proto.displayRotation?.rotation ?: Surface.ROTATION_0), in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/
DWindowManagerStateHelper.kt254 fun withRotation(rotation: Rotation, displayId: Int = Display.DEFAULT_DISPLAY) = in getWindowRegion()
255 withAppTransitionIdle(displayId).add(ConditionsFactory.hasRotation(rotation, displayId)) in getWindowRegion()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java616 String rotation = Settings.System.getString(mResolver, in toggleQuickSettingOrientationAndVerify() local
618 Assert.assertEquals("1", rotation); in toggleQuickSettingOrientationAndVerify()
/platform_testing/libraries/flicker/
DREADME.md10 * Empty areas on the screen (e.g., not all areas of the screen covered during rotation)