summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-09 12:50:40 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-07-09 12:50:40 -0700
commit29bc7f65b4d4935607be9214e3cdc9b4a78f4910 (patch)
tree1904f9c59ba75351e37c241e671c0b05890752a3 /core
parentc2efaa4ab0ba9e7fa743862aef10eaf63b306cdb (diff)
parent0ed81492bcc33f483671a52811125a452d23b397 (diff)
downloadframeworks_base-29bc7f65b4d4935607be9214e3cdc9b4a78f4910.zip
frameworks_base-29bc7f65b4d4935607be9214e3cdc9b4a78f4910.tar.gz
frameworks_base-29bc7f65b4d4935607be9214e3cdc9b4a78f4910.tar.bz2
am 0ed81492: Merge change 6638 into donut
Merge commit '0ed81492bcc33f483671a52811125a452d23b397' * commit '0ed81492bcc33f483671a52811125a452d23b397': Unhide android.gestures.
Diffstat (limited to 'core')
-rwxr-xr-xcore/java/android/gesture/Gesture.java19
-rw-r--r--core/java/android/gesture/package.html2
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>