How is the screen resolution calculated for phones with curved edges and rounded corners?
Okay I asked ##techsupport on freenode and they answered it. If anyone else is looking for the answer:
The resolution specifies a rectangular screen with the same width and height of the screen. Rounded edges and notches are the rectangular screen with the appropriate bits cut out