Home
last modified time | relevance | path

Searched refs:ROTATION_180 (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java20 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()
DDisplayRotationUtilTest.java24 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()
DInsetUtilsTest.java21 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/
DDisplayRotationTests.java162 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 …]
DDisplayPolicyInsetsTests.java20 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()
DDisplayPolicyTestsBase.java25 import static android.view.Surface.ROTATION_180;
154 case ROTATION_180: in displayCutoutForRotation()
/frameworks/native/libs/ui/include/ui/
DRotation.h28 constexpr auto ROTATION_180 = Rotation::Rotation180; variable
50 case ROTATION_180: in toCString()
DTransform.h134 case ROTATION_180: in toRotationFlags()
/frameworks/native/libs/ui/include_vndk/ui/
DRotation.h28 constexpr auto ROTATION_180 = Rotation::Rotation180; variable
50 case ROTATION_180: in toCString()
DTransform.h134 case ROTATION_180: in toRotationFlags()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRotationButtonController.java282 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()
DQuickswitchOrientedNavHandle.java57 case Surface.ROTATION_180: in computeHomeHandleBounds()
/frameworks/base/core/java/android/util/
DRotationUtils.java20 import static android.view.Surface.ROTATION_180;
53 case ROTATION_180: in rotateInsets()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DCoordinateTransforms.java20 import static android.view.Surface.ROTATION_180;
54 case ROTATION_180: in transformPhysicalToLogicalCoordinates()
84 case ROTATION_180: in transformLogicalToPhysicalCoordinates()
DDisplayRotationUtil.java21 import static android.view.Surface.ROTATION_180;
45 case ROTATION_180: in getRotationToBoundsOffset()
DInsetUtils.java48 case Surface.ROTATION_180: in rotateInsets()
DRotationAnimationUtils.java130 case Surface.ROTATION_180: in createRotationMatrix()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DDisplayUtils.java53 if (rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) { in getWidth()
73 if (rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) { in getHeight()
DPerimeterPathGuide.java20 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/
DSidecarHelper.java21 import static android.view.Surface.ROTATION_180;
69 case ROTATION_180: in rotateBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java49 } else if (rot == Surface.ROTATION_180) { in getExactRotation()
/frameworks/base/core/proto/android/view/
Dsurface.proto25 ROTATION_180 = 2; enumerator
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java103 case Surface.ROTATION_180: in publishRotation()
/frameworks/base/core/java/android/view/
DSurface.java164 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/
DGetBitmapSurfaceViewActivity.java109 case Surface.ROTATION_180: in setCameraDisplayOrientation()

123