/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | InsetUtilsTest.java | 19 import static android.hardware.camera2.params.OutputConfiguration.ROTATION_90; 55 final Rect rot90 = rotateCopy(original, ROTATION_90); in rotate() 60 assertEquals("rot90(rot90)=rot180", rotateCopy(rot90, ROTATION_90), rot180); in rotate() 64 assertEquals("rot90(rot180)=rot270", rotateCopy(rot180, ROTATION_90), rot270); in rotate()
|
D | DisplayRotationUtilTest.java | 26 import static android.view.Surface.ROTATION_90; 65 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_LEFT, ROTATION_90), in testGetBoundIndexFromRotation_rot90() 67 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_TOP, ROTATION_90), in testGetBoundIndexFromRotation_rot90() 69 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_RIGHT, ROTATION_90), in testGetBoundIndexFromRotation_rot90() 71 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_BOTTOM, ROTATION_90), in testGetBoundIndexFromRotation_rot90() 112 assertThat(util.getRotatedBounds(bounds, ROTATION_90, 200, 300), in testGetRotatedBounds_top_rot90() 144 assertThat(util.getRotatedBounds(bounds, ROTATION_90, 300, 200), in testGetRotatedBounds_left_rot90()
|
D | CoordinateTransformsTest.java | 22 import static android.view.Surface.ROTATION_90; 72 transformPhysicalToLogicalCoordinates(ROTATION_90, W, H, mMatrix); in transformPhysicalToLogicalCoordinates_rot90() 102 transformLogicalToPhysicalCoordinates(ROTATION_90, W, H, mMatrix); in transformLogicalToPhysicalCoordinates_rot90() 134 transformLogicalToPhysicalCoordinates(ROTATION_90, W, H, mMatrix); in transformLogicalToPhysicalCoordinatesIsInverse_rot90() 135 transformPhysicalToLogicalCoordinates(ROTATION_90, W, H, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot90() 177 di.rotation = ROTATION_90; in transformBetweenRotations_displayInfo()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 244 ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_90)); in testReturnsUserRotation_UserRotationLocked_NoAppRequest() 257 ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE, Surface.ROTATION_90)); in testReturnsLandscape_UserRotationLockedSeascape_AppRequestsLandscape() 270 ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE, Surface.ROTATION_90)); in testReturnsSeascape_UserRotationLockedSeascape_AppRequestsSeascape() 293 freezeRotation(Surface.ROTATION_90); in testReturnsUpsideDown_UserRotationLockedUpsideDown_AppRequestsUpsideDown() 295 assertEquals(Surface.ROTATION_90, mTarget.rotationForOrientation( in testReturnsUpsideDown_UserRotationLockedUpsideDown_AppRequestsUpsideDown() 308 ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, Surface.ROTATION_90); in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() 311 rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270); in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() 474 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testReturnsSensorRotation_RotationThawed() 476 assertEquals(Surface.ROTATION_90, mTarget.rotationForOrientation( in testReturnsSensorRotation_RotationThawed() 495 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testUpdatesRotationWhenSensorUpdates_RotationThawed() [all …]
|
D | DisplayPolicyInsetsTests.java | 22 import static android.view.Surface.ROTATION_90; 65 final DisplayInfo di = displayInfoForRotation(ROTATION_90, false /* withCutout */); in landscape() 74 final DisplayInfo di = displayInfoForRotation(ROTATION_90, true /* withCutout */); in landscape_withCutout()
|
D | DisplayPolicyTestsBase.java | 27 import static android.view.Surface.ROTATION_90; 119 final boolean flippedDimensions = rotation == ROTATION_90 || rotation == ROTATION_270; in displayInfoAndCutoutForRotation() 151 case ROTATION_90: in displayCutoutForRotation()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 22 import static android.view.Surface.ROTATION_90; 50 case ROTATION_90: in transformPhysicalToLogicalCoordinates() 80 case ROTATION_90: in transformLogicalToPhysicalCoordinates() 108 final boolean flipped = info.rotation == ROTATION_90 || info.rotation == ROTATION_270; in transformToRotation() 130 final boolean flipped = newRotation == ROTATION_90 || newRotation == ROTATION_270; in transformToRotation()
|
D | DisplayRotationUtil.java | 23 import static android.view.Surface.ROTATION_90; 43 case ROTATION_90: in getRotationToBoundsOffset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 32 if (rot == Surface.ROTATION_90) { in getRotation() 45 if (rot == Surface.ROTATION_90) { in getExactRotation()
|
/frameworks/native/libs/ui/include/ui/ |
D | Rotation.h | 27 constexpr auto ROTATION_90 = Rotation::Rotation90; variable 48 case ROTATION_90: in toCString()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rotation.h | 27 constexpr auto ROTATION_90 = Rotation::Rotation90; variable 48 case ROTATION_90: in toCString()
|
/frameworks/base/core/java/android/util/ |
D | RotationUtils.java | 22 import static android.view.Surface.ROTATION_90; 46 case ROTATION_90: in rotateInsets()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/ |
D | SidecarHelper.java | 23 import static android.view.Surface.ROTATION_90; 45 boolean isSideRotation = rotation == ROTATION_90 || rotation == ROTATION_270; in rotateRectToDisplayRotation() 63 case ROTATION_90: in rotateBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | RotationButtonController.java | 374 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_90) return false; in isRotationAnimationCCW() 377 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_0) return true; in isRotationAnimationCCW() 378 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_180) return false; in isRotationAnimationCCW() 379 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_270) return true; //180d so CCW in isRotationAnimationCCW() 381 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_90) return true; in isRotationAnimationCCW() 384 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_90) return true; //180d so CCW in isRotationAnimationCCW()
|
D | QuickswitchOrientedNavHandle.java | 64 case Surface.ROTATION_90: in computeHomeHandleBounds()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationTest.java | 29 import static android.view.Surface.ROTATION_90; 125 config.windowConfiguration.setRotation(ROTATION_90); in testMaskedSet() 133 assertEquals(ROTATION_90, config.windowConfiguration.getRotation()); in testMaskedSet() 141 assertEquals(ROTATION_90, config.windowConfiguration.getRotation()); in testMaskedSet()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | PerimeterPathGuide.java | 22 import static android.view.Surface.ROTATION_90; 111 case ROTATION_90: in setRotation() 211 case ROTATION_90: in computeRegions() 225 if (mRotation == ROTATION_90 || mRotation == Surface.ROTATION_270) { in computeRegions() 302 case ROTATION_90: in getRotatedCorner()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SeamlessRotator.java | 20 import static android.view.Surface.ROTATION_90; 64 final boolean flipped = info.rotation == ROTATION_90 || info.rotation == ROTATION_270; in SeamlessRotator()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wm/ |
D | DisplayLayoutTest.java | 22 import static android.view.Surface.ROTATION_90; 93 dl.rotateTo(res, ROTATION_90); in testRotate()
|
/frameworks/native/opengl/tests/lib/ |
D | WindowSurface.cpp | 63 if (displayState.orientation == ui::ROTATION_90 || in WindowSurface()
|
/frameworks/base/core/proto/android/view/ |
D | surface.proto | 24 ROTATION_90 = 1; enumerator
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | NonRotationTestBase.java | 46 {Surface.ROTATION_0, Surface.ROTATION_90}; in getParams()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 100 case Surface.ROTATION_90: in publishRotation()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | LogicalDisplayTest.java | 76 displayInfo.rotation = Surface.ROTATION_90; in testGetDisplayPosition()
|
/frameworks/base/core/java/android/view/ |
D | Surface.java | 163 ROTATION_90, 178 public static final int ROTATION_90 = 1; field in Surface 941 case Surface.ROTATION_90: { in rotationToString()
|