private float getFoldRegionWidthInPixels() {
    return myFoldRegion instanceof CustomFoldRegion ? ((CustomFoldRegion)myFoldRegion).getWidthInPixels()
                                                    : myView.getFoldRegionLayout(myFoldRegion).getWidth();
  }
private float getFoldRegionWidthInPixels()