Merge change 6638 into donut

* changes:
  Unhide android.gestures.
This commit is contained in:
Android (Google) Code Review
2009-07-09 11:48:12 -07:00
3 changed files with 1737 additions and 20 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -57,11 +57,6 @@ public class Gesture implements Parcelable {
mGestureID = GESTURE_ID_BASE + sGestureCount++; mGestureID = GESTURE_ID_BASE + sGestureCount++;
} }
void recycle() {
mStrokes.clear();
mBoundingBox.setEmpty();
}
/** /**
* @return all the strokes of the gesture * @return all the strokes of the gesture
*/ */
@@ -161,20 +156,6 @@ public class Gesture implements Parcelable {
return mGestureID; return mGestureID;
} }
/**
* 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 * Create a bitmap of the gesture with a transparent background
* *

View File

@@ -1,5 +1,5 @@
<HTML> <HTML>
<BODY> <BODY>
@hide Provides classes to create, recognize, load and save gestures.
</BODY> </BODY>
</HTML> </HTML>