Home
last modified time | relevance | path

Searched refs:newRotation (Results 1 – 6 of 6) 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.java988 int newRotation; in onSensorChanged() local
991 newRotation = evaluateRotationChangeLocked(); in onSensorChanged()
993 if (newRotation >=0) { in onSensorChanged()
994 onProposedRotationChanged(newRotation); in onSensorChanged()
1088 int newRotation;
1091 newRotation = evaluateRotationChangeLocked();
1093 if (newRotation >= 0) {
1094 onProposedRotationChanged(newRotation);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java329 int newRotation = displayInfo.rotation; in drawFrame() local
334 if (newRotation != mLastRotation) { in drawFrame()
339 mRotationAtLastSurfaceSizeUpdate = newRotation; in drawFrame()
350 boolean redrawNeeded = surfaceDimensionsChanged || newRotation != mLastRotation; in drawFrame()
358 mLastRotation = newRotation; in drawFrame()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java522 void rotateBounds(int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument
523 final int rotationDelta = DisplayContent.deltaRotation(oldRotation, newRotation); in rotateBounds()
551 static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument
552 int delta = newRotation - oldRotation; in deltaRotation()
DTaskStack.java367 final int newRotation = mDisplayContent.getDisplayInfo().rotation; in updateDisplayInfo() local
369 if (mRotation == newRotation && mDensity == newDensity) { in updateDisplayInfo()
386 final int newRotation = getDisplayInfo().rotation; in updateBoundsAfterConfigChange() local
389 if (mRotation == newRotation && mDensity == newDensity) { in updateBoundsAfterConfigChange()
403 mDisplayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateBoundsAfterConfigChange()
DTask.java580 final int newRotation = displayContent.getDisplayInfo().rotation; in updateDisplayInfo() local
581 if (mRotation == newRotation) { in updateDisplayInfo()
597 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateDisplayInfo()