DescriptionUpdating 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)
|