fb: add bottom margin to stock default battery icon

We set the layout parameters programmatically so the fix from
google does not take effect. To solve set the bottom margin
programmatically based on the current display density

Change-Id: I9caa0e729afa19eb7cb852a1df6ad036a2839d1b
Frameworks: Fix 0% battery QS tile

when tile is recreated. Fetch the values from
BatteryController

Change-Id: Id0539016e1c479ac1f75535647d91a26f69a76b5
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java
Keyguard: fix codestyle

Change-Id: I3f1fbab0ae5434b09766cd69c39a133f4a7039d0
fb: disable navigation bar camera button if widget carousel is enabled

Beside that the animation which starts when dragging the camera icon
to the left is broken if the user has enabled carousel animation like
tablets it does not feel natural even when we use the right animation for it.

So diable the camera button in this case and allow only swiping the camera widget on carousel mode

Change-Id: I6ba5eda7cd4603b1644ae088401b57861e4937a1
fb: Keyguard disable challenge drag down on slimpin/simpuk screen

On simpin, simpuck and as well account change screen it does not make
any sense to give the user the abillity to drag down the challenge to show
the widget maximized (neither if widgets are enabled or disabled)
Reason: simpin/simpuck widget is not shown due of security reasons
and on account change the next expected behaviour is that the user gets a new
setup. So it does not make in this case as well sense

Just check for current securityscreen selection to block this behaviour. As
well move the enable/disable code to a proper place

Change-Id: I0b16d1e590252b537d6c71c4aa9b133ed832be45
QuickSettings : Quick Collapse [1/2]

Credits: Danesh M

PS 3 : Implement override method for specific tiles
PS 4 : Create Dependency
PS 6 : Fix multi-user

Change-Id: I0257c7819cc1ccb5d0a092dc23fb9fa4ccec5c3b
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
Frameworks: Favorite Contact Tile (1/2)

Based Heavily on the work by:
	Dirk Rettschlag (MarcLandis)

Change logic to our tiles
	and implement key logic
	from my custom tile.

PSX: Create Dependency

rebase

Change-Id: I3b963752a8757b64b9f7ffe58cc4c59064e4ff04
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/bs_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Return: Smart Pulldown [1/2]

Adds the ability to directly open the QS panel when there are
no notifications present in the notification panel.
This commit combines the enhancement by HardCorePawn for detectin
notification types for the same.

Credits: kufikugel, HardCorePawn

PS 2-4 : Cleanup

Change-Id: I3c9b048f2616d2b8950930cc5bfac27c2364e826
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
Remove duplicate in settings.java

Change-Id: I91fe49fc822efc69760950d4a3ddd29518fce5d8
Signed-off-by: scott <scott@ubuntu>