commit | 49f329ca66e3cf06a8c6086b77333c68fef5cf5b | [log] [tgz] |
---|---|---|
author | Charles Chen <[email protected]> | Thu Feb 13 16:41:32 2020 +0800 |
committer | Charles Chen <[email protected]> | Mon May 04 11:41:13 2020 +0800 |
tree | e0f253b3b905055bd548bd8490669f667113f990 | |
parent | d827ec8bbd33aec9435575ce55776766e746cdf9 [diff] |
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