Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a4b69f84 authored by Tiger Huang's avatar Tiger Huang
Browse files

Introduce WindowlessWindowLayout

The window frame computed by WindowlessWindowManager doesn't take the
window bounds, insets state, gravity, ... into account, but only width
and height in LayoutParams. This CL introduces WindowlessWindowLayout
which aligns the logic in WindowlessWindowManager#relayout. When we
enable LOCAL_LAYOUT, the frame of windowless window will be compatible.

Bug: 161810301
Bug: 175858823
Test: atest SurfaceControlViewHostTests#testEmbeddedViewResizes
Change-Id: I460445e9d6b61117edbdaddeac6a00a838b3caa8
parent 83569534
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment