/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | CoordinateTransformsTest.java | 21 import static android.view.Surface.ROTATION_270; 88 transformPhysicalToLogicalCoordinates(ROTATION_270, W, H, mMatrix); in transformPhysicalToLogicalCoordinates_rot270() 118 transformLogicalToPhysicalCoordinates(ROTATION_270, W, H, mMatrix); in transformLogicalToPhysicalCoordinates_rot270() 150 transformLogicalToPhysicalCoordinates(ROTATION_270, W, H, mMatrix); in transformLogicalToPhysicalCoordinatesIsInverse_rot270() 151 transformPhysicalToLogicalCoordinates(ROTATION_270, W, H, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot270() 159 transformToRotation(ROTATION_180, ROTATION_270, H, W, mMatrix); in transformBetweenRotations_rot180_rot270() 167 transformToRotation(ROTATION_180, ROTATION_270, W, H, mMatrix); in transformBetweenRotations_rot90_rot0() 180 transformToRotation(ROTATION_180, ROTATION_270, di, mMatrix); in transformBetweenRotations_displayInfo() 183 transformToRotation(ROTATION_180, ROTATION_270, H, W, mMatrix2); in transformBetweenRotations_displayInfo()
|
D | DisplayRotationUtilTest.java | 25 import static android.view.Surface.ROTATION_270; 89 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_LEFT, ROTATION_270), in testGetBoundIndexFromRotation_rot270() 91 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_TOP, ROTATION_270), in testGetBoundIndexFromRotation_rot270() 93 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_RIGHT, ROTATION_270), in testGetBoundIndexFromRotation_rot270() 95 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_BOTTOM, ROTATION_270), in testGetBoundIndexFromRotation_rot270() 128 assertThat(util.getRotatedBounds(bounds, ROTATION_270, 200, 300), in testGetRotatedBounds_top_rot270() 160 assertThat(util.getRotatedBounds(bounds, ROTATION_270, 300, 200), in testGetRotatedBounds_left_rot270()
|
D | InsetUtilsTest.java | 22 import static android.view.Surface.ROTATION_270; 62 final Rect rot270 = rotateCopy(original, ROTATION_270); in rotate()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 21 import static android.view.Surface.ROTATION_270; 58 case ROTATION_270: in transformPhysicalToLogicalCoordinates() 88 case ROTATION_270: 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 | 22 import static android.view.Surface.ROTATION_270; 47 case ROTATION_270: in getRotationToBoundsOffset()
|
D | InsetUtils.java | 51 case Surface.ROTATION_270: in rotateInsets()
|
/frameworks/native/libs/ui/include/ui/ |
D | Rotation.h | 29 constexpr auto ROTATION_270 = Rotation::Rotation270; variable 40 constexpr auto N = toRotationInt(ROTATION_270) + 1; 52 case ROTATION_270: in toCString()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rotation.h | 29 constexpr auto ROTATION_270 = Rotation::Rotation270; variable 40 constexpr auto N = toRotationInt(ROTATION_270) + 1; 52 case ROTATION_270: in toCString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 34 } else if (rot == Surface.ROTATION_270) { in getRotation() 47 } else if (rot == Surface.ROTATION_270) { in getExactRotation()
|
/frameworks/base/core/java/android/util/ |
D | RotationUtils.java | 21 import static android.view.Surface.ROTATION_270; 60 case ROTATION_270: in rotateInsets()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/ |
D | SidecarHelper.java | 22 import static android.view.Surface.ROTATION_270; 45 boolean isSideRotation = rotation == ROTATION_90 || rotation == ROTATION_270; in rotateRectToDisplayRotation() 73 case ROTATION_270: in rotateBounds()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 280 freezeRotation(Surface.ROTATION_270); in testReturnsPortrait_UserRotationLockedPortrait_AppRequestsPortrait() 282 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsPortrait_UserRotationLockedPortrait_AppRequestsPortrait() 311 rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270); in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() 506 freezeRotation(Surface.ROTATION_270); in testNotifiesChoiceWhenSensorUpdates_RotationLocked() 531 rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270); in testReturnsCompatibleRotation_SensorEnabled_RotationThawed() 539 freezeRotation(Surface.ROTATION_270); in testReturnsUserRotation_SensorEnabled_RotationLocked() 545 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsUserRotation_SensorEnabled_RotationLocked() 578 freezeRotation(Surface.ROTATION_270); in testReturnsLidOpenRotation_LidOpen() 586 mBuilder.setCarDockRotation(Surface.ROTATION_270).build(); in testReturnsCarDockRotation_CarDockedMode() 593 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsCarDockRotation_CarDockedMode() [all …]
|
D | DisplayPolicyInsetsTests.java | 21 import static android.view.Surface.ROTATION_270; 83 final DisplayInfo di = displayInfoForRotation(ROTATION_270, false /* withCutout */); in seascape() 92 final DisplayInfo di = displayInfoForRotation(ROTATION_270, true /* withCutout */); in seascape_withCutout()
|
D | DisplayPolicyTestsBase.java | 26 import static android.view.Surface.ROTATION_270; 119 final boolean flippedDimensions = rotation == ROTATION_90 || rotation == ROTATION_270; in displayInfoAndCutoutForRotation() 157 case ROTATION_270: in displayCutoutForRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | RotationButtonController.java | 376 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_270) return true; in isRotationAnimationCCW() 379 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_270) return true; //180d so CCW in isRotationAnimationCCW() 382 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_270) return false; in isRotationAnimationCCW() 383 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_0) return false; in isRotationAnimationCCW() 384 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_90) return true; //180d so CCW in isRotationAnimationCCW() 385 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_180) return true; in isRotationAnimationCCW()
|
D | QuickswitchOrientedNavHandle.java | 70 case Surface.ROTATION_270: in computeHomeHandleBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | PerimeterPathGuide.java | 21 import static android.view.Surface.ROTATION_270; 113 case ROTATION_270: in setRotation() 217 case Surface.ROTATION_270: in computeRegions() 225 if (mRotation == ROTATION_90 || mRotation == Surface.ROTATION_270) { in computeRegions() 308 case Surface.ROTATION_270: in getRotatedCorner()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SeamlessRotator.java | 19 import static android.view.Surface.ROTATION_270; 64 final boolean flipped = info.rotation == ROTATION_90 || info.rotation == ROTATION_270; in SeamlessRotator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 143 if (mDisplayRotation == Surface.ROTATION_270) { in onTouchEvent() 188 if (mDisplayRotation == Surface.ROTATION_270) {
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | OutputConfiguration.java | 125 public static final int ROTATION_270 = 3; field in OutputConfiguration 255 checkArgumentInRange(rotation, ROTATION_0, ROTATION_270, "Rotation constant"); in OutputConfiguration() 547 checkArgumentInRange(rotation, ROTATION_0, ROTATION_270, "Rotation constant"); in OutputConfiguration()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wm/ |
D | DisplayLayoutTest.java | 21 import static android.view.Surface.ROTATION_270; 100 dl.rotateTo(res, ROTATION_270); in testRotate()
|
/frameworks/native/opengl/tests/lib/ |
D | WindowSurface.cpp | 64 displayState.orientation == ui::ROTATION_270) { in WindowSurface()
|
/frameworks/base/core/proto/android/view/ |
D | surface.proto | 26 ROTATION_270 = 3; enumerator
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 106 case Surface.ROTATION_270: in publishRotation()
|
/frameworks/base/core/java/android/view/ |
D | Surface.java | 165 ROTATION_270 188 public static final int ROTATION_270 = 3; field in Surface 947 case Surface.ROTATION_270: { in rotationToString()
|