/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 107 @Rotation int newRotation, DisplayInfo info, Matrix out) { in transformToRotation() argument 114 transformPhysicalToLogicalCoordinates(newRotation, w, h, tmp); in transformToRotation() 129 @Rotation int newRotation, int newWidth, int newHeight, Matrix out) { in transformToRotation() argument 130 final boolean flipped = newRotation == ROTATION_90 || newRotation == ROTATION_270; in transformToRotation() 136 transformPhysicalToLogicalCoordinates(newRotation, w, h, tmp); in transformToRotation()
|
/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 | 236 final int newRotation = mContext.getDisplay().getRotation(); in startOnScreenDecorationsThread() 237 if (mOverlays != null && mRotation != newRotation) { in startOnScreenDecorationsThread() 247 Log.i(TAG, "Rotation changed, deferring " + newRotation + ", staying at " in startOnScreenDecorationsThread() 254 new RestartingPreDrawListener(mOverlays[i], i, newRotation)); in startOnScreenDecorationsThread() 576 int newRotation = mContext.getDisplay().getRotation(); in updateOrientation() local 577 if (newRotation != mRotation) { in updateOrientation() 578 mRotation = newRotation; in updateOrientation()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 84 int newRotation = ((WindowManager) sContext.getSystemService( in updateOrientation() local 87 if (newRotation != sDeviceRotation) { in updateOrientation() 88 sDeviceRotation = newRotation; in updateOrientation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SeamlessRotator.java | 58 public SeamlessRotator(@Rotation int oldRotation, @Rotation int newRotation, DisplayInfo info, in SeamlessRotator() argument 61 mNewRotation = newRotation; in SeamlessRotator() 70 CoordinateTransforms.transformPhysicalToLogicalCoordinates(newRotation, pW, pH, tmp); in SeamlessRotator()
|
D | DisplayWindowListenerController.java | 99 void dispatchFixedRotationStarted(DisplayContent display, int newRotation) { in dispatchFixedRotationStarted() argument 104 display.mDisplayId, newRotation); in dispatchFixedRotationStarted()
|
D | DisplayContent.java | 2814 void rotateBounds(int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument 2815 getBounds(mTmpRect, newRotation); in rotateBounds() 2816 rotateBounds(mTmpRect, oldRotation, newRotation, bounds); in rotateBounds() 2819 void rotateBounds(Rect parentBounds, int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument 2822 final int deltaRotation = deltaRotation(newRotation, oldRotation); in rotateBounds() 2831 static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument 2832 int delta = newRotation - oldRotation; in deltaRotation() 5343 private void applyRotationAndFinishFixedRotation(int oldRotation, int newRotation) { in applyRotationAndFinishFixedRotation() argument 5346 applyRotation(oldRotation, newRotation); in applyRotationAndFinishFixedRotation() 5351 () -> applyRotation(oldRotation, newRotation)); in applyRotationAndFinishFixedRotation()
|
D | DisplayRotation.java | 591 boolean shouldRotateSeamlessly(int oldRotation, int newRotation, boolean forceUpdate) { in shouldRotateSeamlessly() argument 613 if (oldRotation == mUpsideDownRotation || newRotation == mUpsideDownRotation) { in shouldRotateSeamlessly()
|
D | Task.java | 3062 final int newRotation = displayContent.getDisplayInfo().rotation; in adjustBoundsForDisplayChangeIfNeeded() local 3068 mRotation = newRotation; in adjustBoundsForDisplayChangeIfNeeded() 3072 if (mRotation == newRotation) { in adjustBoundsForDisplayChangeIfNeeded() 3090 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in adjustBoundsForDisplayChangeIfNeeded()
|
D | ActivityStack.java | 610 final int newRotation = getWindowConfiguration().getRotation(); in onConfigurationChanged() local 611 final boolean rotationChanged = prevRotation != newRotation; in onConfigurationChanged() 614 newParentConfig.windowConfiguration.getBounds(), prevRotation, newRotation, in onConfigurationChanged() local
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowOrientationListener.java | 1049 int newRotation; in onSensorChanged() local 1058 newRotation = evaluateRotationChangeLocked(); in onSensorChanged() 1060 if (newRotation >=0) { in onSensorChanged() 1061 onProposedRotationChanged(newRotation); in onSensorChanged() 1158 int newRotation; 1161 newRotation = evaluateRotationChangeLocked(); 1163 if (newRotation >= 0) { 1164 onProposedRotationChanged(newRotation);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/ |
D | DisplayController.java | 139 public void onFixedRotationStarted(int displayId, int newRotation) { 149 displayId, newRotation); 272 default void onFixedRotationStarted(int displayId, int newRotation) {} in onFixedRotationStarted() argument
|
/frameworks/base/core/java/android/view/ |
D | IDisplayWindowListener.aidl | 52 void onFixedRotationStarted(int displayId, int newRotation); in onFixedRotationStarted() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarView.java | 151 int newRotation = RotationUtils.getExactRotation(mContext); in updateOrientationAndCutout() local 152 if (newRotation != mRotationOrientation) { in updateOrientationAndCutout() 154 mRotationOrientation = newRotation; in updateOrientationAndCutout()
|
D | NavigationBarFragment.java | 687 private int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument 688 int delta = newRotation - oldRotation; in deltaRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | SplitDisplayLayout.java | 71 void rotateTo(int newRotation) { in rotateTo() argument 72 mDisplayLayout.rotateTo(mContext.getResources(), newRotation); in rotateTo() local
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskManagerServiceTests.java | 156 public void onFixedRotationStarted(int displayId, int newRotation) {} in testDisplayWindowListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipManager.java | 135 public void onFixedRotationStarted(int displayId, int newRotation) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/ |
D | PipTaskOrganizer.java | 525 public void onFixedRotationStarted(int displayId, int newRotation) { in onFixedRotationStarted() argument
|