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

Issue 2105843002: Updating SystemUI visibility events in Adroid Client. (Closed)

Created:
4 years, 5 months ago by joedow
Modified:
4 years, 5 months ago
Reviewers:
Lambros
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Updating SystemUI visibility events in Android Client. This change is the basis for an upcoming change which will allow the user to scroll the remote desktop canvas out from under System UI which would otherwise obscure it. This change has two main pieces: 1.) I change the 'soft input mode visible' event into a more generic System UI visible event. This event will now be used to inform interested listeners what the offsets are for the LTRB sides of the screen so the underlying UI can react accordingly. 2.) This change moves some viewport calculation code into the DesktopCanvas class. The DesktopCanvas class is aware of the SystemUI offsets and also handles positioning the canvas so this felt like the right place to add in the UI ratcheting code later on. BUG=621633 Committed: https://crrev.com/cc96f13a7997a739acfc693e33f1247362dea4cd Cr-Commit-Position: refs/heads/master@{#403253}

Patch Set 1 #

Patch Set 2 : Merging with changes from ToT #

Patch Set 3 : Removing some leftover bits meant for the next CL. #

Patch Set 4 : Formatting updates. #

Total comments: 16

Patch Set 5 : Addressing feedback #

Messages

Total messages: 13 (5 generated)
joedow
This is the first change needed to allow for scrolling the remote desktop canvas out ...
4 years, 5 months ago (2016-06-28 21:12:14 UTC) #3
joedow
Ping!
4 years, 5 months ago (2016-06-29 16:01:42 UTC) #4
Lambros
https://codereview.chromium.org/2105843002/diff/60001/remoting/android/java/src/org/chromium/chromoting/Desktop.java File remoting/android/java/src/org/chromium/chromoting/Desktop.java (right): https://codereview.chromium.org/2105843002/diff/60001/remoting/android/java/src/org/chromium/chromoting/Desktop.java#newcode375 remoting/android/java/src/org/chromium/chromoting/Desktop.java:375: return ((getWindow().getDecorView().getSystemUiVisibility() & getFullscreenFlags()) == 0); Remove outermost parentheses. ...
4 years, 5 months ago (2016-06-29 20:43:37 UTC) #5
joedow
Addressed CR Feedback, PTAL! Thanks! https://codereview.chromium.org/2105843002/diff/60001/remoting/android/java/src/org/chromium/chromoting/Desktop.java File remoting/android/java/src/org/chromium/chromoting/Desktop.java (right): https://codereview.chromium.org/2105843002/diff/60001/remoting/android/java/src/org/chromium/chromoting/Desktop.java#newcode375 remoting/android/java/src/org/chromium/chromoting/Desktop.java:375: return ((getWindow().getDecorView().getSystemUiVisibility() & getFullscreenFlags()) ...
4 years, 5 months ago (2016-06-30 16:03:26 UTC) #7
Lambros
lgtm
4 years, 5 months ago (2016-06-30 18:01:27 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/2105843002/80001
4 years, 5 months ago (2016-06-30 19:08:13 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-06-30 19:40:53 UTC) #11
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 19:43:27 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cc96f13a7997a739acfc693e33f1247362dea4cd
Cr-Commit-Position: refs/heads/master@{#403253}

Powered by Google App Engine
This is Rietveld 408576698