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

Skip to content
Commit e2ee483b authored by Jorge Gil's avatar Jorge Gil
Browse files

Add WindowInsets#getBoundingRects APIs

Adds:
1) getBoundingRects(): to obtain the rectangles within Insets that are
partially or fully obscuring the window
2) getFrame(): to query the size of the window during WindowInsets
updates
3) WCT#addInsetsSource w/boundingRects param: for sources (e.g. WM
Shell's caption bar) to specify the bounding rects.

Bug: 316387515
Flag: ACONFIG android.view.flags.customizable_window_headers DEVELOPMENT
Test: atest InsetsSourceTest WindowInsetsTest InsetsStateTest
WindowDecorationTests WindowOrganizerTests

Change-Id: If044d67e0614b9ca336169487b54b04004394066
parent 3feb8b66
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