Home
last modified time | relevance | path

Searched refs:ROTATION_270 (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java21 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()
DDisplayRotationUtilTest.java25 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()
DInsetUtilsTest.java22 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/
DCoordinateTransforms.java21 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()
DDisplayRotationUtil.java22 import static android.view.Surface.ROTATION_270;
47 case ROTATION_270: in getRotationToBoundsOffset()
DInsetUtils.java51 case Surface.ROTATION_270: in rotateInsets()
/frameworks/native/libs/ui/include/ui/
DRotation.h29 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/
DRotation.h29 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/
DRotationUtils.java34 } else if (rot == Surface.ROTATION_270) { in getRotation()
47 } else if (rot == Surface.ROTATION_270) { in getExactRotation()
/frameworks/base/core/java/android/util/
DRotationUtils.java21 import static android.view.Surface.ROTATION_270;
60 case ROTATION_270: in rotateInsets()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
DSidecarHelper.java22 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/
DDisplayRotationTests.java280 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 …]
DDisplayPolicyInsetsTests.java21 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()
DDisplayPolicyTestsBase.java26 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/
DRotationButtonController.java376 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()
DQuickswitchOrientedNavHandle.java70 case Surface.ROTATION_270: in computeHomeHandleBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPerimeterPathGuide.java21 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/
DSeamlessRotator.java19 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/
DDeadZone.java143 if (mDisplayRotation == Surface.ROTATION_270) { in onTouchEvent()
188 if (mDisplayRotation == Surface.ROTATION_270) {
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java125 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/
DDisplayLayoutTest.java21 import static android.view.Surface.ROTATION_270;
100 dl.rotateTo(res, ROTATION_270); in testRotate()
/frameworks/native/opengl/tests/lib/
DWindowSurface.cpp64 displayState.orientation == ui::ROTATION_270) { in WindowSurface()
/frameworks/base/core/proto/android/view/
Dsurface.proto26 ROTATION_270 = 3; enumerator
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java106 case Surface.ROTATION_270: in publishRotation()
/frameworks/base/core/java/android/view/
DSurface.java165 ROTATION_270
188 public static final int ROTATION_270 = 3; field in Surface
947 case Surface.ROTATION_270: { in rotationToString()

123