summaryrefslogtreecommitdiffstats
path: root/tests/sketch/src/com/android/gesture/GesturePoint.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-05-20 10:37:13 -0700
committerRomain Guy <romainguy@android.com>2009-05-20 15:10:45 -0700
commitc534727972c3835ed997e84a349f259915ef2cdd (patch)
treed53b310647ff5bfd3ac9a1b756ff13511f05f3b4 /tests/sketch/src/com/android/gesture/GesturePoint.java
parenta6cd4e03e6bde0c4b76ad7290eb2c527398478d1 (diff)
downloadframeworks_base-c534727972c3835ed997e84a349f259915ef2cdd.zip
frameworks_base-c534727972c3835ed997e84a349f259915ef2cdd.tar.gz
frameworks_base-c534727972c3835ed997e84a349f259915ef2cdd.tar.bz2
First pass at cleaning up the gestures code.
Diffstat (limited to 'tests/sketch/src/com/android/gesture/GesturePoint.java')
-rw-r--r--tests/sketch/src/com/android/gesture/GesturePoint.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/sketch/src/com/android/gesture/GesturePoint.java b/tests/sketch/src/com/android/gesture/GesturePoint.java
index d06eff47..81e59a4 100644
--- a/tests/sketch/src/com/android/gesture/GesturePoint.java
+++ b/tests/sketch/src/com/android/gesture/GesturePoint.java
@@ -21,15 +21,14 @@ package com.android.gesture;
*/
public class GesturePoint {
- public final float xpos;
-
- public final float ypos;
+ public final float x;
+ public final float y;
public final long timestamp;
public GesturePoint(float x, float y, long t) {
- xpos = x;
- ypos = y;
+ this.x = x;
+ this.y = y;
timestamp = t;
}
}