…the title of the book while the film was titled…

Is that while in the sense "during the time that" or in the sense "until"?