Android 5.0 Wrong crop regions on preview surface and captured still image
问题 I'm trying to get digital zoomed frame on Android 5.0 with camera2 interface. Appropriate doc for that functionality is developer.android.com/camera2/captureRequest Surface used in my application: SurafaceView (1920x1080, 16:9 aspect ratio) ImageReader (3264x2448, 4:3 aspect ratio) Camera's sensor size is 3280x2464 (4:3 aspect ratio) Crop region which I want to get from sensor is: Rect zoomCropPreview = new Rect(1094, 822, 2186, 1642); //(1092x820, 4:3 aspect ratio) I set this Rect as