Lines Matching refs:choice
66 int choice; in hal3appGetUserEvent() local
81 choice = hal3appDisplaySensorMenu(num_of_cameras); in hal3appGetUserEvent()
82 if (choice >= num_of_cameras || choice < 0) { in hal3appGetUserEvent()
87 mCamHal3Base->mCameraIndex = choice; in hal3appGetUserEvent()
88 rc = mCamHal3Base->hal3appCameraLibOpen(choice); in hal3appGetUserEvent()
92 choice = hal3appPrintMenu(); in hal3appGetUserEvent()
93 switch(choice) { in hal3appGetUserEvent()
182 }while(choice != MENU_EXIT); in hal3appGetUserEvent()
189 int i, choice; in hal3appDisplaySensorMenu() local
204 fscanf(stdin, "%d", &choice); in hal3appDisplaySensorMenu()
205 return choice; in hal3appDisplaySensorMenu()
218 int choice; in hal3appDisplayPreviewMenu() local
227 fscanf(stdin, "%d", &choice); in hal3appDisplayPreviewMenu()
228 return choice; in hal3appDisplayPreviewMenu()
276 int i, choice = 0; in hal3appPrintMenu() local
289 choice = ch -'0'; in hal3appPrintMenu()
290 return choice; in hal3appPrintMenu()