/platform_testing/libraries/flicker/utils/src/android/tools/helpers/ |
D | RotationUtils.kt | 30 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()
|
D | WindowUtils.kt | 184 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/ |
D | WindowManagerPolicy.kt | 39 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()
|
D | WindowManagerTrace.kt | 49 return firstWmState.policy?.rotation in getInitialRotation() 59 return lastWmState.policy?.rotation in getFinalRotation()
|
D | DisplayContent.kt | 48 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>()
|
D | WindowManagerState.kt | 209 getDisplay(displayId)?.rotation ?: error("Default display not found") in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/ |
D | ScenarioBuilder.kt | 30 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/ |
D | ChangeDisplayOrientationRule.kt | 63 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/ |
D | LegacyFlickerTestFactory.kt | 43 supportedRotations.map { rotation -> in <lambda>() method 44 createFlickerTest(navBarMode, rotation, rotation, extraArgs) in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/ |
D | WindowManagerTraceSubject.kt | 460 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>()
|
D | IWindowManagerSubject.kt | 113 rotation: Rotation,
|
D | WindowManagerStateSubject.kt | 326 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/ |
D | WindowManagerStateBuilder.kt | 124 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/ |
D | WindowManagerStateHelper.kt | 254 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/ |
D | SettingsHelper.java | 616 String rotation = Settings.System.getString(mResolver, in toggleQuickSettingOrientationAndVerify() local 618 Assert.assertEquals("1", rotation); in toggleQuickSettingOrientationAndVerify()
|
/platform_testing/libraries/flicker/ |
D | README.md | 10 * Empty areas on the screen (e.g., not all areas of the screen covered during rotation)
|