/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 105 @Rotation int newRotation, DisplayInfo info, Matrix out) { in transformToRotation() argument 112 transformPhysicalToLogicalCoordinates(newRotation, w, h, tmp); in transformToRotation() 127 @Rotation int newRotation, int newWidth, int newHeight, Matrix out) { in transformToRotation() argument 128 final boolean flipped = newRotation == ROTATION_90 || newRotation == ROTATION_270; in transformToRotation() 134 transformPhysicalToLogicalCoordinates(newRotation, w, h, tmp); in transformToRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavbarOrientationTrackingLogger.kt | 59 private fun getDeltaRotation(oldRotation: Int, newRotation: Int): String { in getDeltaRotation() 61 when (deltaRotation(oldRotation, newRotation)) { in getDeltaRotation() 75 private fun deltaRotation(oldRotation: Int, newRotation: Int): Int { in deltaRotation() 76 var delta = newRotation - oldRotation in deltaRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | RoundedCornerDecorProviderImpl.kt | 161 var newRotation = 0F in adjustRotation() variable 172 else /* !isTop && !isLeft */ -> { newRotation = 180F } in adjustRotation() 177 !isTop && isLeft -> { newRotation = 180F } in adjustRotation() 182 isTop && !isLeft -> { newRotation = 180F } in adjustRotation() 187 isTop && isLeft -> { newRotation = 180F } in adjustRotation() 194 this.rotation = newRotation in adjustRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | MultiListLayout.java | 87 int newRotation = RotationUtils.getRotation(mContext); in onConfigurationChanged() local 88 if (newRotation != mRotation) { in onConfigurationChanged() 89 rotate(mRotation, newRotation); in onConfigurationChanged() 90 mRotation = newRotation; in onConfigurationChanged()
|
D | ScreenDecorations.java | 511 final int newRotation = mDisplayInfo.rotation; in startOnScreenDecorationsThread() 513 && (mRotation != newRotation in startOnScreenDecorationsThread() 526 if (mRotation != newRotation) { in startOnScreenDecorationsThread() 527 mLogger.logRotationChangeDeferred(mRotation, newRotation); in startOnScreenDecorationsThread() 539 overlayView, i, newRotation, newSize)); in startOnScreenDecorationsThread() 549 newRotation, newSize)); in startOnScreenDecorationsThread() 1190 final int newRotation = mDisplayInfo.rotation; in updateConfiguration() local 1191 if (mRotation != newRotation) { in updateConfiguration() 1192 mDotViewController.setNewRotation(newRotation); in updateConfiguration() 1197 && (newRotation != mRotation || displaySizeChanged(mDisplaySize, mDisplayInfo) in updateConfiguration() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ImmediateDisplayUpdater.java | 52 public void onDisplayContentDisplayPropertiesPostChanged(int previousRotation, int newRotation, in onDisplayContentDisplayPropertiesPostChanged() argument 55 newRotation, in onDisplayContentDisplayPropertiesPostChanged()
|
D | SeamlessRotator.java | 54 public SeamlessRotator(@Rotation int oldRotation, @Rotation int newRotation, DisplayInfo info, in SeamlessRotator() argument 57 mNewRotation = newRotation; in SeamlessRotator() 66 CoordinateTransforms.transformPhysicalToLogicalCoordinates(newRotation, pW, pH, tmp); in SeamlessRotator()
|
D | WindowOrientationListener.java | 1281 int newRotation; in finalizeRotation() local 1284 newRotation = evaluateRotationChangeLocked(); in finalizeRotation() 1286 if (newRotation >= 0) { in finalizeRotation() 1287 mLastRotationResolution = newRotation; in finalizeRotation() 1289 onProposedRotationChanged(newRotation); in finalizeRotation() 1346 int newRotation; 1349 newRotation = evaluateRotationChangeLocked(); 1351 if (newRotation >= 0) { 1352 onProposedRotationChanged(newRotation);
|
D | DisplayWindowListenerController.java | 101 void dispatchFixedRotationStarted(DisplayContent display, int newRotation) { in dispatchFixedRotationStarted() argument 106 display.mDisplayId, newRotation); in dispatchFixedRotationStarted()
|
D | DisplayUpdater.java | 50 @Surface.Rotation int previousRotation, @Surface.Rotation int newRotation, in onDisplayContentDisplayPropertiesPostChanged() argument
|
D | PinnedTaskController.java | 242 int oldRotation, int newRotation) { in startSeamlessRotationIfNeeded() argument 288 final int rotationDelta = RotationUtils.deltaRotation(oldRotation, newRotation); in startSeamlessRotationIfNeeded() 292 final int rotationBackDelta = RotationUtils.deltaRotation(newRotation, oldRotation); in startSeamlessRotationIfNeeded()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 112 int newRotation = DisplayManagerGlobal.getInstance() in updateOrientation() local 115 if (sRotation == null || sRotation != newRotation) { in updateOrientation() 116 sRotation = newRotation; in updateOrientation()
|
/frameworks/base/core/java/android/util/ |
D | RotationUtils.java | 89 @Rotation int newRotation) { in rotateBounds() argument 90 rotateBounds(inOutBounds, parentBounds, deltaRotation(oldRotation, newRotation)); in rotateBounds() 141 public static int deltaRotation(@Rotation int oldRotation, @Rotation int newRotation) { in deltaRotation() argument 142 int delta = newRotation - oldRotation; in deltaRotation()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayController.java | 252 private void onFixedRotationStarted(int displayId, int newRotation) { in onFixedRotationStarted() argument 261 displayId, newRotation); in onFixedRotationStarted() 340 public void onFixedRotationStarted(int displayId, int newRotation) { in onFixedRotationStarted() argument 342 DisplayController.this.onFixedRotationStarted(displayId, newRotation); in onFixedRotationStarted() 389 default void onFixedRotationStarted(int displayId, int newRotation) {} in onFixedRotationStarted() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/ |
D | RotationChangeProviderTest.kt | 94 private fun sendRotationUpdate(newRotation: Int) { in sendRotationUpdate() 95 whenever(display.rotation).thenReturn(newRotation) in sendRotationUpdate()
|
/frameworks/base/core/java/android/view/ |
D | IDisplayWindowListener.aidl | 56 void onFixedRotationStarted(int displayId, int newRotation); in onFixedRotationStarted() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | FullscreenLightRevealAnimation.kt | 240 override fun onRotationChanged(newRotation: Int) { in onRotationChanged() 243 if (currentRotation != newRotation) { in onRotationChanged() 244 currentRotation = newRotation in onRotationChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | FullscreenMagnificationController.java | 315 int newRotation = RotationUtils.getRotation(mContext); in onConfigurationChanged() local 316 if (newRotation != mRotation) { in onConfigurationChanged() 317 mRotation = newRotation; in onConfigurationChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarView.java | 161 int newRotation = RotationUtils.getExactRotation(mContext); in updateDisplayParameters() local 162 if (newRotation != mRotationOrientation) { in updateDisplayParameters() 164 mRotationOrientation = newRotation; in updateDisplayParameters()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | PreviewPositionHelper.java | 185 private int getRotationDelta(int oldRotation, int newRotation) { in getRotationDelta() argument 186 int delta = newRotation - oldRotation; in getRotationDelta()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SurfaceControlTests.java | 178 final int newRotation = activity.getResources().getConfiguration() in testSurfaceChangedOnRotation() local 180 if (rotation == newRotation) { in testSurfaceChangedOnRotation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QuickQSPanelControllerTest.kt | 194 fun setRotation(newRotation: Int) { in getRotation() 195 rotation = newRotation in getRotation()
|
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/ |
D | RotationChangeProvider.kt | 94 @AnyThread fun onRotationChanged(newRotation: Int) in interface()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | WindowMagnificationControllerWindowlessMagnifierTest.java | 553 final int newRotation = simulateRotateTheDevice(); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() local 573 assertEquals(newRotation, mWindowMagnificationController.mRotation); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 588 final int newRotation = simulateRotateTheDevice(); in onOrientationChanged_disabled_updateDisplayRotation() local 593 assertEquals(newRotation, mWindowMagnificationController.mRotation); in onOrientationChanged_disabled_updateDisplayRotation() 1106 final int newRotation = simulateRotateTheDevice(); in enableWindowMagnification_rotationIsChanged_updateRotationValue() local 1112 assertEquals(newRotation, mWindowMagnificationController.mRotation); in enableWindowMagnification_rotationIsChanged_updateRotationValue() 1510 final int newRotation = (currentRotation + 1) % 4; 1511 when(display.getRotation()).thenReturn(newRotation); 1513 return newRotation;
|
D | WindowMagnificationControllerTest.java | 536 final int newRotation = simulateRotateTheDevice(); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() local 556 assertEquals(newRotation, mWindowMagnificationController.mRotation); in onOrientationChanged_enabled_updateDisplayRotationAndCenterStayAtSamePosition() 571 final int newRotation = simulateRotateTheDevice(); in onOrientationChanged_disabled_updateDisplayRotation() local 576 assertEquals(newRotation, mWindowMagnificationController.mRotation); in onOrientationChanged_disabled_updateDisplayRotation() 1078 final int newRotation = simulateRotateTheDevice(); in enableWindowMagnification_rotationIsChanged_updateRotationValue() local 1084 assertEquals(newRotation, mWindowMagnificationController.mRotation); in enableWindowMagnification_rotationIsChanged_updateRotationValue() 1489 final int newRotation = (currentRotation + 1) % 4; 1490 when(display.getRotation()).thenReturn(newRotation); 1492 return newRotation;
|