code: public final void setPreviewBorderWidth(final int borderWidth) {
          Condition.INSTANCE.ensureAtLeast(borderWidth, 0, "The border width must be at least 0");
          this.previewBorderWidth = borderWidth;
  
          if (previewLoader != null) {
              previewLoader.setBorderWidth(borderWidth);
          }
  
          adaptPreviewView();
      }
docs: Sets the border width of the preview of the preference's color.
  
  @param borderWidth
  The border width, which should be set, as an {@link Integer} value in pixels. The
  border width must be at least 0