Add horizontal progress bar SettingsLib library.

Move the logic for a horizontal progress bar into its own library in
SettingsLib.

Bug: 123538370
Test: Code using this library still works.
Change-Id: I700c5e481bf32077e19e606d797e5b698b2cc33a
7 files changed