diff options
author | Romain Guy <romainguy@android.com> | 2009-05-20 10:37:13 -0700 |
---|---|---|
committer | Romain Guy <romainguy@android.com> | 2009-05-20 15:10:45 -0700 |
commit | c534727972c3835ed997e84a349f259915ef2cdd (patch) | |
tree | d53b310647ff5bfd3ac9a1b756ff13511f05f3b4 /tests/sketch/src/com/android/gesture/GesturePoint.java | |
parent | a6cd4e03e6bde0c4b76ad7290eb2c527398478d1 (diff) | |
download | frameworks_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.java | 9 |
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; } } |