Home
last modified time | relevance | path

Searched refs:previewRotation (Results 1 – 2 of 2) sorted by relevance

/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_script.cpp43 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()
[all …]
Dcamera_test_menu.cpp79 int previewRotation = 0; variable
2151 previewRotation = 0; in initDefaults()
2194 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in initDefaults()
2594 … snprintf(area1[j++], MAX_SYMBOLS, "V. Preview Rotation: %3d degree", previewRotation ); in functional_menu()
2759 previewRotation += 90; in functional_menu()
2760 previewRotation %= 360; in functional_menu()
2761 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in functional_menu()
3146 previewRotation = 0; in functional_menu()
3147 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in functional_menu()
3151 previewRotation = ((360-cameraInfo.orientation)%360); in functional_menu()
[all …]