Skip to content
Snippets Groups Projects
Commit 49f329ca authored by Charles Chen's avatar Charles Chen
Browse files

Add WindowMetricsHelper

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
parent d827ec8b
No related branches found
No related tags found
No related merge requests found
Showing
with 222 additions and 57 deletions
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