Support for camera focus modes