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

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

Move all the window layout logic to WindowLayout

This CL removes redundant layout logic in computeFrame and moves all the
window layout logic to WindowLayout. We don't need mContainingFrame in
WindowFrames anymore.

The goal in the future is to let the client side to invoke
WindowLayout#computeWindowFrames, and then send the frames to the
server. The server will only use the method to layout the insets source
windows.

Bug: 161810301
Bug: 175858823
Test: atest DisplayPolicyLayoutTests WindowLayoutTests
            DialogFrameTests ManifestLayoutTests ToastWindowTest
Change-Id: I91aa8051970cb8f30f4c13849a4db79b16182075
parent dc89b434
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