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
Legacy Parts: Update PagerSlidingTabStrip class

-- Check if tabCount > 0
(do this before attempting tabsContainer.getChildAt(position) when scrolling to child.)

-- if pager == null no need to call requestLayout()

-- make shouldExpand work correctly
   (referenced here: https://github.com/astuetz/PagerSlidingTabStrip/pull/42)
-- Use Gravity to center tabs

-- add onTabReselected() callbackFunction
  (referenced here: https://github.com/astuetz/PagerSlidingTabStrip/pull/92)

-- Fix: Tab dislocation caused by setViewPager

Change-Id: I0184de3c010a902a721572d3dcaa75101e38aa0c
Signed-off-by: Andre Saddler <dresadd09691@gmail.com>
Add Xperia Settings to Legacy parts

Change-Id: Id1e7e341505c741d940c813787808ff8d6aac247
Merge remote-tracking branch 'aospa-legacy/kitkat' into kitkat-legacy-staging