DisplayColor: Properly handle a minValue

* Previously setting anything as a minValue would cause the
  percentages to get out of whack. For instance, setting it to 35
  would cause the maximum percentage to climb above 100% as well
  as still allowing the value to be set lower than the min.
* This makes the maximum for the slider the max value minus the min
  (so we get the proper spread for min to max) and then adds the min
  back on before setting so we can't possibly go below the min.

Change-Id: I8dcdc422f54847940351fae10c74af6301d1e1be
Improve search UX prior to load being finished.

Show a informative hint in that case.
Also clean up code somewhat.

Change-Id: I57f37bc60fbaef2ea0db0b0c3227df125b0e4ab9
Check locale when populating DB instead of using separate receiver.

This makes reloading the search data race condition free. Previously,
when invoking search directly after the locale change, one would get the
results for the old or the new locale depending on timing between the
broadcast being delivered and the activity restart.

Change-Id: I35bc11a7f68e655e00fe53b829deea613da74f69
Merge "DisplayColor: Properly handle a minValue" into cm-11.0
Merge changes I35bc11a7,I57f37bc6 into cm-11.0

* changes:
  Check locale when populating DB instead of using separate receiver.
  Improve search UX prior to load being finished.
Settings: Remove security preferences from lockscreen options.

    - Since we merged all security xml's, the container is now populated
    with preferences that we don't need within lockscreen security options.
    This patch removes the preferences.

Change-Id: I590df9293f293aa9048ce4c58813f449d88867b4
Settings : Add tap/pay help url

Change-Id: I41f37dff0fa2eb547f84aaf776950f0f42e6e36f
Settings: LT translations

Typos fixed, other small corrections.

Change-Id: I058905c5e833cf1dfd3d35353bafb17fedd2ac2e
Settings: Update strings

Change-Id: Ia48ea0db5fe590f90d69114c0e1acddb5f9ab21a
Settings: update default expanded desktop style

Change-Id: I6deb3bdf9a4099c67a63c4afb7909eff24ec574b
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge remote-tracking branch 'upstream/cm-11.0' into HEAD