Circular memory indicator for recents panel [2/2]

PS3-4:
- cleanup
- default to off

Change-Id: Iab305f0f496cf62472ffb5ff2fd1bc128818899a
Signed-off-by: MURA Stefano [STELIX PippoX3] <ssspinni@gmail.com>
QS: add theme switcher tile (TRDS) 2/2

this adds a theme switcher tile

normal click: turn on/off dark/light theme
longpress: switch between the auto modes (manual/light sensor/twilight)

Signed-off-by: MURA Stefano [STELIX PippoX3] <ssspinni@gmail.com>

Change-Id: I5f4bb146e240bf31b6486aeff85b0828ee6fbb09
CarbonFibers - Fix some derps

Change-Id: I2a1d50bfd8ff2e80a993ccfdee50b96576b8d532
Signed-off-by: MURA Stefano [STELIX PippoX3] <ssspinni@gmail.com>
Settings Smart PullDown to SlimActions (2/2)

PS2: Reverse dependency until Recents
	Preload situation decided.

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml

Change-Id: Icacca5c385b843de4e5c690d3cdacdfe003dc948
Settings: Add default value for display color control (2/2)

Change-Id: If6bc4e74bc591437a68b9e7f229600c6261c7ad6
Credits: djMesias
Merge "CarbonFibers - Fix some derps" into kk
[2/2] CarbonFibers: Slims Hardware Key Rebinding

First thanks to CM team for the 2 years where we used their approach for our
custom hw key rebinding. This hardware key rebinding
patches did in the past a good job and we extended it prior 4.3 with a lot
Slim custom stuff.

But it is time to go new way and to do the complete
hardware key rebinding more flexible and more centralized. Especially due
that we have now all possible shortcut actions centralized in 4.4

Possible mapping are:
ACTION_HOME
ACTION_BACK
ACTION_SEARCH (in app search)
ACTION_VOICE_SEARCH
ACTION_MENU_BIG
ACTION_POWER
ACTION_NOTIFICATIONS
ACTION_QS
ACTION_RECENTS
ACTION_SCREENSHOT
ACTION_IME
ACTION_LAST_APP
ACTION_KILL
ACTION_ASSIST
ACTION_VIB
ACTION_SILENT
ACTION_VIB_SILENT
ACTION_POWER_MENU
ACTION_TORCH
ACTION_EXPANDED_DESKTOP
ACTION_THEME_SWITCH

and custom app/shortcut of course

Possible actions on all keys are:
normal tap / longpress / double tap

So to summarize if it is in settings array enabled user can bind whatever of the above
actions to every hardware key action.

Main changes to prior solutions are:
- do not depend anymore on hardcoded integer values. We use now strings. This has
  the advantage that we can save whatever shorcut or intent URI we have into this
  value. And gives us the possibility in future without changing anything on the hw
  key rebinding code to get more options/or modify the options. Actions are holded
  like on all other of our features in ButtonsConstants.java
- All actions are peformed over our SlimActions like all other features. SlimActions
  takes care about all possible solutions the user can run into and sets the right
  open animation, keyguard handling etc etc. As well it is easier to maintain only
  one code base.
- Only observe and update the values on hardware key devices. On non hw key devices
  the complete code is non operational
- Removed in settings the not needed overlay due that we can use the fb one to
  check if it is a hw key device or not.
- Major cleanup of a lot old code.

This patch add as well one new SlimActions action....VOICE_SEARCH

To configure your device you need to add the device overlay as usual:

overlay/frameworks/base/core/res/res/values/config.xml
<!-- Hardware "softkeys" present on the device, stored as a bit field.
         This integer should equal the sum of the corresponding value for each
         of the following keys present:
            1 - Home
            2 - Back
            4 - Menu
            8 - Assistant (search)
           16 - App switch
        For example, a device with Home, Back and Menu keys would set this
        config to 7. -->
    <integer name="config_deviceHardwareKeys">7</integer>

Also requires framework base commit (https://review.carbonrom.org/#/c/500/)
and overlay to function correctly

cheers HCP and kufi

https://gerrit.slimroms.net/#/c/2389/

Change-Id: Ie9d8237f92ec07b5012a45426f41314460b4e2e5
CarbonFibers - Adding old-school (JB like) battery percents style [2/2]

It has better visibility.
    How does it look like:

https://dl.dropboxusercontent.com/u/66673431/BattModPercentScreen1.jpg

https://dl.dropboxusercontent.com/u/66673431/BattModPercentScreen2.jpg
    Adding "No battery" style
    Fixing menu items locking
    Adding line for circle charging color
    Moving new style to the end to save previous styles order
    Frameworks change: https://gerrit.slimroms.net/#/c/5623/

Change-Id: I5a409293e837ded0d7464825b9b00eee52940b1c
Signed-off-by: MURA Stefano [STELIX PippoX3] <ssspinni@gmail.com>
Merge "Circular memory indicator for recents panel [2/2]" into kk
Merge "QS: add theme switcher tile (TRDS) 2/2" into kk
Merge "CarbonFibers - Adding old-school (JB like) battery percents style [2/2]" into kk
Revert "CarbonFibers - Adding old-school (JB like) battery percents style [2/2]"

This reverts commit 1a08717964955039d8b4598c5883305bdd64e425.

Should not have been merged.

Change-Id: I330b18fb08bae93d383399435a6d268341db608f
Merge "Revert "CarbonFibers - Adding old-school (JB like) battery percents style [2/2]"" into kk
CFibers - Wakelock Blocker [2/2]

Change-Id: Ibd9f88cff7a22cfb94d2b7126f11d76cdceb5ec1
Signed-off-by: MURA Stefano [STELIX PippoX3] <ssspinni@gmail.com>
Merge "[2/2] CarbonFibers: Slims Hardware Key Rebinding" into kk
Ram circle: set correct value

Change-Id: If85b20c0a8652f0870620ac94221282ee6a54cf1
CF: Cleaning up stuffs

PS1: add back png's

Change-Id: I41c8d40a7558816d2c4a091a175fe4e1336bae0f
Signed-off-by: Daniel MM <daxx4182@gmail.com>
CFibers - Adding old-school (JB like) battery percents style [2/2]

It has better visibility.
    How does it look like:

https://dl.dropboxusercontent.com/u/66673431/BattModPercentScreen1.jpg

https://dl.dropboxusercontent.com/u/66673431/BattModPercentScreen2.jpg
    Adding "No battery" style
    Fixing menu items locking
    Adding line for circle charging color
    Moving new style to the end to save previous styles order
    Frameworks change: https://gerrit.slimroms.net/#/c/5623/

Change-Id: I986a4c01c85708cbc9c84d26ad3b7f26311a3a19
Signed-off-by: MURA Stefano [STELIX PippoX3] <ssspinni@gmail.com>
CFibers - Smart Pulldown Fix

Change-Id: I831852115fe6393bd0fd3336182bcf9ae23e4bb6
Signed-off-by: Stefano Mura [STELIX] <ssspinni@gmail.com>
Merge "Settings Smart PullDown to SlimActions (2/2)" into kk