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

Unified Diff: remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.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: Merge ToT 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/TrackpadInputStrategy.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.java b/remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.java
index dbbc584163e559dcdf6c6c8eec48fe2de7a2fd00..b454ebe656992ecebd6e939b37ddbd13dab49627 100644
--- a/remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.java
+++ b/remoting/android/java/src/org/chromium/chromoting/TrackpadInputStrategy.java
@@ -4,7 +4,7 @@
package org.chromium.chromoting;
-import android.graphics.Point;
+import android.graphics.PointF;
import android.view.MotionEvent;
/**
@@ -76,7 +76,7 @@ public class TrackpadInputStrategy implements InputStrategyInterface {
return true;
}
- private Point getCursorPosition() {
+ private PointF getCursorPosition() {
synchronized (mRenderData) {
return mRenderData.getCursorPosition();
}

Powered by Google App Engine
This is Rietveld 408576698