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

Commit 29bc7f65 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 0ed81492: Merge change 6638 into donut

Merge commit '0ed81492'

* commit '0ed81492':
  Unhide android.gestures.
parents c2efaa4a 0ed81492
Loading
Loading
Loading
Loading
+1736 −0

File changed.

Preview size limit exceeded, changes collapsed.

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