/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 | InsetUtilsTest.java | 21 import static android.view.Surface.ROTATION_180; 58 final Rect rot180 = rotateCopy(original, ROTATION_180); in rotate()
|
/frameworks/base/core/java/android/util/ |
D | RotationUtils.java | 20 import static android.view.Surface.ROTATION_180; 59 case ROTATION_180: in rotateInsets() 111 case ROTATION_180: in rotateBounds() 162 case ROTATION_180: in rotateSurface() 186 case ROTATION_180: in rotatePoint() 209 case ROTATION_180: in rotatePointF() 236 case ROTATION_180: in transformPhysicalToLogicalCoordinates()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 189 freezeRotation(Surface.ROTATION_180); in testLocksUserRotation_LockRotation_DefaultDisplay() 192 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testLocksUserRotation_LockRotation_DefaultDisplay() 196 assertEquals(Surface.ROTATION_180, Settings.System.getInt(mMockResolver, in testLocksUserRotation_LockRotation_DefaultDisplay() 204 freezeRotation(Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 207 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 210 WindowManagerPolicy.USER_ROTATION_LOCKED, Surface.ROTATION_180); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 268 freezeRotation(Surface.ROTATION_180); in testReturnsUserRotation_UserRotationLocked_NoAppRequest() 270 assertEquals(Surface.ROTATION_180, mTarget.rotationForOrientation( in testReturnsUserRotation_UserRotationLocked_NoAppRequest() 281 freezeRotation(Surface.ROTATION_180); in testReturnsLandscape_UserRotationLockedSeascape_AppRequestsLandscape() 294 freezeRotation(Surface.ROTATION_180); in testReturnsSeascape_UserRotationLockedSeascape_AppRequestsSeascape() [all …]
|
D | DisplayRotationImmersiveAppCompatPolicyTests.java | 101 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_180)).thenReturn(true); in createDisplayRotationMock() 105 when(mockDisplayRotation.isLandscapeOrSeascape(Surface.ROTATION_180)).thenReturn(false); in createDisplayRotationMock() 129 assertTrue(mPolicy.isRotationLockEnforced(Surface.ROTATION_180)); in testIsRotationLockEnforced_landscapeActivity_lockedWhenRotatingToPortrait() 144 assertFalse(mPolicy.isRotationLockEnforced(Surface.ROTATION_180)); in testIsRotationLockEnforced_portraitActivity_lockedWhenRotatingToLandscape() 222 assertFalse(mPolicy.isRotationLockEnforced(Surface.ROTATION_180)); in assertIsRotationLockEnforcedReturnsFalseForAllRotations()
|
D | DisplayPolicyInsetsTests.java | 20 import static android.view.Surface.ROTATION_180; 127 final DisplayInfo di = displayInfoForRotation(ROTATION_180, false /* withCutout */); in upsideDown() 136 final DisplayInfo di = displayInfoForRotation(ROTATION_180, true /* withCutout */); in upsideDown_withCutout()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 51 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_180) return true; //180d so CCW in isRotationAnimationCCW() 54 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_180) return false; in isRotationAnimationCCW() 56 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_0) return true; //180d so CCW in isRotationAnimationCCW() 57 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_90) return true; in isRotationAnimationCCW() 58 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_270) return false; in isRotationAnimationCCW() 61 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_180) return true; in isRotationAnimationCCW()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RotationUtilsTest.java | 22 import static android.view.Surface.ROTATION_180; 58 rotateBounds(testResult, testParent, ROTATION_180); in testRotateBounds() 77 rotatePoint(testResult, ROTATION_180, parentW, parentH); in testRotatePoint() 97 rotatePointF(testResult, ROTATION_180, parentW, parentH); in testRotatePointF()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowOrientationListenerTest.java | 99 callback1.onSuccess(Surface.ROTATION_180); in testOnSensorChanged_callbackNotTheLatest_IgnoreResult() 111 mFakeRotationResolverInternal.callbackWithSuccessResult(Surface.ROTATION_180); in testOnSensorChanged_normalCase1() 113 assertThat(mFinalizedRotation).isEqualTo(Surface.ROTATION_180); in testOnSensorChanged_normalCase1() 138 mHandler, /* defaultRotation */ Surface.ROTATION_180); in testOnSensorChanged_screenLocked_doNotCallRotationResolverReturnDefaultRotation() 145 assertThat(mFinalizedRotation).isEqualTo(Surface.ROTATION_180); in testOnSensorChanged_screenLocked_doNotCallRotationResolverReturnDefaultRotation()
|
/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()
|
/frameworks/native/include/ui/ |
D | Rotation.h | 28 constexpr auto ROTATION_180 = Rotation::Rotation180; variable 59 case ROTATION_180: in toCString()
|
D | Transform.h | 147 case ROTATION_180: in toRotationFlags() 163 return ROTATION_180; in toRotation()
|
/frameworks/native/libs/ui/include/ui/ |
D | Rotation.h | 28 constexpr auto ROTATION_180 = Rotation::Rotation180; variable 59 case ROTATION_180: in toCString()
|
D | Transform.h | 147 case ROTATION_180: in toRotationFlags() 163 return ROTATION_180; in toRotation()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rotation.h | 28 constexpr auto ROTATION_180 = Rotation::Rotation180; variable 59 case ROTATION_180: in toCString()
|
D | Transform.h | 147 case ROTATION_180: in toRotationFlags() 163 return ROTATION_180; in toRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthBiometricFingerprintIconController.kt | 77 if (isSideFps && getRotationFromDefault(displayInfo.rotation) == Surface.ROTATION_180) { in <lambda>() 263 Surface.ROTATION_180 -> in <lambda>() 278 Surface.ROTATION_180 -> in <lambda>() 289 Surface.ROTATION_180 -> in <lambda>() 304 Surface.ROTATION_180 -> in <lambda>() 316 Surface.ROTATION_180 -> in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 55 if (rotation == Surface.ROTATION_0 || rotation == Surface.ROTATION_180) { in getWidth() 75 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() 305 case ROTATION_180: in getRotatedCorner()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizerTest.java | 215 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_landscape_90() 228 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_seascape_270() 256 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_180, in testRotation_landscape_90_to_portrait_180() 282 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_180, in testRotation_seascape_270_to_portrait_180() 304 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_180, in testRotation_portrait_0_to_portrait_180() 315 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_portrait_180() 317 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_180, in testRotation_portrait_180_to_portrait_180()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | FloatingRotationButtonPositionCalculator.kt | 62 Surface.ROTATION_180 -> Gravity.TOP or Gravity.RIGHT in resolveGravity() 70 Surface.ROTATION_180 -> Gravity.TOP or Gravity.LEFT
|
/frameworks/hardware/interfaces/automotive/display/aidl/android/frameworks/automotive/display/ |
D | Rotation.aidl | 32 ROTATION_180 = 2, enumConstant
|
/frameworks/hardware/interfaces/automotive/display/aidl/aidl_api/android.frameworks.automotive.display/1/android/frameworks/automotive/display/ |
D | Rotation.aidl | 39 ROTATION_180 = 2, enumConstant
|
/frameworks/hardware/interfaces/automotive/display/aidl/aidl_api/android.frameworks.automotive.display/current/android/frameworks/automotive/display/ |
D | Rotation.aidl | 39 ROTATION_180 = 2, enumConstant
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/ |
D | ExtensionHelper.java | 20 import static android.view.Surface.ROTATION_180; 77 case ROTATION_180: in rotateBounds()
|