支持缩放变焦

This commit is contained in:
jenly1314
2018-11-26 10:21:15 +08:00
parent 388f688145
commit 85110d74dc
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -796,7 +796,7 @@ public class CaptureActivity extends Activity implements SurfaceHolder.Callback
return super.onTouchEvent(event);
}
if (event.getPointerCount() == 1) {//单点触控,聚焦
focusOnTouch(event,camera);
// focusOnTouch(event,camera);
} else {
switch (event.getAction() & MotionEvent.ACTION_MASK) {//多点触控
case MotionEvent.ACTION_POINTER_DOWN: