Searched refs:degrees (Results 1 – 1 of 1) sorted by relevance
486 int degrees = 0; in setCameraDisplayOrientation() local488 case Surface.ROTATION_0: degrees = 0; break; in setCameraDisplayOrientation()489 case Surface.ROTATION_90: degrees = 90; break; in setCameraDisplayOrientation()490 case Surface.ROTATION_180: degrees = 180; break; in setCameraDisplayOrientation()491 case Surface.ROTATION_270: degrees = 270; break; in setCameraDisplayOrientation()496 result = (info.orientation + degrees) % 360; in setCameraDisplayOrientation()499 result = (info.orientation - degrees + 360) % 360; in setCameraDisplayOrientation()