diff options
| author | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-09 11:48:12 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-07-09 11:48:12 -0700 |
| commit | 0ed81492bcc33f483671a52811125a452d23b397 (patch) | |
| tree | acd172af01b45cd60576e4bfbd8d61291720f640 /core | |
| parent | ed7603779282d416356ce3c9739056d632307275 (diff) | |
| parent | 423d679a4734a82dba1c6f62acbd9a87c53d1d28 (diff) | |
| download | frameworks_base-0ed81492bcc33f483671a52811125a452d23b397.zip frameworks_base-0ed81492bcc33f483671a52811125a452d23b397.tar.gz frameworks_base-0ed81492bcc33f483671a52811125a452d23b397.tar.bz2 | |
Merge change 6638 into donut
* changes:
Unhide android.gestures.
Diffstat (limited to 'core')
| -rwxr-xr-x | core/java/android/gesture/Gesture.java | 19 | ||||
| -rw-r--r-- | core/java/android/gesture/package.html | 2 |
2 files changed, 1 insertions, 20 deletions
diff --git a/core/java/android/gesture/Gesture.java b/core/java/android/gesture/Gesture.java index 2262477..c92f665 100755 --- a/core/java/android/gesture/Gesture.java +++ b/core/java/android/gesture/Gesture.java @@ -57,11 +57,6 @@ public class Gesture implements Parcelable { mGestureID = GESTURE_ID_BASE + sGestureCount++; } - void recycle() { - mStrokes.clear(); - mBoundingBox.setEmpty(); - } - /** * @return all the strokes of the gesture */ @@ -162,20 +157,6 @@ public class Gesture implements Parcelable { } /** - * draw the gesture - * - * @param canvas - */ - void draw(Canvas canvas, Paint paint) { - final ArrayList<GestureStroke> strokes = mStrokes; - final int count = strokes.size(); - - for (int i = 0; i < count; i++) { - strokes.get(i).draw(canvas, paint); - } - } - - /** * Create a bitmap of the gesture with a transparent background * * @param width width of the target bitmap diff --git a/core/java/android/gesture/package.html b/core/java/android/gesture/package.html index a54a017..32c44d2 100644 --- a/core/java/android/gesture/package.html +++ b/core/java/android/gesture/package.html @@ -1,5 +1,5 @@ <HTML> <BODY> -@hide +Provides classes to create, recognize, load and save gestures. </BODY> </HTML> |
