/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 | 344 final int newRotation = RotationUtils.getExactRotation(mContext); in startOnScreenDecorationsThread() 345 if (mOverlay != null && mBottomOverlay != null && mRotation != newRotation) { in startOnScreenDecorationsThread() 355 Log.i(TAG, "Rotation changed, deferring " + newRotation + ", staying at " in startOnScreenDecorationsThread() 360 new RestartingPreDrawListener(mOverlay, newRotation)); in startOnScreenDecorationsThread() 362 new RestartingPreDrawListener(mBottomOverlay, newRotation)); in startOnScreenDecorationsThread() 497 int newRotation = RotationUtils.getExactRotation(mContext); in updateOrientation() local 498 if (newRotation != mRotation) { in updateOrientation() 499 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 | 1146 void setRotation(int newRotation) { in setRotation() argument 1147 mRotation = newRotation; in setRotation() 1148 mDisplayRotation.setRotation(newRotation); in setRotation() 2714 void rotateBounds(int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument 2715 getBounds(mTmpRect, newRotation); in rotateBounds() 2716 rotateBounds(mTmpRect, oldRotation, newRotation, bounds); in rotateBounds() 2719 void rotateBounds(Rect parentBounds, int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument 2722 final int deltaRotation = deltaRotation(newRotation, oldRotation); in rotateBounds() 2731 static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument 2732 int delta = newRotation - oldRotation; in deltaRotation()
|
D | ActivityStack.java | 600 final int newRotation = getWindowConfiguration().getRotation(); in onConfigurationChanged() local 601 final boolean rotationChanged = prevRotation != newRotation; in onConfigurationChanged() 604 newParentConfig.windowConfiguration.getBounds(), prevRotation, newRotation, in onConfigurationChanged() local
|
D | DisplayPolicy.java | 3524 int newRotation) { in shouldRotateSeamlessly() argument 3531 || newRotation == displayRotation.getUpsideDownRotation()) { in shouldRotateSeamlessly()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowOrientationListener.java | 1049 int newRotation; in onSensorChanged() local 1052 newRotation = evaluateRotationChangeLocked(); in onSensorChanged() 1054 if (newRotation >=0) { in onSensorChanged() 1055 onProposedRotationChanged(newRotation); in onSensorChanged() 1152 int newRotation; 1155 newRotation = evaluateRotationChangeLocked(); 1157 if (newRotation >= 0) { 1158 onProposedRotationChanged(newRotation);
|