Add support for multiple displays

This change sets the output size based on the max height and width
across all physical displays. When display size changes, the display
projection is updated. This ensures the entire display is visible when
using screenrecord on foldable devices.

Bug: 261217582
Test: manual test with multiple displays and screen rotations
Change-Id: I8a770308dcaf024a9670c48eba92694b12fcb57a
1 file changed