/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 | 84 int newRotation = RotationUtils.getRotation(mContext); in onConfigurationChanged() local 85 if (newRotation != mRotation) { in onConfigurationChanged() 86 rotate(mRotation, newRotation); in onConfigurationChanged() 87 mRotation = newRotation; in onConfigurationChanged()
|
D | ScreenDecorations.java | 375 final int newRotation = RotationUtils.getExactRotation(mContext); in startOnScreenDecorationsThread() 376 if (mOverlay != null && mBottomOverlay != null && mRotation != newRotation) { in startOnScreenDecorationsThread() 386 Log.i(TAG, "Rotation changed, deferring " + newRotation + ", staying at " in startOnScreenDecorationsThread() 391 new RestartingPreDrawListener(mOverlay, newRotation)); in startOnScreenDecorationsThread() 393 new RestartingPreDrawListener(mBottomOverlay, newRotation)); in startOnScreenDecorationsThread() 541 int newRotation = RotationUtils.getExactRotation(mContext); in updateOrientation() local 542 if (newRotation != mRotation) { in updateOrientation() 543 mRotation = newRotation; in updateOrientation()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | RotationHelper.java | 83 int newRotation = ((WindowManager) sContext.getSystemService( in updateOrientation() local 86 if (newRotation != sDeviceRotation) { in updateOrientation() 87 sDeviceRotation = newRotation; in updateOrientation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SeamlessRotator.java | 48 public SeamlessRotator(@Rotation int oldRotation, @Rotation int newRotation, DisplayInfo info) { in SeamlessRotator() argument 50 mNewRotation = newRotation; in SeamlessRotator() 58 CoordinateTransforms.transformPhysicalToLogicalCoordinates(newRotation, w, h, tmp); in SeamlessRotator()
|
D | Task.java | 555 final int newRotation = displayContent.getDisplayInfo().rotation; in adjustBoundsForDisplayChangeIfNeeded() local 561 mRotation = newRotation; in adjustBoundsForDisplayChangeIfNeeded() 565 if (mRotation == newRotation) { in adjustBoundsForDisplayChangeIfNeeded() 583 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in adjustBoundsForDisplayChangeIfNeeded()
|
D | DisplayContent.java | 1152 void setRotation(int newRotation) { in setRotation() argument 1153 mRotation = newRotation; in setRotation() 1154 mDisplayRotation.setRotation(newRotation); in setRotation() 2724 void rotateBounds(int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument 2725 getBounds(mTmpRect, newRotation); in rotateBounds() 2726 rotateBounds(mTmpRect, oldRotation, newRotation, bounds); in rotateBounds() 2729 void rotateBounds(Rect parentBounds, int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument 2732 final int deltaRotation = deltaRotation(newRotation, oldRotation); in rotateBounds() 2741 static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument 2742 int delta = newRotation - oldRotation; in deltaRotation()
|
D | ActivityStack.java | 603 final int newRotation = getWindowConfiguration().getRotation(); in onConfigurationChanged() local 604 final boolean rotationChanged = prevRotation != newRotation; in onConfigurationChanged() 607 newParentConfig.windowConfiguration.getBounds(), prevRotation, newRotation, in onConfigurationChanged() local
|
D | DisplayPolicy.java | 3538 int newRotation) { in shouldRotateSeamlessly() argument 3545 || newRotation == displayRotation.getUpsideDownRotation()) { in shouldRotateSeamlessly()
|
/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);
|