[2/2] settings: add CPU info overlay

this shows
CPU temp (if available)
for every core governor + online + freq

Change-Id: I28c1e48c2e613b33c301b61cead70678ab6a2e9b
Add Slim's seekbarpreference

Change-Id: If52fa2464b03c34d6ddbbdc861e11f81fde93fec
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>
Settings: Clean up SeekBar

Change-Id: I8f5e77fe77566103b64662cb5914df6effe2339e
Settings: SlimPie (2/2)

Well first I want to thanks again for the ideas Jens Doll, Kyrylo Mikos and PA gave us
on 4.3 allready to make our own SlimPie possible. We used partly code from them and added
and changed it in our Slim way to have it for us most usefull.

Well as known SlimPie advantage to other PIEs is that it can bind on every button
press and longpress action like the user want. All SlimActions are available for
every button (so all possible shortcuts we have + apps etc). Of course as well
available are custom icon images or system icons. Other unique thing of SlimPie
is that 2 rows are available. First row user can setup up to 5 buttons. On the second
row up to 7 Buttons.
Of course the user can setup the style to their like and still theme engine related
things are respected.
Pie is activated present on non expanded Desktop as well

For 4.4 we reworked a lot of the frameworks base code mainly. Changes compared to 4.3

- We use now a edge detection service (thanks a ton to Jens and Kyrylo). We tweaked it only
  very minor due that it works allready out of the box. Two reasons why we want to use it.

  1. We do not have detection overlays on the borders anymore. Means the user is not disturbed
     by it and we do not need to add workarounds like we did before to avoid accidental swipe ups
     (eg old IME reduce triggers). As well it is not needed anymore that the user can setup
     thikness etc. The default values are allready quiet good. If a device has detection problems
     the dm can adjust them via overlay. As said main main main advantage  that no dead zones are present
     anymore.

  2. we will use this service for other upcomming features as well (eg new Recents)

- Centralized and adapted the code to 4.4 and some changes we did in our central classes
- reduced observer to an absolutly minimum. If PIE is disabled it does not observe any value
- A lot small fixes and tweaks
- Change default colors to KK style
- If navbar is present the navbar gets animated with the background to give a full screen overlay
  feeling to the user. Especially now with kk transparency way better.
- Full keyguard support
- complete reworked edge disable detection
- and a lot more

PS:
- better disable message for second layer
PS:
- fix wrong initialize from pie control settings
PS
- changed to Jubas suggestions

-------------------------------------
PS1: PAC Upload, ported to CM11.0 sources by @cristianomatos.

Change-Id: I10e026e76748b1e273d38a983ea873a7076b124d
Settings: Handle navbar heights correct on dpi changes + more (2/2)
Till now we set the height in px in the settings. Which is a problem
especially on multiDPI roms like we are when the user afterwards changes
the dpi due that it isn't calculated correct anymore on the new dpi.

This commit does
- save the dp value in provider and calculate the real px in fb
- clean up the settings stuff for it + do it a bit nicer (only settings part
  where we do not set the value for the listview)
- add Converter class for common methods we always use....till now only px->dp
  and dp->px method

Change-Id: Icf9754ee496ae3cc6d998f58a1dc543d0a7383ee
Toggle nav bar through power menu (2/2)

- This is highly based on this commit form SlimRoms: https://github.com/SlimRoms/packages_apps_Settings/commit/30482e059fb55b9d3aa4d461a0715d77ec70776a
- Now we can toggle nav bar on/of in power menu. It's easier to use PIE.

Thanks again to @kufikugel

Codes ported and new codes from @cristianomatos

Change-Id: I63c686ebd19d3a50afe3d71de191e484208000f2
Settings: Add user protection and pie/navbar toggle to SlimActions

Keep the user save and do not allow to disable all navigations to keep
the device usable. User will be notified

In Settings user get the choice to enable the other navigation method. Of course
only on navbar devices due that hw key devices always have a working navigation

and a small duplicate cleanup

PS:
- added Jubas suggestions

- This commit have some exclusions ond chages to fit crDroid sources made by @cristianomatos
Original commit: https://github.com/SlimRoms/packages_apps_Settings/commit/30482e059fb55b9d3aa4d461a0715d77ec70776a

Change-Id: I2528da3e87b149f01d8f2a7666b3f4fb9237effc
Settings: SlimPie give user ability to reduce trigger heights if IME keyboard shows (2/2)

Add a user option to reduce left and right trigger of SlimPie if keyboard shows up
(especially usefull for swipe keyboard which most keyboards are nowadays). Enabled
by default user can disable it in settings

Change-Id: I88a8294cd7a119a1498a26b55f05fa844d043589
Drawables for PIE (Credit Pac Team)

Change-Id: Ic48d733fb79060e4113a54ff29a11211df8bb176
Notification drawer: full swipe to switch detection (2/2)

Add an option to detect swipe to switch on full screen, not just the bottom bar

Change-Id: Ibd149a21e9882c4c00d3bd051df2695ccced24ca
ChameleonOS Seekbar

Change-Id: Icbee9d46c3c60094fdcce774d617b43b02ea041b
moved to CM-Remix source

Change-Id: I3227abfc9982e9df62820e6c70d844a469328b1f