Home
last modified time | relevance | path

Searched refs:ROTATION_270 (Results 1 – 25 of 56) 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/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DWindowUtils.java54 currentDisplayRotation == Surface.ROTATION_270); in getDisplayBounds()
57 requestedRotation == Surface.ROTATION_270; in getDisplayBounds()
74 currentDisplayRotation == Surface.ROTATION_270; in getAppPosition()
77 requestedRotation == Surface.ROTATION_270; in getAppPosition()
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRotationButtonController.java356 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_270) return true; in isRotationAnimationCCW()
359 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_270) return true; //180d so CCW in isRotationAnimationCCW()
362 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_270) return false; in isRotationAnimationCCW()
363 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_0) return false; in isRotationAnimationCCW()
364 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_90) return true; //180d so CCW in isRotationAnimationCCW()
365 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_180) return true; in isRotationAnimationCCW()
/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()
305 case Surface.ROTATION_270: in getRotatedCorner()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java262 rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270); in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest()
457 freezeRotation(Surface.ROTATION_270); in testNotifiesChoiceWhenSensorUpdates_RotationLocked()
482 rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270); in testReturnsCompatibleRotation_SensorEnabled_RotationThawed()
490 freezeRotation(Surface.ROTATION_270); in testReturnsUserRotation_SensorEnabled_RotationLocked()
496 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsUserRotation_SensorEnabled_RotationLocked()
529 freezeRotation(Surface.ROTATION_270); in testReturnsLidOpenRotation_LidOpen()
537 mBuilder.setCarDockRotation(Surface.ROTATION_270).build(); in testReturnsCarDockRotation_CarDockedMode()
544 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsCarDockRotation_CarDockedMode()
550 mBuilder.setDeskDockRotation(Surface.ROTATION_270).build(); in testReturnsDeskDockRotation_DeskDockedMode()
557 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsDeskDockRotation_DeskDockedMode()
[all …]
DDisplayPolicyInsetsTests.java21 import static android.view.Surface.ROTATION_270;
81 final DisplayInfo di = displayInfoForRotation(ROTATION_270, false /* withCutout */); in seascape()
90 final DisplayInfo di = displayInfoForRotation(ROTATION_270, true /* withCutout */); in seascape_withCutout()
DDisplayPolicyTestsBase.java26 import static android.view.Surface.ROTATION_270;
114 final boolean flippedDimensions = rotation == ROTATION_90 || rotation == ROTATION_270; in displayInfoAndCutoutForRotation()
148 case ROTATION_270: in displayCutoutForRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DSeamlessRotator.java19 import static android.view.Surface.ROTATION_270;
52 final boolean flipped = info.rotation == ROTATION_90 || info.rotation == ROTATION_270; in SeamlessRotator()
DDisplayRotation.java183 return Surface.ROTATION_270; in readRotation()
198 mUpsideDownRotation = Surface.ROTATION_270; in configure()
200 mPortraitRotation = Surface.ROTATION_270; in configure()
207 mLandscapeRotation = Surface.ROTATION_270; in configure()
211 mSeascapeRotation = Surface.ROTATION_270; in configure()
278 if (userRotation < Surface.ROTATION_0 || userRotation > Surface.ROTATION_270) { in restoreSettings()
DDisplayFrames.java20 import static android.view.Surface.ROTATION_270;
147 case ROTATION_270: in onBeginLayout()
DCircularDisplayMask.java118 case Surface.ROTATION_270: in drawIfNeeded()
/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/core/proto/android/view/
Dsurface.proto26 ROTATION_270 = 3; enumerator
/frameworks/base/core/java/android/view/
DSurface.java156 ROTATION_270
179 public static final int ROTATION_270 = 3; field in Surface
855 case Surface.ROTATION_270: { in rotationToString()
/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java105 case Surface.ROTATION_270: in publishRotation()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DDebugTest.java63 Surface.ROTATION_270).recordAllRuns().build().run(); in changeOrientationFromNaturalToLeft()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGetBitmapSurfaceViewActivity.java112 case Surface.ROTATION_270: in setCameraDisplayOrientation()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDevice.java233 || mCurrentOrientation == Surface.ROTATION_270); in populateViewportLocked()

123