Implement WindowManageImpl.updateViewLayout

This method is used by Compose to position their dropdowns. In addition
to the positioning of the view, this makes sure that the elevation is
taken into account, including adding a background so that the elevation
can correctly be displayed with shadows.

Bug: 246917880
Test: checked manually in Studio interactive preview
Change-Id: I0f7b6411c6589056ca66ba45bf1b819e8ba77328
(cherry picked from commit d5cc8ce1e5cc30c3e2799a712df0ed0de137c311)
Merged-In: I0f7b6411c6589056ca66ba45bf1b819e8ba77328
3 files changed