diff options
| author | 2024-01-04 01:54:11 +0000 | |
|---|---|---|
| committer | 2024-02-08 21:38:12 +0000 | |
| commit | e2ee483b7c7907af5a88174a406b716a07606e18 (patch) | |
| tree | 4b0b51e8cd4cdee5efb6adcbd8c15d52ca805bd7 /api/api.go | |
| parent | 3feb8b66556df52a38c4faed6578c104df889709 (diff) | |
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions