get Best Aspect Picture Size
fun getBestAspectPictureSize(displayOrientation: Int, width: Int, height: Int, parameters: Camera.Parameters, closeEnough: Double): Camera.Size?
Return
Camera.Size that matches display port most
Parameters
display Orientation
display orientation angle (0-270)
width
target display port width
height
target display port height
parameters
Camera.Parameters to get supported sizes from
close Enough
maximum deviation to stop searching for best size, pass 0 to go through all sizes