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

Issue 2378303002: Adjust viewport center when in trackpad input mode. (Closed)

Created:
4 years, 2 months ago by joedow
Modified:
4 years, 2 months ago
Reviewers:
Lambros
CC:
chromium-reviews, agrieve+watch_chromium.org, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adjust viewport center when in trackpad input mode. This change adjusts the center of the viewport when user is using trackpad mode. Without this change, large System UI (such as soft input methods) can obscure the cursor and prevent the user from entering text in edit controls near the bottom of the screen. This change addresses this by shifting the cursor position and viewport up by 50% of the total viewport size, ensuring it is placed near the mid-point of the viewable area. BUG=621633 Committed: https://crrev.com/03431887b157c8db6fb738abdae93c7463f4ba3b Cr-Commit-Position: refs/heads/master@{#423251}

Patch Set 1 #

Patch Set 2 : Merging with changes in dependent CL #

Patch Set 3 : Merging with ToT #

Total comments: 10

Patch Set 4 : Addressing CR feedback #

Patch Set 5 : Removing the float comparison and making the logic for applying the cursor offset a bit cleaner #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -6 lines) Patch
M remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java View 1 2 3 4 5 chunks +43 lines, -6 lines 0 comments Download
M remoting/android/java/src/org/chromium/chromoting/TouchInputHandler.java View 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 36 (26 generated)
joedow
I'm sending this out before the dependent CL is LGTM'd so I can receive feedback ...
4 years, 2 months ago (2016-10-03 17:07:35 UTC) #10
joedow
Merged changes with ToT, PTAL!
4 years, 2 months ago (2016-10-05 00:45:17 UTC) #16
Lambros
https://codereview.chromium.org/2378303002/diff/60001/remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java File remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java (right): https://codereview.chromium.org/2378303002/diff/60001/remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java#newcode30 remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java:30: * Represents the actual center of the viewport in ...
4 years, 2 months ago (2016-10-05 01:35:54 UTC) #19
joedow
Addressed feedback, PTAL! https://codereview.chromium.org/2378303002/diff/60001/remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java File remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java (right): https://codereview.chromium.org/2378303002/diff/60001/remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java#newcode30 remoting/android/java/src/org/chromium/chromoting/DesktopCanvas.java:30: * Represents the actual center of ...
4 years, 2 months ago (2016-10-05 16:12:26 UTC) #22
joedow
4 years, 2 months ago (2016-10-05 16:37:13 UTC) #27
Lambros
lgtm
4 years, 2 months ago (2016-10-05 19:13:33 UTC) #30
joedow
Thanks!
4 years, 2 months ago (2016-10-05 19:20:54 UTC) #31
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/2378303002/100001
4 years, 2 months ago (2016-10-05 19:21:59 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 2 months ago (2016-10-05 19:28:38 UTC) #34
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 19:31:34 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/03431887b157c8db6fb738abdae93c7463f4ba3b
Cr-Commit-Position: refs/heads/master@{#423251}

Powered by Google App Engine
This is Rietveld 408576698