diff options
author | 2022-08-29 16:08:00 +0800 | |
---|---|---|
committer | 2022-11-29 15:48:50 +0800 | |
commit | 2742c68f6c129024923591a205b66aeb02805563 (patch) | |
tree | f002dbe6113179d24c371fa4d3311a9bd51e36f9 /libs/androidfw/Idmap.cpp | |
parent | 39f3eae9dc3dd71638fe0f772a7ac6382e81742b (diff) |
Support DisplayShape
Provide APIs to query display shape information:
- Added a DisplayShape class which provide a Path.
- Added a new API in Display to get the DisplayShape based on the
display coordinates.
- Added a new API in WindowInsets to get the relative DisplayShape
based on the window frame.
Bug: 236935288
Test: atest DisplayShapeTest LocalDisplayAdapterTest WindowInsetsTest
InsetsStateTest DisplayPolicyLayoutTests DisplayPolicyTests
WallpaperControllerTests
Change-Id: I7aacfcae42203d3f57cd577da5a69180f66780ad
Diffstat (limited to 'libs/androidfw/Idmap.cpp')
0 files changed, 0 insertions, 0 deletions