Fixes and feature notification drawer 1/2 Frameworksbase

- fix custom background image landscape (scales now)
- fix stock background...now not transparent any more on 0%
- moved whole style options in style category @settings
- add support for custom landscape background
- add support for background color fill
- reset of background image not any longer over menu
- changed code to easy port it to 4.2
- code clean up

PatchSet 2

- clean up all files from tabs etc

Change-Id: I3d2f1b7edcc5022b134a7ad2eded2058ba0562cc
[Frameworkbase] Fix different standard value

on fresh install for status bar transparency

PatchSet2

- clean up tabs

Change-Id: I7c606921079301dac63809e7ccf6062602b5d294
SystemUI: Added Notification Sound Toggle to PowerWidget (1/2)

The power widget this patch adds effectively toggles ONLY the notification sounds.
Typically when you silence or force-vibrate your phone, it does this to both ringer+notification sounds.
This behaviour is by design in Android since 2.2.

What this toggle does is switch between notification sound volume 0 and whatever you have set,
not "muting" it by Android standards (since you can't w/o also muting ringer), but still silencing it.

For people who want to be able to quickly silence notifications but still hear the ringer.

-
Patchset 4: Added broadcast receiver to update icon state when notification sound is brought to 0
            by anything in the system

Patchset 5: Force default volume for "on" when none is set

Patchset 6: Removes notifications from ringer volume link and removes notifications from the mute
            streams if they will inhibit the notification toggle from working properly.

Change-Id: I51e4e53ff0592dac5e57a10fc745578e7b69918e
DevicePolicy: Fix lockNow() failing to turn off screen

Pawit Pornkitprasan's patch from ICS.  This issue affects JB as it did ICS.
Original patch: http://review.cyanogenmod.com/#/c/14845/

---
A fix introduced in 93c518e4f8abd98f87cda1712b30a5a86cfa60dd
causes lockNow() to sometimes (most of the time) fail to turn
off the screen. The screen will turn off, but then immediately turn
on showing the lock screen.

This is caused by getWindowManager().lockNow() call which calls the
method to lock the screen, which the PowerManager service also
call in parallel, leading to a race condition.

The fix is to only call getWindowManager().lockNow() if the screen
is not on.

Change-Id: Ic90d41bd9f52e3ad0924d3a096162e5083c4d4c7
Merge "[Frameworkbase] Fix different standard value" into jb
Merge "Fixes and feature notification drawer 1/2 Frameworksbase" into jb
Merge "SystemUI: Added Notification Sound Toggle to PowerWidget (1/2)" into jb
[Frameworkbase] Fix dotted circle battery.... 1/2

in notification drawer and

- whitspace corrections
- rearrange to be a bit standard conform

PatchSet3:

- huge whitespace cleanup in all files

PatchSet4

- again

Change-Id: I1558340fa8136f546870eff0db521b0de838604b
Lockscreen fixes and features Part 1/2 frameworkbase

- change to using integrated instances now
- several fixes for music transport controlls
- BB tablet support
- better peformance optimus lockscreen on hdpi devices
- lockscreen background transparency moved to background customization and works on the fly now
- lockscreen background 0-100% alpha can be activated on colorfill and custom background
- clock moved in settings to widget behaviour. Style could be customized now + hidden feature
- if clock is hidden status1 and owner info will be centered automatically
- owner info can be shown on lockscreen
- optimus and BB lockscreen can now be colored and alpha as you like
- optimus background settings deleted cause of stock background customization ability
- ability to choose one of the custom lockscreen before secure lockscreens
- vibration support for optimus and BB
- whole lockscreen settings are working dynamically now and show just what is possible to customize
- code clean up
- png clean up
- a lot small stuff

PatchSet 2 + 3

- cleanup whitespace errors

PatchSet 4

- commit message update

PatchSet 5

- small clean up + set dateview, alarmstatus and ownerinfo also to new font if activated

PatchSet 6

- fix softreboot on background selector

PatchSet 7

- fix merge conflicts

Change-Id: I5cd33bbe5edf1737687e540bebcb2e1de4f2e587

Conflicts:

	core/res/res/layout/keyguard_screen_info_circles.xml
Merge branch 'jb' of https://github.com/SlimRoms/frameworks_base into jb