Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ed81492 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 6638 into donut

* changes:
  Unhide android.gestures.
parents ed760377 423d679a
Loading
Loading
Loading
Loading
+1736 −0

File changed.

Preview size limit exceeded, changes collapsed.

+0 −19
Original line number Diff line number Diff line
@@ -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 −1
Original line number Diff line number Diff line
<HTML>
<BODY>
@hide
Provides classes to create, recognize, load and save gestures.
</BODY>
</HTML>