How does iPhone X take a photo in 1x~2x? – Stack Overflow

iPhone X has two fixed focal lens (1x and 2x). How do they work when we are taking a photo in a amplification factor like 1.5x?
View full source