void function ( RectF arg0 , float [ ] arg1 ) { if ( arg1 . length < 2 ) return ; for ( int loc0 = 0 ; loc0 < arg1 . length ; loc0 += 2 ) { arg1 [ loc0 ] = GeometryMath . clamp ( arg1 [ loc0 ] , arg0 . left , arg0 . right ) ; arg1 [ loc0 + 1 ] = GeometryMath . clamp ( arg1 [ loc0 + 1 ] , arg0 . top , arg0 . bottom ) ; } }
if edge point x , y in array x0 , y0 , x1 , y1 , ... is outside of the image bound rectangle , clamps it to the edge of the rectangle . concode_field_sep PlaceHolder placeHolder concode_field_sep void fixAspectRatioContained concode_elem_sep int getBitmapSize concode_elem_sep boolean pointInRotatedRect concode_elem_sep boolean pointInRotatedRect concode_elem_sep RectF getScaledCropBounds concode_elem_sep boolean inclusiveContains concode_elem_sep RectF trapToRect concode_elem_sep void fixAspectRatio concode_elem_sep float[] getCornersFromRect concode_elem_sep float[] closestSide concode_elem_sep int constrainedRotation concode_elem_sep float getUnrotated