Searched refs:newRotation (Results 1 – 11 of 11) sorted by relevance
/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/policy/ |
D | WindowOrientationListener.java | 1045 int newRotation; in onSensorChanged() local 1048 newRotation = evaluateRotationChangeLocked(); in onSensorChanged() 1050 if (newRotation >=0) { in onSensorChanged() 1051 onProposedRotationChanged(newRotation); in onSensorChanged() 1148 int newRotation; 1151 newRotation = evaluateRotationChangeLocked(); 1153 if (newRotation >= 0) { 1154 onProposedRotationChanged(newRotation);
|
D | WindowManagerPolicy.java | 1733 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation); in shouldRotateSeamlessly() argument
|
D | PhoneWindowManager.java | 8541 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation) { in shouldRotateSeamlessly() argument 8547 if (oldRotation == mUpsideDownRotation || newRotation == mUpsideDownRotation) { in shouldRotateSeamlessly() 8556 int delta = newRotation - oldRotation; in shouldRotateSeamlessly()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 271 int newRotation = displayInfo.rotation; in drawFrame() local 276 if (newRotation != mLastRotation) { in drawFrame() 281 mRotationAtLastSurfaceSizeUpdate = newRotation; in drawFrame() 292 boolean redrawNeeded = surfaceDimensionsChanged || newRotation != mLastRotation in drawFrame() 301 mLastRotation = newRotation; in drawFrame()
|
D | ScreenDecorations.java | 209 int newRotation = RotationUtils.getExactRotation(mContext); in updateOrientation() local 210 if (newRotation != mRotation) { in updateOrientation() 211 mRotation = newRotation; in updateOrientation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Task.java | 514 final int newRotation = displayContent.getDisplayInfo().rotation; in updateDisplayInfo() local 515 if (mRotation == newRotation) { in updateDisplayInfo() 531 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateDisplayInfo()
|
D | TaskStack.java | 434 final int newRotation = mDisplayContent.getDisplayInfo().rotation; in updateDisplayInfo() local 436 if (mRotation == newRotation && mDensity == newDensity) { in updateDisplayInfo() 468 final int newRotation = getDisplayInfo().rotation; in updateBoundsAfterConfigChange() local 471 if (mRotation == newRotation && mDensity == newDensity) { in updateBoundsAfterConfigChange() 484 mDisplayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateBoundsAfterConfigChange()
|
D | DisplayContent.java | 920 void setRotation(int newRotation) { in setRotation() argument 921 mRotation = newRotation; in setRotation() 2155 void rotateBounds(int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument 2156 getBounds(mTmpRect, newRotation); in rotateBounds() 2160 final int deltaRotation = deltaRotation(newRotation, oldRotation); in rotateBounds() 2168 static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument 2169 int delta = newRotation - oldRotation; in deltaRotation()
|
D | WindowStateAnimator.java | 1496 int oldRotation, int newRotation) { in seamlesslyRotateWindow() argument 1518 final int deltaRotation = DisplayContent.deltaRotation(newRotation, oldRotation); in seamlesslyRotateWindow()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TestWindowManagerPolicy.java | 567 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation) {
|