The "Centered" edge label model centers the label on the longest edge segment following the premise that the longest segment is the most important segment. This model works best for straight-line edges without any bends.
E.g. in your first screen shot, there is an unecessay bend in the selected edge. Remove that bend and the edge label will be placed in the center of the single edge segment.