/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | CoordinateTransformsTest.java | 20 import static android.view.Surface.ROTATION_180; 80 transformPhysicalToLogicalCoordinates(ROTATION_180, W, H, mMatrix); in transformPhysicalToLogicalCoordinates_rot180() 110 transformLogicalToPhysicalCoordinates(ROTATION_180, W, H, mMatrix); in transformLogicalToPhysicalCoordinates_rot180() 142 transformLogicalToPhysicalCoordinates(ROTATION_180, W, H, mMatrix); in transformLogicalToPhysicalCoordinatesIsInverse_rot180() 143 transformPhysicalToLogicalCoordinates(ROTATION_180, W, H, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot180() 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 | 24 import static android.view.Surface.ROTATION_180; 77 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_LEFT, ROTATION_180), in testGetBoundIndexFromRotation_rot180() 79 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_TOP, ROTATION_180), in testGetBoundIndexFromRotation_rot180() 81 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_RIGHT, ROTATION_180), in testGetBoundIndexFromRotation_rot180() 83 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_BOTTOM, ROTATION_180), in testGetBoundIndexFromRotation_rot180() 120 assertThat(util.getRotatedBounds(bounds, ROTATION_180, 200, 300), in testGetRotatedBounds_top_rot180() 152 assertThat(util.getRotatedBounds(bounds, ROTATION_180, 300, 200), in testGetRotatedBounds_left_rot180()
|
D | InsetUtilsTest.java | 21 import static android.view.Surface.ROTATION_180; 58 final Rect rot180 = rotateCopy(original, ROTATION_180); in rotate()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 162 freezeRotation(Surface.ROTATION_180); in testLocksUserRotation_LockRotation_DefaultDisplay() 165 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testLocksUserRotation_LockRotation_DefaultDisplay() 169 assertEquals(Surface.ROTATION_180, Settings.System.getInt(mMockResolver, in testLocksUserRotation_LockRotation_DefaultDisplay() 177 freezeRotation(Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 180 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 183 WindowManagerPolicy.USER_ROTATION_LOCKED, Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 241 freezeRotation(Surface.ROTATION_180); in testReturnsUserRotation_UserRotationLocked_NoAppRequest() 243 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsUserRotation_UserRotationLocked_NoAppRequest() 254 freezeRotation(Surface.ROTATION_180); in testReturnsLandscape_UserRotationLockedSeascape_AppRequestsLandscape() 267 freezeRotation(Surface.ROTATION_180); in testReturnsSeascape_UserRotationLockedSeascape_AppRequestsSeascape() [all …]
|
D | DisplayPolicyInsetsTests.java | 20 import static android.view.Surface.ROTATION_180; 101 final DisplayInfo di = displayInfoForRotation(ROTATION_180, false /* withCutout */); in upsideDown() 110 final DisplayInfo di = displayInfoForRotation(ROTATION_180, true /* withCutout */); in upsideDown_withCutout()
|
D | DisplayPolicyTestsBase.java | 25 import static android.view.Surface.ROTATION_180; 154 case ROTATION_180: in displayCutoutForRotation()
|
/frameworks/native/libs/ui/include/ui/ |
D | Rotation.h | 28 constexpr auto ROTATION_180 = Rotation::Rotation180; variable 50 case ROTATION_180: in toCString()
|
D | Transform.h | 134 case ROTATION_180: in toRotationFlags()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rotation.h | 28 constexpr auto ROTATION_180 = Rotation::Rotation180; variable 50 case ROTATION_180: in toCString()
|
D | Transform.h | 134 case ROTATION_180: in toRotationFlags()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | RotationButtonController.java | 282 if (windowRotation == Surface.ROTATION_0 || windowRotation == Surface.ROTATION_180) { in onRotationProposal() 375 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_180) return true; //180d so CCW in isRotationAnimationCCW() 378 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_180) return false; in isRotationAnimationCCW() 380 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_0) return true; //180d so CCW in isRotationAnimationCCW() 381 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_90) return true; in isRotationAnimationCCW() 382 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_270) return false; in isRotationAnimationCCW() 385 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_180) return true; in isRotationAnimationCCW()
|
D | QuickswitchOrientedNavHandle.java | 57 case Surface.ROTATION_180: in computeHomeHandleBounds()
|
/frameworks/base/core/java/android/util/ |
D | RotationUtils.java | 20 import static android.view.Surface.ROTATION_180; 53 case ROTATION_180: in rotateInsets()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 20 import static android.view.Surface.ROTATION_180; 54 case ROTATION_180: in transformPhysicalToLogicalCoordinates() 84 case ROTATION_180: in transformLogicalToPhysicalCoordinates()
|
D | DisplayRotationUtil.java | 21 import static android.view.Surface.ROTATION_180; 45 case ROTATION_180: in getRotationToBoundsOffset()
|
D | InsetUtils.java | 48 case Surface.ROTATION_180: in rotateInsets()
|
D | RotationAnimationUtils.java | 130 case Surface.ROTATION_180: in createRotationMatrix()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 53 if (rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) { in getWidth() 73 if (rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) { in getHeight()
|
D | PerimeterPathGuide.java | 20 import static android.view.Surface.ROTATION_180; 112 case ROTATION_180: in setRotation() 214 case ROTATION_180: in computeRegions() 305 case ROTATION_180: in getRotatedCorner()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/ |
D | SidecarHelper.java | 21 import static android.view.Surface.ROTATION_180; 69 case ROTATION_180: in rotateBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 49 } else if (rot == Surface.ROTATION_180) { in getExactRotation()
|
/frameworks/base/core/proto/android/view/ |
D | surface.proto | 25 ROTATION_180 = 2; enumerator
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 103 case Surface.ROTATION_180: in publishRotation()
|
/frameworks/base/core/java/android/view/ |
D | Surface.java | 164 ROTATION_180, 183 public static final int ROTATION_180 = 2; field in Surface 944 case Surface.ROTATION_180: { in rotationToString()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GetBitmapSurfaceViewActivity.java | 109 case Surface.ROTATION_180: in setCameraDisplayOrientation()
|