/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 | 153 freezeRotation(Surface.ROTATION_180); in testLocksUserRotation_LockRotation_DefaultDisplay() 156 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testLocksUserRotation_LockRotation_DefaultDisplay() 160 assertEquals(Surface.ROTATION_180, Settings.System.getInt(mMockResolver, in testLocksUserRotation_LockRotation_DefaultDisplay() 168 freezeRotation(Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 171 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 174 WindowManagerPolicy.USER_ROTATION_LOCKED, Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 232 freezeRotation(Surface.ROTATION_180); in testReturnsUserRotation_UserRotationLocked_NoAppRequest() 234 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsUserRotation_UserRotationLocked_NoAppRequest() 244 freezeRotation(Surface.ROTATION_180); in testReturnsUserRotation_UserRotationLocked_CompatibleAppRequest() 246 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsUserRotation_UserRotationLocked_CompatibleAppRequest() [all …]
|
D | DisplayPolicyInsetsTests.java | 20 import static android.view.Surface.ROTATION_180; 99 final DisplayInfo di = displayInfoForRotation(ROTATION_180, false /* withCutout */); in upsideDown() 108 final DisplayInfo di = displayInfoForRotation(ROTATION_180, true /* withCutout */); in upsideDown_withCutout()
|
D | DisplayPolicyTestsBase.java | 25 import static android.view.Surface.ROTATION_180; 145 case ROTATION_180: in displayCutoutForRotation()
|
D | WindowConfigurationTests.java | 142 winConfig2.setRotation(Surface.ROTATION_180); in testConfigurationCompareTo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | RotationButtonController.java | 275 if (windowRotation == Surface.ROTATION_0 || windowRotation == Surface.ROTATION_180) { in onRotationProposal() 355 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_180) return true; //180d so CCW in isRotationAnimationCCW() 358 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_180) return false; in isRotationAnimationCCW() 360 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_0) return true; //180d so CCW in isRotationAnimationCCW() 361 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_90) return true; in isRotationAnimationCCW() 362 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_270) return false; in isRotationAnimationCCW() 365 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_180) return true; in isRotationAnimationCCW()
|
D | FloatingRotationButton.java | 94 case Surface.ROTATION_180: in show()
|
/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()
|
/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() 302 case ROTATION_180: in getRotatedCorner()
|
/frameworks/base/tests/FlickerTests/lib/src/com/android/server/wm/flicker/ |
D | WindowUtils.java | 93 if (requestedRotation == Surface.ROTATION_0 || requestedRotation == Surface.ROTATION_180) { in getStatusBarPosition() 113 if (requestedRotation == Surface.ROTATION_0 || requestedRotation == Surface.ROTATION_180) { in getNavigationBarPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 49 } else if (rot == Surface.ROTATION_180) { in getExactRotation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayFrames.java | 19 import static android.view.Surface.ROTATION_180; 141 case ROTATION_180: in onBeginLayout()
|
D | DisplayRotation.java | 181 return Surface.ROTATION_180; in readRotation() 195 mSeascapeRotation = Surface.ROTATION_180; in configure() 205 mUpsideDownRotation = Surface.ROTATION_180; in configure() 623 if (sensorRotation != Surface.ROTATION_180 in rotationForOrientation()
|
D | CircularDisplayMask.java | 114 case Surface.ROTATION_180: in drawIfNeeded()
|
/frameworks/base/core/proto/android/view/ |
D | surface.proto | 25 ROTATION_180 = 2; enumerator
|
/frameworks/base/core/java/android/view/ |
D | Surface.java | 155 ROTATION_180, 174 public static final int ROTATION_180 = 2; field in Surface 852 case Surface.ROTATION_180: { in rotationToString()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 102 case Surface.ROTATION_180: in publishRotation()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GetBitmapSurfaceViewActivity.java | 109 case Surface.ROTATION_180: in setCameraDisplayOrientation()
|
D | TextureViewActivity.java | 135 case Surface.ROTATION_180: in getCameraOrientation()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | PersistentDataStore.java | 540 case Surface.ROTATION_180: return "180"; in surfaceRotationToString() 554 return Surface.ROTATION_180; in stringToSurfaceRotation()
|