Lines Matching refs:rotation
2460 int rotation = params.getInt(KEY_QC_VIDEO_ROTATION); in setVideoRotation() local
2461 if (rotation != -1) { in setVideoRotation()
2462 if (rotation == 0 || rotation == 90 || in setVideoRotation()
2463 rotation == 180 || rotation == 270) { in setVideoRotation()
2464 set(KEY_QC_VIDEO_ROTATION, rotation); in setVideoRotation()
2466 ALOGE("Invalid rotation value: %d", rotation); in setVideoRotation()
2487 int rotation = params.getInt(KEY_ROTATION); in setRotation() local
2488 if (rotation != -1) { in setRotation()
2489 if (rotation == 0 || rotation == 90 || in setRotation()
2490 rotation == 180 || rotation == 270) { in setRotation()
2491 set(KEY_ROTATION, rotation); in setRotation()
2493 ALOGE("Invalid rotation value: %d", rotation); in setRotation()
6889 featureConfig.rotation = ROTATE_0; in getStreamRotation()
6896 featureConfig.rotation = ROTATE_90; in getStreamRotation()
6901 featureConfig.rotation = ROTATE_180; in getStreamRotation()
6905 featureConfig.rotation = ROTATE_270; in getStreamRotation()
6909 featureConfig.rotation = ROTATE_0; in getStreamRotation()
7467 int rotation = getInt(KEY_ROTATION); in getJpegRotation() local
7468 if (rotation < 0) { in getJpegRotation()
7469 rotation = 0; in getJpegRotation()
7471 return rotation; in getJpegRotation()