summaryrefslogtreecommitdiff
path: root/core/java/android/window/WindowMetricsHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove the legacy insets modeTiger Huang2020-09-181-16/+1
| | | | | | | | | | This CL also refines the color view logic which checks the system bar appearance instead of system UI flags. Bug: 149813814 Test: atest InsetsAnimationControlImplTest InsetsControllerTest InsetsStateTest InsetsPolicyTest InsetsStateControllerTest Change-Id: I26d93b3508c84e436133085bd316ade54d00d76a
* Add WindowMetricsHelperCharles Chen2020-05-041-0/+64
This metrics now is used for calculating the value reported by Display#getSize. It could be extended to have more function later. Also replace getCurrentMetrics usages to make them report Display#getSize value. Bug: 148904274 Test: atest WindowMetricsHelperTest Change-Id: I182b6e63f7c28752eee22839cb9e69f073046c3f