Merge change 6638 into donut
* changes: Unhide android.gestures.
This commit is contained in:
1736
api/current.xml
1736
api/current.xml
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
*/
|
||||
@@ -161,20 +156,6 @@ public class Gesture implements Parcelable {
|
||||
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
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<HTML>
|
||||
<BODY>
|
||||
@hide
|
||||
Provides classes to create, recognize, load and save gestures.
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Reference in New Issue
Block a user