/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/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/ |
D | WindowUtils.java | 54 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/ |
D | RotationUtils.java | 34 } 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/ |
D | RotationButtonController.java | 356 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/ |
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() 305 case Surface.ROTATION_270: in getRotatedCorner()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 262 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 …]
|
D | DisplayPolicyInsetsTests.java | 21 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()
|
D | DisplayPolicyTestsBase.java | 26 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/ |
D | SeamlessRotator.java | 19 import static android.view.Surface.ROTATION_270; 52 final boolean flipped = info.rotation == ROTATION_90 || info.rotation == ROTATION_270; in SeamlessRotator()
|
D | DisplayRotation.java | 183 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()
|
D | DisplayFrames.java | 20 import static android.view.Surface.ROTATION_270; 147 case ROTATION_270: in onBeginLayout()
|
D | CircularDisplayMask.java | 118 case Surface.ROTATION_270: in drawIfNeeded()
|
/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/core/proto/android/view/ |
D | surface.proto | 26 ROTATION_270 = 3; enumerator
|
/frameworks/base/core/java/android/view/ |
D | Surface.java | 156 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/ |
D | RotationHelper.java | 105 case Surface.ROTATION_270: in publishRotation()
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | DebugTest.java | 63 Surface.ROTATION_270).recordAllRuns().build().run(); in changeOrientationFromNaturalToLeft()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GetBitmapSurfaceViewActivity.java | 112 case Surface.ROTATION_270: in setCameraDisplayOrientation()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDevice.java | 233 || mCurrentOrientation == Surface.ROTATION_270); in populateViewportLocked()
|