Add method to PowerManager that allows querying the lowest possible
brightness.

Used by the auto-brightness adjustment to adjust the sliders.
Make system layout fill the window properly on expanded desktop mode

This commit fixes e.g. the gap on the bottom of the lock screen
or the gap on the right side of status bar on landscape mode.

Patch set 2  : Remove whitespace issues
Patch set 3  : Code cleanup
Patch set 4  : Damn whitespace errors
Lockscreen Targets: Icon Revamp

Adjust the size of custom app icons and resize and round the corners
of gallery icons for a more uniform look.
LockscreenTargets : Dismiss on target select

Dismiss the lockscreen on target select, rather than when the application
is fully loaded. This gets rid of th perceived lag that a lot of users experience.
This is how we had it in previous versions of cm as well.
Remove duplicate if statement
Bugfix : Quick pulldown sometimes flips when it should not

When your Quick Settings Panel is set to

Quick pulldown : right

Sometimes (very intermittently) the tray flips (to Quick Settings) as you pull it down from the right side.

This is happening because the pull down happened so fast you can see the top 0-10 pixels of the tray,
and because it was showing the notifications, not the Quick Settiings

However the user expects the tray not to flip, but to just be on the Quck Settings.

The new code simply checks to see that the Event was a pull down event and that the event started in the top status bar.
If this is the case, then the quick panel is swapped to (without flip)

Special Thanks to my daughter Jenny fo painstakingly reproducing this bug.