Searched refs:newRotation (Results 1 – 6 of 6) sorted by relevance
100 int newRotation = ((WindowManager) sContext.getSystemService( in updateOrientation() local103 if (newRotation != sDeviceRotation) { in updateOrientation()104 sDeviceRotation = newRotation; in updateOrientation()
988 int newRotation; in onSensorChanged() local991 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);
329 int newRotation = displayInfo.rotation; in drawFrame() local334 if (newRotation != mLastRotation) { in drawFrame()339 mRotationAtLastSurfaceSizeUpdate = newRotation; in drawFrame()350 boolean redrawNeeded = surfaceDimensionsChanged || newRotation != mLastRotation; in drawFrame()358 mLastRotation = newRotation; in drawFrame()
522 void rotateBounds(int oldRotation, int newRotation, Rect bounds) { in rotateBounds() argument523 final int rotationDelta = DisplayContent.deltaRotation(oldRotation, newRotation); in rotateBounds()551 static int deltaRotation(int oldRotation, int newRotation) { in deltaRotation() argument552 int delta = newRotation - oldRotation; in deltaRotation()
367 final int newRotation = mDisplayContent.getDisplayInfo().rotation; in updateDisplayInfo() local369 if (mRotation == newRotation && mDensity == newDensity) { in updateDisplayInfo()386 final int newRotation = getDisplayInfo().rotation; in updateBoundsAfterConfigChange() local389 if (mRotation == newRotation && mDensity == newDensity) { in updateBoundsAfterConfigChange()403 mDisplayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateBoundsAfterConfigChange()
580 final int newRotation = displayContent.getDisplayInfo().rotation; in updateDisplayInfo() local581 if (mRotation == newRotation) { in updateDisplayInfo()597 displayContent.rotateBounds(mRotation, newRotation, mTmpRect2); in updateDisplayInfo()