Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DRotationHelper.java100 int newRotation = ((WindowManager) sContext.getSystemService( in updateOrientation() local
103 if (newRotation != sDeviceRotation) { in updateOrientation()
104 sDeviceRotation = newRotation; in updateOrientation()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java1012 int newRotation; in onSensorChanged() local
1015 newRotation = evaluateRotationChangeLocked(); in onSensorChanged()
1017 if (newRotation >=0) { in onSensorChanged()
1018 onProposedRotationChanged(newRotation); in onSensorChanged()
1114 int newRotation;
1117 newRotation = evaluateRotationChangeLocked();
1119 if (newRotation >= 0) {
1120 onProposedRotationChanged(newRotation);
DPhoneWindowManager.java8153 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation) { in shouldRotateSeamlessly() argument
8159 if (oldRotation == mUpsideDownRotation || newRotation == mUpsideDownRotation) { in shouldRotateSeamlessly()
8168 int delta = newRotation - oldRotation; in shouldRotateSeamlessly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java318 int newRotation = displayInfo.rotation; in drawFrame() local
323 if (newRotation != mLastRotation) { in drawFrame()
328 mRotationAtLastSurfaceSizeUpdate = newRotation; in drawFrame()
339 boolean redrawNeeded = surfaceDimensionsChanged || newRotation != mLastRotation; in drawFrame()
347 mLastRotation = newRotation; in drawFrame()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java555 final int newRotation = displayContent.getDisplayInfo().rotation; in updateDisplayInfo() local
556 if (mRotation == newRotation) { in updateDisplayInfo()
572 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateDisplayInfo()
DTaskStack.java395 final int newRotation = mDisplayContent.getDisplayInfo().rotation; in updateDisplayInfo() local
397 if (mRotation == newRotation && mDensity == newDensity) { in updateDisplayInfo()
429 final int newRotation = getDisplayInfo().rotation; in updateBoundsAfterConfigChange() local
432 if (mRotation == newRotation && mDensity == newDensity) { in updateBoundsAfterConfigChange()
445 mDisplayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateBoundsAfterConfigChange()
DDisplayContent.java876 void setRotation(int newRotation) { in setRotation() argument
877 mRotation = newRotation; in setRotation()
2043 void rotateBounds(int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument
2044 getLogicalDisplayRect(mTmpRect, newRotation); in rotateBounds()
2048 final int deltaRotation = deltaRotation(newRotation, oldRotation); in rotateBounds()
2056 static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument
2057 int delta = newRotation - oldRotation; in deltaRotation()
DWindowStateAnimator.java1989 void seamlesslyRotateWindow(int oldRotation, int newRotation) { in seamlesslyRotateWindow() argument
2011 final int deltaRotation = DisplayContent.deltaRotation(newRotation, oldRotation); in seamlesslyRotateWindow()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTestWindowManagerPolicy.java628 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation) {
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java1693 public boolean shouldRotateSeamlessly(int oldRotation, int newRotation); in shouldRotateSeamlessly() argument