Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Issue 2859313002: android: Fix display size under multiwindow (Closed)

Created:
3 years, 7 months ago by boliu
Modified:
3 years, 7 months ago
Reviewers:
Ted C, mthiesse
CC:
chromium-reviews, feature-vr-reviews_chromium.org, android-webview-reviews_chromium.org, oshima+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

android: Fix display size under multiwindow Android did not update the docs when multiwindow was implemented. But essentially Display.getSize/getMetrics no longer refer to the Display size, but to the window size, in order to be backwards compatible. Fix and simply DisplayAndroid. Remove the distinction between "size" and "physical size" by removing the concept of "physical" size. Always just get the most correct size available. Went through all use cases getSize. They all either don't care, or was already trying to get the most correct value. Review-Url: https://codereview.chromium.org/2859313002 Cr-Commit-Position: refs/heads/master@{#469554} Committed: https://chromium.googlesource.com/chromium/src/+/799c3a19b81b7ae194e4740defb95656f6de7034

Patch Set 1 #

Messages

Total messages: 13 (8 generated)
boliu
tedchoc: look over the whole thing. Unfortunately most call sites did not require any change, ...
3 years, 7 months ago (2017-05-04 23:25:44 UTC) #4
mthiesse
VrShellImpl lgtm
3 years, 7 months ago (2017-05-04 23:40:02 UTC) #5
Ted C
lgtm
3 years, 7 months ago (2017-05-05 00:41:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2859313002/1
3 years, 7 months ago (2017-05-05 00:45:50 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 00:51:44 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/799c3a19b81b7ae194e4740defb9...

Powered by Google App Engine
This is Rietveld 408576698