code: public final void setWindowBackgroundAndInset(@Nullable final Drawable windowBackground,
                                                    @Nullable final Rect windowInsets) {
          this.windowBackground = windowBackground;
          this.windowInsets = windowInsets;
          adaptWindowBackgroundAndInsets();
      }
docs: Sets the background and inset of the dialog's window.
  
  @param windowBackground
  The background, which should be set, as an instance of the class {@link Drawable} or
  null, if no window background is set
  @param windowInsets
  The insets of the dialog's window as an instance of the class {@link Rect} or null,
  if no window background is set