question: @ SuppressWarnings ( "deprecation" ) protected void processStyledAttributes ( @ NonNull TypedArray a ) { float targetAspectRatioX = Math . abs ( a . getFloat ( R . styleable . gallery_ucrop_UCropView_gallery_ucrop_aspect_ratio_x , DEFAULT_ASPECT_RATIO ) ) ; float targetAspectRatioY = Math . abs ( a . getFloat ( R . styleable . gallery_ucrop_UCropView_gallery_ucrop_aspect_ratio_y , DEFAULT_ASPECT_RATIO ) ) ; if ( targetAspectRatioX == SOURCE_IMAGE_ASPECT_RATIO || targetAspectRatioY == SOURCE_IMAGE_ASPECT_RATIO ) { mTargetAspectRatio = SOURCE_IMAGE_ASPECT_RATIO ; } else { mTargetAspectRatio = targetAspectRatioX / targetAspectRatioY ; } }
target:  This method extracts all needed values from the styled attributes. Those are used to configure the view.