Loading core/java/android/gesture/Gesture.java +2 −7 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ public class Gesture implements Parcelable { private static int sGestureCount = 0; private RectF mBoundingBox; private final RectF mBoundingBox = new RectF(); // the same as its instance ID private long mGestureID; Loading Loading @@ -83,13 +83,8 @@ public class Gesture implements Parcelable { */ public void addStroke(GestureStroke stroke) { mStrokes.add(stroke); if (mBoundingBox == null) { mBoundingBox = new RectF(stroke.boundingBox); } else { mBoundingBox.union(stroke.boundingBox); } } /** * Get the total length of the gesture. When there are multiple strokes in Loading Loading
core/java/android/gesture/Gesture.java +2 −7 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ public class Gesture implements Parcelable { private static int sGestureCount = 0; private RectF mBoundingBox; private final RectF mBoundingBox = new RectF(); // the same as its instance ID private long mGestureID; Loading Loading @@ -83,13 +83,8 @@ public class Gesture implements Parcelable { */ public void addStroke(GestureStroke stroke) { mStrokes.add(stroke); if (mBoundingBox == null) { mBoundingBox = new RectF(stroke.boundingBox); } else { mBoundingBox.union(stroke.boundingBox); } } /** * Get the total length of the gesture. When there are multiple strokes in Loading