/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/shared/model/ |
D | DisplayRotation.kt | 10 ROTATION_270, 22 Surface.ROTATION_270 -> DisplayRotation.ROTATION_270 in isDefaultOrientation() 32 DisplayRotation.ROTATION_270 -> Surface.ROTATION_270 in DisplayRotation()
|
/frameworks/base/core/java/android/util/ |
D | RotationUtils.java | 21 import static android.view.Surface.ROTATION_270; 68 case ROTATION_270: in rotateInsets() 119 case ROTATION_270: in rotateBounds() 167 case ROTATION_270: in rotateSurface() 192 case ROTATION_270: in rotatePoint() 215 case ROTATION_270: in rotatePointF() 242 case ROTATION_270: in transformPhysicalToLogicalCoordinates() 263 rotation = Surface.ROTATION_270; in reverseRotationDirectionAroundZAxis() 264 } else if (rotation == Surface.ROTATION_270) { in reverseRotationDirectionAroundZAxis()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RotationUtilsTest.java | 24 import static android.view.Surface.ROTATION_270; 63 rotateBounds(testResult, testParent, ROTATION_270); in testRotateBounds() 82 rotatePoint(testResult, ROTATION_270, parentW, parentH); in testRotatePoint() 103 rotatePointF(testResult, ROTATION_270, parentW, parentH); in testRotatePointF() 111 RotationUtils.reverseRotationDirectionAroundZAxis(ROTATION_270)); in testReverseRotationDirectionAroundZAxis() 112 assertEquals(ROTATION_270, in testReverseRotationDirectionAroundZAxis()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 21 import static android.view.Surface.ROTATION_270; 56 case ROTATION_270: in transformPhysicalToLogicalCoordinates() 86 case ROTATION_270: in transformLogicalToPhysicalCoordinates() 106 final boolean flipped = info.rotation == ROTATION_90 || info.rotation == ROTATION_270; in transformToRotation() 128 final boolean flipped = newRotation == ROTATION_90 || newRotation == ROTATION_270; in transformToRotation() 152 case Surface.ROTATION_270: in computeRotationMatrix()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | CoordinateTransformsTest.java | 21 import static android.view.Surface.ROTATION_270; 89 transformPhysicalToLogicalCoordinates(ROTATION_270, W, H, mMatrix); in transformPhysicalToLogicalCoordinates_rot270() 119 transformLogicalToPhysicalCoordinates(ROTATION_270, W, H, mMatrix); in transformLogicalToPhysicalCoordinates_rot270() 151 transformLogicalToPhysicalCoordinates(ROTATION_270, W, H, mMatrix); in transformLogicalToPhysicalCoordinatesIsInverse_rot270() 152 transformPhysicalToLogicalCoordinates(ROTATION_270, W, H, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot270() 160 transformToRotation(ROTATION_180, ROTATION_270, H, W, mMatrix); in transformBetweenRotations_rot180_rot270() 168 transformToRotation(ROTATION_180, ROTATION_270, W, H, mMatrix); in transformBetweenRotations_rot90_rot0() 181 transformToRotation(ROTATION_180, ROTATION_270, di, mMatrix); in transformBetweenRotations_displayInfo() 184 transformToRotation(ROTATION_180, ROTATION_270, H, W, mMatrix2); in transformBetweenRotations_displayInfo() 215 computeRotationMatrix(ROTATION_270, W, H, mMatrix); in rotate_270_bottomRight()
|
D | InsetUtilsTest.java | 22 import static android.view.Surface.ROTATION_270; 62 final Rect rot270 = rotateCopy(original, ROTATION_270); in rotate()
|
/frameworks/native/include/ui/ |
D | Rotation.h | 36 constexpr auto ROTATION_270 = Rotation::Rotation270; variable 47 constexpr auto N = toRotationInt(ROTATION_270) + 1; 52 constexpr auto N = toRotationInt(ROTATION_270) + 1; 68 case ROTATION_270: in toCString()
|
/frameworks/native/libs/ui/include/ui/ |
D | Rotation.h | 36 constexpr auto ROTATION_270 = Rotation::Rotation270; variable 47 constexpr auto N = toRotationInt(ROTATION_270) + 1; 52 constexpr auto N = toRotationInt(ROTATION_270) + 1; 68 case ROTATION_270: in toCString()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rotation.h | 36 constexpr auto ROTATION_270 = Rotation::Rotation270; variable 47 constexpr auto N = toRotationInt(ROTATION_270) + 1; 52 constexpr auto N = toRotationInt(ROTATION_270) + 1; 68 case ROTATION_270: in toCString()
|
/frameworks/native/libs/input/tests/ |
D | TouchVideoFrame_test.cpp | 161 frame.rotate(ui::ROTATION_270); in TEST() 168 frame.rotate(ui::ROTATION_270); in TEST() 175 frame.rotate(ui::ROTATION_270); in TEST() 182 frame.rotate(ui::ROTATION_270); in TEST() 189 frame.rotate(ui::ROTATION_270); in TEST() 190 frame.rotate(ui::ROTATION_270); in TEST() 191 frame.rotate(ui::ROTATION_270); in TEST() 192 frame.rotate(ui::ROTATION_270); in TEST()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 53 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_270) return true; in isRotationAnimationCCW() 56 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_270) return true; //180d so CCW in isRotationAnimationCCW() 59 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_270) return false; in isRotationAnimationCCW() 60 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_0) return false; in isRotationAnimationCCW() 61 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_90) return true; //180d so CCW in isRotationAnimationCCW() 62 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_180) return true; in isRotationAnimationCCW()
|
D | PreviewPositionHelper.java | 5 import static android.view.Surface.ROTATION_270; 197 return deltaRotation == ROTATION_90 || deltaRotation == ROTATION_270; in isOrientationChange() 209 case ROTATION_270: in setThumbnailRotation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | OverlayWindowTest.kt | 84 @Surface.Rotation val rotation = Surface.ROTATION_270 in testAddProvider() 105 overlay.addDecorProvider(decorProvider1, Surface.ROTATION_270, Color.BLACK) in testRemoveView() 106 overlay.addDecorProvider(decorProvider2, Surface.ROTATION_270, Color.BLACK) in testRemoveView() 155 overlay.addDecorProvider(decorProvider1, Surface.ROTATION_270, Color.BLACK) in testRemoveRedundantViewsWithNullParameter() 156 overlay.addDecorProvider(decorProvider2, Surface.ROTATION_270, Color.BLACK) in testRemoveRedundantViewsWithNullParameter() 168 overlay.addDecorProvider(decorProvider1, Surface.ROTATION_270, Color.BLACK) in testRemoveRedundantViewsWith2Providers() 169 overlay.addDecorProvider(decorProvider2, Surface.ROTATION_270, Color.BLACK) in testRemoveRedundantViewsWith2Providers()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationImmersiveAppCompatPolicyTests.java | 98 when(mockDisplayRotation.isAnyPortrait(Surface.ROTATION_270)).thenReturn(false); in createDisplayRotationMock() 102 when(mockDisplayRotation.isLandscapeOrSeascape(Surface.ROTATION_270)).thenReturn(true); in createDisplayRotationMock() 127 assertFalse(mPolicy.isRotationLockEnforced(Surface.ROTATION_270)); in testIsRotationLockEnforced_landscapeActivity_lockedWhenRotatingToPortrait() 142 assertTrue(mPolicy.isRotationLockEnforced(Surface.ROTATION_270)); in testIsRotationLockEnforced_portraitActivity_lockedWhenRotatingToLandscape() 219 assertFalse(mPolicy.isRotationLockEnforced(Surface.ROTATION_270)); in assertIsRotationLockEnforcedReturnsFalseForAllRotations()
|
D | DisplayRotationTests.java | 228 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_InternalDisplay() 231 assertEquals(Surface.ROTATION_270, mTarget.getUserRotation()); in testUserRotationSystemProperty_NonDefault_InternalDisplay() 243 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_ExternalDisplay() 258 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_OverlayDisplay() 277 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_VirtualDisplay() 281 assertEquals(Surface.ROTATION_270, mTarget.getUserRotation()); in testUserRotationSystemProperty_NonDefault_VirtualDisplay() 286 mTarget.restoreSettings(WindowManagerPolicy.USER_ROTATION_FREE, Surface.ROTATION_270, in testUserRotationSystemProperty_NonDefault_VirtualDisplay() 388 freezeRotation(Surface.ROTATION_270); in testReturnsPortrait_UserRotationLockedPortrait_AppRequestsPortrait() 390 assertEquals(Surface.ROTATION_270, mTarget.rotationForOrientation( in testReturnsPortrait_UserRotationLockedPortrait_AppRequestsPortrait() 419 rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270); in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest() [all …]
|
D | DisplayPolicyTestsBase.java | 25 import static android.view.Surface.ROTATION_270; 81 final boolean flippedDimensions = rotation == ROTATION_90 || rotation == ROTATION_270; in displayInfoAndCutoutForRotation() 117 case ROTATION_270: in displayCutoutForRotation()
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/util/ |
D | ExtensionHelperTest.java | 53 Surface.ROTATION_270 60 getMockDisplayInfo(Surface.ROTATION_270), 112 case Surface.ROTATION_270: in getExpectedFeatureRectAfterRotation()
|
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/shared/model/ |
D | UdfpsOverlayParams.kt | 65 if (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) { 73 if (rotation == Surface.ROTATION_90 || rotation == Surface.ROTATION_270) {
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.cpp | 50 return ui::ROTATION_270; in getInverseRotation() 51 case ui::ROTATION_270: in getInverseRotation() 72 case ui::ROTATION_270: in rotateDelta()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizerTest.java | 204 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_270, in testRotation_portrait_0_to_seascape_270() 230 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_270, in testRotation_portrait_180_to_seascape_270() 267 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_270); in testRotation_seascape_270_to_portrait_0() 280 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_270); in testRotation_seascape_270_to_portrait_180() 356 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_270, in testRotation_landscape_90_to_seascape_270() 367 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_270); in testRotation_seascape_270_to_seascape_270() 369 mSpiedDisplayAreaOrganizer.onRotateDisplay(mContext, Surface.ROTATION_270, in testRotation_seascape_270_to_seascape_270() 380 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_270); in testRotation_seascape_270_to_landscape_90()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | ActiveDisplayRotationFlagsTest.cpp | 82 ui::ROTATION_270; in TEST_F() 98 ui::ROTATION_270; in TEST_F() 113 ui::ROTATION_270; in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | ProjectionSpaceTest.cpp | 30 if (rotation == ui::ROTATION_90 || rotation == ui::ROTATION_270) { in getSideStrip() 38 if (rotation == ui::ROTATION_0 || rotation == ui::ROTATION_270) { in getSideStrip() 97 EXPECT_EQ(getSideStrip(rect, ui::ROTATION_270), Rect(10, 20, 10, 100)); in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 77 } else if (rot == Surface.ROTATION_270) { in getRotation() 93 } else if (rot == Surface.ROTATION_270) { in getExactRotation()
|
/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() 308 case Surface.ROTATION_270: in getRotatedCorner()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/ |
D | FloatingRotationButtonPositionCalculator.kt | 63 Surface.ROTATION_270 -> Gravity.TOP or Gravity.LEFT in resolveGravity() 71 Surface.ROTATION_270 -> Gravity.BOTTOM or Gravity.LEFT
|