PlanarYUVLuminanceSource function ( byte [ ] arg0 , int arg1 , int arg2 ) { Rect loc0 = getFramingRectInPreview ( ) ; if ( loc0 == null ) { return null ; } return new PlanarYUVLuminanceSource ( arg0 , arg1 , arg2 , loc0 . left , loc0 . top , loc0 . arg1 ( ) , loc0 . arg2 ( ) , false ) ; }
a factory method to build the appropriate luminancesource object based on the format of the preview buffers , as described by camera.parameters . concode_field_sep int MAX_FRAME_WIDTH concode_elem_sep String TAG concode_elem_sep int requestedFramingRectHeight concode_elem_sep AutoFocusManager autoFocusManager concode_elem_sep int requestedCameraId concode_elem_sep int MAX_FRAME_HEIGHT concode_elem_sep CameraConfigurationManager configManager concode_elem_sep PreviewCallback previewCallback concode_elem_sep Rect framingRectInPreview concode_elem_sep int MIN_FRAME_HEIGHT concode_elem_sep Context context concode_elem_sep Rect framingRect concode_elem_sep boolean initialized concode_elem_sep int requestedFramingRectWidth concode_elem_sep OpenCamera camera concode_elem_sep boolean previewing concode_elem_sep int MIN_FRAME_WIDTH concode_field_sep void requestPreviewFrame concode_elem_sep void stopPreview concode_elem_sep void startPreview concode_elem_sep boolean isOpen concode_elem_sep Rect getFramingRect concode_elem_sep void setManualFramingRect concode_elem_sep int findDesiredDimensionInRange concode_elem_sep void closeDriver concode_elem_sep void setManualCameraId concode_elem_sep void setTorch concode_elem_sep void openDriver concode_elem_sep Rect getFramingRectInPreview