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>
Settings: persist double tap to wake state

After disabling double tap to wake and rebooting, the state would be
persisted in the device, but it would display incorrect checkbox state.

Fixes JIRA bug BACON-92

Change-Id: Ie99e59872778dcdc3028e1770d97507fd831f515
Signed-off-by: Roman Birg <roman@cyngn.com>
Advanced reboot enabled by default (2/2)

Change-Id: Ibb6f36b17809041e8cc91fd074a1364e04104a5e
Settings: MediaScanner behavior on boot (3/3)

Change-Id: I5049cea4ac2b2dd17297bbd163cc13a7429bcba4
disable camera sounds (1/3)

Change-Id: I9c61ac497cac1af1cc8771317ada059a417b4c03
AOKP custom system animations (2/2)

ported fom here: http://gerrit.aokp.co/#/c/12305/

Thanks to Steve Spear

Change-Id: Ic692025b0db02dd01684b4e9f91d63a04f80181f
App sidebar (2/2)

Change-Id: I9aae5e80960e5037e7aa69019004d4dda91f282a
[2/2] Add battery level around unlock ring

Credits to Omnirom

Change-Id: I0115f0a6f52b02f3f3da0412ae4fa0dd77c02ae0
Custom carrier text [2/2]

Change-Id: I328b8eb9781fd0f4424bf53f8e5d0b7e82f0ad0a
Add Color Picker Preference

Change-Id: I397d6a8ab1b7232ab7e62625565e32100cb2a75e
Port OnClick Fliptile animation. (2/2)

credits to: TeamBAMF for the original work.

Change-Id: Ie24f6917fab27b5215660f0b0aaa5427aa5b6d1e