[2/2] Settings: Add time-context headers to the notification header

Credits to Omnirom

Change-Id: I2a21fa8a83dac215d62e1dd66e41883ee70ee3c3
Lockscreen: See through (2/2)

Add the ability to see through lockscreen.
Adapted to kitkat from jellybean by @BigBrother1984

Credits to AOSPA

Change-Id: I9b647c10e3c88d1361233526a371c7e85596a205
Settings: Advanced low battery indicator options (2/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version
This commit introduces following new SlimBean modes to indicate low battery
     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected, click on notification opens
PowerUsageSummary. Also you get a status bar ticker message about the notification
and notification is always on first place of list. And last if vibration is enabled
notification vibrates.

Change-Id: I372c566a2d84b04856d0be518a894c3699d00f8a
Add music tile from SlimRom (2/2)

Change-Id: I4716fff82da5f03c6942cab950383e8828183f6d
Add music tile options (2/2)

disable artwork
disable track title optional

Credits to SlimRom

Change-Id: I842aa19364c6b713c2f8d7f3a6c6775796b61a06
small improvement

Change-Id: Ic0dde61ec2e27b76e2d7ff338faa792f4a9a0ed2
Settings: Glowpad Torch (3/3)

PS2: String edit & remove from
	devices without torch.

Change-Id: Ide6fae8d35afb7f031aefcf6f5703ba57cf1f51d
Last App Toggle from Omnirom (2/2)

Change-Id: I6778606804881700ce9fee33bacee53e406a73d7
Lockscreen Notifications [2/2]

- Enable/disable lockscreen notifs
- Pocket mode
- Show always
- Hide Low Priority
- Hide Non Clearable
- Allow dismissing non clearable notifications
- Eenable/disable expanded notifications
- Force expanded view
- Wake on notification
- Notification count displayed at once
- Privacy Mode
- Offset to the top of the screen
- Blacklist apps (thanks @Der-Schubi and ChameleonOS)

Change-Id: I8e465170dfef80610f0f95bc8319564ad0aef5d2
Strings: Update See-Through Selector

'See-Through' did not denote that it was the coveted Lockscreen Blur and
there have been many questions asked about the blur effect and where to enable it

Modified res/values/cm_strings.xml to change name of selection from See-Through to Lockscreen Blur

Change-Id: I5f191668de17f45ab3d4d3e27492764699c82a30
Settings: follow kitkat's ui

- manage apps; tab selector and ram usage
- battery data usage bar
- app widget toggle

Change-Id: I804b4b47563545d7ab124f4cc4800ef4034bf754
Lockscreen Notifications: Custom background color [2/2]

Change-Id: I2cf55bddf05dddf69594e8f03a94dfa87b382123
Navigation bar dimensions (2/2)

- Change height when in portrait
- Change width when in landscape
- Option to enable or disable nav bar

This is partially ported from SlimRoms
Thanks to @kufikugel

+ small cleanup

Change-Id: Icac45d5c74f1722c1d044c6651ea686e95beade4
add dslv controller

a lot of our settings have drag swipe features
this is the central controller for it to have
easy access

Change-Id: I9eb9849f2585510649f49c75915b0c7f3c508fdd
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

Change-Id: Ia861e06758a6dadcb5a6b52689e574308b2dcc02
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

PS:
- fix category string

rebase

Change-Id: Ia5ae621a5e63b2efd10180cfbe1876b14a63c866
Settings: notification drawer background (2/2)

so after keyguard is mostly done let us start notification drawer
and QS. First one custom background.....either color or picture
with custom alpha and ability to set a landscape picture seperatly
if the user want. (lanscape phone only)

Compared to the 4.3 included version completly recoded and better
integrated. No idea what I thought 1 year ago on the old implementation

cheeers

Credits to kufikugel

Change-Id: I23f4502e3d9e97f52245bbf3b41900939bb5c4ce
Settings: notification transparency (2/2)

this add back notification transparency...compared to 4.3
it controlls as well the notification icon backgound transparency
which felt in the past dissplaced. As well codecleanup of the old
implementation.

largeIcon support I did not add due that google does not support it
as well at current status...it is only a placeholder in
NotificationData

Credits to kufikugel

Change-Id: Iacefd9d02919990517823e5d800c6e018c3c68a1
Quicksettings Customizations (2/2)

- Tiles background color
- Tiles pressed background color
- Tiles text color
- Tiles background transparency

Credits to kufikugel

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

Credits to Stevespear426

Change-Id: Id20e940724a3fb52339aecf52c5aaff129c71faa