summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/camera/ui/FaceView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/ui/FaceView.java b/src/com/android/camera/ui/FaceView.java
index d67b835e4..0596ce784 100644
--- a/src/com/android/camera/ui/FaceView.java
+++ b/src/com/android/camera/ui/FaceView.java
@@ -300,9 +300,9 @@ public class FaceView extends View
if (face.mouth != null) {
Log.e(TAG, "smile: " + face.getSmileDegree() + "," + face.getSmileScore());
if (face.getSmileDegree() < smile_threashold_no_smile) {
- point[0] = face.mouth.x + dx;
+ point[0] = face.mouth.x;
point[1] = face.mouth.y-delta_y +dy;
- point[2] = face.mouth.x + dx;
+ point[2] = face.mouth.x;
point[3] = face.mouth.y+delta_y + dy;
mMatrix.mapPoints (point);
canvas.drawLine(point[0] + dx, point[1] + dy, point[2] +