/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | DebugTest.java | 54 CommonTransitions.openAppCold(testApp, uiDevice, Surface.ROTATION_0) in openAppCold() 63 CommonTransitions.openAppWarm(testApp, uiDevice, Surface.ROTATION_0) in openAppWarm() 72 CommonTransitions.changeAppRotation(testApp, uiDevice, Surface.ROTATION_0, in changeOrientationFromNaturalToLeft() 98 Surface.ROTATION_0).includeJankyRuns().recordAllRuns() in openAppToSplitScreen() 118 CommonTransitions.resizeSplitScreen(testApp, bottomApp, uiDevice, Surface.ROTATION_0, in resizeSplitScreen() 131 CommonTransitions.editTextSetFocus(testApp, uiDevice, Surface.ROTATION_0) in editTextSetFocus() 142 CommonTransitions.editTextLoseFocusToHome(testApp, uiDevice, Surface.ROTATION_0) in editTextLoseFocusToHome() 153 CommonTransitions.editTextLoseFocusToHome(testApp, uiDevice, Surface.ROTATION_0) in editTextLoseFocusToApp() 166 CommonTransitions.enterPipMode(testApp, uiDevice, Surface.ROTATION_0).includeJankyRuns() in enterPipMode() 176 CommonTransitions.exitPipModeToHome(testApp, uiDevice, Surface.ROTATION_0) in exitPipModeToHome() [all …]
|
D | CommonTransitions.java | 64 case Surface.ROTATION_0: in setRotation() 136 .runAfterAll(() -> setRotation(device, Surface.ROTATION_0)) in openAppCold() 152 .runAfterAll(() -> setRotation(device, Surface.ROTATION_0)) in changeAppRotation() 174 .runAfterAll(() -> setRotation(device, Surface.ROTATION_0)) in changeAppRotation()
|
D | NonRotationTestBase.java | 46 {Surface.ROTATION_0, Surface.ROTATION_90}; in getParams()
|
D | PipToHomeTest.java | 57 run(exitPipModeToHome((PipAppHelper) mTestApp, mUiDevice, Surface.ROTATION_0) in runTransition()
|
D | OpenAppWarmTest.java | 81 if (mBeginRotation == Surface.ROTATION_0) { in checkVisibility_wallpaperLayerBecomesInvisible()
|
D | OpenAppColdTest.java | 81 if (mBeginRotation == Surface.ROTATION_0) { in checkVisibility_wallpaperLayerBecomesInvisible()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | DisplayRotationUtilTest.java | 23 import static android.view.Surface.ROTATION_0; 53 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_LEFT, ROTATION_0), in testGetBoundIndexFromRotation_rot0() 55 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_TOP, ROTATION_0), in testGetBoundIndexFromRotation_rot0() 57 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_RIGHT, ROTATION_0), in testGetBoundIndexFromRotation_rot0() 59 assertThat(getBoundIndexFromRotation(BOUNDS_POSITION_BOTTOM, ROTATION_0), in testGetBoundIndexFromRotation_rot0() 104 assertThat(util.getRotatedBounds(bounds, ROTATION_0, 200, 300), in testGetRotatedBounds_top_rot0() 136 assertThat(util.getRotatedBounds(bounds, ROTATION_0, 300, 200), in testGetRotatedBounds_left_rot0()
|
D | CoordinateTransformsTest.java | 19 import static android.view.Surface.ROTATION_0; 66 transformPhysicalToLogicalCoordinates(ROTATION_0, W, H, mMatrix); in transformPhysicalToLogicalCoordinates_rot0() 96 transformLogicalToPhysicalCoordinates(ROTATION_0, W, H, mMatrix); in transformLogicalToPhysicalCoordinates_rot0() 126 transformLogicalToPhysicalCoordinates(ROTATION_0, W, H, mMatrix); in transformLogicalToPhysicalCoordinatesIsInverse_rot0() 127 transformPhysicalToLogicalCoordinates(ROTATION_0, W, H, mMatrix2); in transformLogicalToPhysicalCoordinatesIsInverse_rot0()
|
D | InsetUtilsTest.java | 20 import static android.view.Surface.ROTATION_0; 53 assertEquals("rot0", original, rotateCopy(original, ROTATION_0)); in rotate()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | DisplayRotationUtil.java | 20 import static android.view.Surface.ROTATION_0; 41 case ROTATION_0: in getRotationToBoundsOffset() 78 if (rotation == ROTATION_0) { in getRotatedBounds()
|
D | CoordinateTransforms.java | 19 import static android.view.Surface.ROTATION_0; 47 case ROTATION_0: in transformPhysicalToLogicalCoordinates() 77 case ROTATION_0: in transformLogicalToPhysicalCoordinates()
|
D | InsetUtils.java | 43 case Surface.ROTATION_0: in rotateInsets()
|
/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() 354 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_90) return false; in isRotationAnimationCCW() 355 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_180) return true; //180d so CCW in isRotationAnimationCCW() 356 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_270) return true; in isRotationAnimationCCW() 357 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_0) return true; in isRotationAnimationCCW() 360 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_0) return true; //180d so CCW in isRotationAnimationCCW() 363 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_0) return false; in isRotationAnimationCCW()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | OutputConfiguration.java | 101 public static final int ROTATION_0 = 0; field in OutputConfiguration 146 this(SURFACE_GROUP_ID_NONE, surface, ROTATION_0); in OutputConfiguration() 205 this(surfaceGroupId, surface, ROTATION_0); in OutputConfiguration() 255 checkArgumentInRange(rotation, ROTATION_0, ROTATION_270, "Rotation constant"); in OutputConfiguration() 314 mRotation = ROTATION_0; in OutputConfiguration() 547 checkArgumentInRange(rotation, ROTATION_0, ROTATION_270, "Rotation constant"); in OutputConfiguration()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 46 private static int sDeviceRotation = Surface.ROTATION_0; // R/W synchronized on sRotationLock 96 case Surface.ROTATION_0: in publishRotation()
|
/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 | 19 import static android.view.Surface.ROTATION_0; 83 private int mRotation = ROTATION_0; 110 case ROTATION_0: in setRotation()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyInsetsTests.java | 19 import static android.view.Surface.ROTATION_0; 45 final DisplayInfo di = displayInfoForRotation(ROTATION_0, false /* withCutout */); in portrait() 54 final DisplayInfo di = displayInfoForRotation(ROTATION_0, true /* withCutout */); in portrait_withCutout()
|
D | DisplayRotationTests.java | 428 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_0)); in testReturnsSensorRotation_RotationThawed() 479 Surface.ROTATION_0); in testReturnsCompatibleRotation_SensorEnabled_RotationThawed() 497 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_0)); in testReturnsUserRotation_SensorEnabled_RotationLocked() 508 assertEquals(Surface.ROTATION_0, mTarget.rotationForOrientation(SCREEN_ORIENTATION_PORTRAIT, in testReturnsUserRotation_ForceDefaultRotation_Car() 517 assertEquals(Surface.ROTATION_0, mTarget.rotationForOrientation(SCREEN_ORIENTATION_PORTRAIT, in testReturnsUserRotation_ForceDefaultRotation_Tv() 532 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_0)); in testReturnsLidOpenRotation_LidOpen() 584 SCREEN_ORIENTATION_UNSPECIFIED, Surface.ROTATION_0)); in testReturnsUserRotation_NonDefaultDisplay() 767 case Surface.ROTATION_0: in convertRotationToDegrees()
|
D | DisplayPolicyTestsBase.java | 24 import static android.view.Surface.ROTATION_0; 139 case ROTATION_0: in displayCutoutForRotation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotation.java | 96 private int mUserRotation = Surface.ROTATION_0; 177 return Surface.ROTATION_0; in readRotation() 194 mLandscapeRotation = Surface.ROTATION_0; in configure() 204 mPortraitRotation = Surface.ROTATION_0; in configure() 278 if (userRotation < Surface.ROTATION_0 || userRotation > Surface.ROTATION_270) { in restoreSettings() 281 userRotation = Surface.ROTATION_0; in restoreSettings() 701 return Surface.ROTATION_0; in rotationForOrientation() 856 Settings.System.USER_ROTATION, Surface.ROTATION_0, in updateSettings()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplay.java | 279 mBaseDisplayInfo.rotation = Surface.ROTATION_0; in updateLocked() 379 int orientation = Surface.ROTATION_0; in configureDisplayLocked() 432 if (orientation == Surface.ROTATION_0) { in configureDisplayLocked()
|
/frameworks/base/core/proto/android/view/ |
D | surface.proto | 23 ROTATION_0 = 0; enumerator
|
/frameworks/base/core/java/android/view/ |
D | Surface.java | 155 ROTATION_0, 166 public static final int ROTATION_0 = 0; field in Surface 865 case Surface.ROTATION_0: { in rotationToString()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraView.java | 171 int jpegRotation = Surface.ROTATION_0; in takePicture() 174 jpegRotation = Surface.ROTATION_0; in takePicture()
|