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

Unified Diff: remoting/android/java/src/org/chromium/chromoting/SimulatedTouchInputStrategy.java

Issue 2255663002: [Remoting Android] Use floating point coords for rendering the cursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/android/java/src/org/chromium/chromoting/SimulatedTouchInputStrategy.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/SimulatedTouchInputStrategy.java b/remoting/android/java/src/org/chromium/chromoting/SimulatedTouchInputStrategy.java
index f7e9263fe514c95933d719fe07af892d061e1936..694ea6aa77bbe18dd8811d149760500fa631b8e0 100644
--- a/remoting/android/java/src/org/chromium/chromoting/SimulatedTouchInputStrategy.java
+++ b/remoting/android/java/src/org/chromium/chromoting/SimulatedTouchInputStrategy.java
@@ -155,7 +155,7 @@ public class SimulatedTouchInputStrategy implements InputStrategyInterface {
private Point getCursorPosition() {
joedow 2016/08/17 17:08:15 Why not use the floating point cursor position eve
Yuwei 2016/08/17 17:42:45 Done. Now using float everywhere and will convert
synchronized (mRenderData) {
- return mRenderData.getCursorPosition();
+ return mRenderData.getIntegerCursorPosition();
}
}

Powered by Google App Engine
This is Rietveld 408576698