Home
last modified time | relevance | path

Searched refs:newRotation (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java83 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/
DWindowOrientationListener.java1045 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);
DWindowManagerPolicy.java1733 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation); in shouldRotateSeamlessly() argument
DPhoneWindowManager.java8541 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/
DImageWallpaper.java271 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()
DScreenDecorations.java209 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/
DTask.java514 final int newRotation = displayContent.getDisplayInfo().rotation; in updateDisplayInfo() local
515 if (mRotation == newRotation) { in updateDisplayInfo()
531 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateDisplayInfo()
DTaskStack.java434 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()
DDisplayContent.java920 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()
DWindowStateAnimator.java1496 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/
DTestWindowManagerPolicy.java567 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation) {