code: public static SampleSupportDialogFragment newInstance(int radius,
                                                            float downScaleFactor,
                                                            boolean dimming,
                                                            boolean debug,
                                                            boolean mBlurredActionBar,
                                                            boolean useRenderScript) {
          SampleSupportDialogFragment fragment = new SampleSupportDialogFragment();
          Bundle args = new Bundle();
          args.putInt(
                  BUNDLE_KEY_BLUR_RADIUS,
                  radius
          );
          args.putFloat(
                  BUNDLE_KEY_DOWN_SCALE_FACTOR,
                  downScaleFactor
          );
          args.putBoolean(
                  BUNDLE_KEY_DIMMING,
                  dimming
          );
          args.putBoolean(
                  BUNDLE_KEY_DEBUG,
                  debug
          );
          args.putBoolean(
                  BUNDLE_KEY_BLURRED_ACTION_BAR,
                  mBlurredActionBar
          );
          args.putBoolean(
                  BUNDLE_KEY_USE_RENDERSCRIPT,
                  useRenderScript
          );
  
          fragment.setArguments(args);
  
          return fragment;
      }
docs: Retrieve a new instance of the sample fragment.
  
  @param radius            blur radius.
  @param downScaleFactor   down scale factor.
  @param dimming           dimming effect.
  @param debug             debug policy.
  @param mBlurredActionBar blur affect on actionBar policy.
  @param useRenderScript   use of RenderScript
  @return well instantiated fragment.