Lines Matching refs:previewRotation
43 extern int previewRotation;
373 previewRotation = atoi(cmd + 1); in execute_functional_script()
374 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in execute_functional_script()
786 previewRotation = 0; in execute_functional_script()
787 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in execute_functional_script()
791 previewRotation = ((360-cameraInfo.orientation)%360); in execute_functional_script()
792 if (previewRotation >= 0 || previewRotation <=360) { in execute_functional_script()
793 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in execute_functional_script()
795 printf("previewRotation: %d\n", previewRotation); in execute_functional_script()
799 previewRotation = 0; in execute_functional_script()
800 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in execute_functional_script()