Close notification panel when swiping away the last clearable
notification.

Change-Id: I4e5114f66e799a7c80e18b38abce5678da460846
Improve notification shade collapse code.

- Collapse after dismissing the last notification
- Avoid duplicate code paths for collapsing
- Improve variable naming according to AOSP review suggestions

Change-Id: Ic6f26a61f263c5beebbcc9725fe8914d3858576f

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
longpress recents clear all button clears caches

Change-Id: I1730b075f00525e355894b7f21c4068010c46a0c
Framework: Add Recents Ram Bar

Patchsets
 cleanup whitespace

Patchset 8:
- fixed gapp between recents apps and bottom
- add click action to running processes
- minor changes

cheers

Change-Id: I2034fc3d803fcbd905b9e2d7ffec0f4e4ed9f041

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
Highlight the clear button in the recents view when clicked

This commit also makes copies of the ic_notify drawables for the recents
panel to avoid any collisions with possible future changes to the
notification bar UI. (The pressed state drawable was already an unused
leftover resource).

Change-Id: Ib0d5982e80771b6639efd25ac792ebfe9f1ca1c5
Framework: Recents RAM bar (1/2)

due that the old rambar was resource consuming and as the settings rambar not really
right in showing the truth of real RAM usage in android, I decided to go new ways.

This commit changes our rambar (or better add a total new one) in following points:

- we do not use any longer ther permanent observed RunningState machine
- instead we read out /proc/meminfo (thanks steven for that idea)
- rambar shows now the real memory usage
- ppl have the possibility to show applications, cache and other ram usage as they like
- deeper explanations I add how android mem managment works.
- color picker for all rambar states
- reset to default
- updates only on actions on recents so that it is making sense
- and a lot other

cheers

Change-Id: I2cb29655f92fcdacd8a71d6192224ec8964acc17
Frameworks: recents rearrangement recents + fixes

Recents was and is a crap...already from AOSP...whatever
to avoid animation conflicts with the RAM bar it is moved up.
Due a lot user requests the clear recents is not bottom left
Recents container is now reduced and on bottom off ram bar
so that no visual overlap glitch exist any more. As well the
recents scrollview is more stable and now small 1dp glitches like
the original AOSP implementation. Code cleanup
and some code arrangements.

cheers

Change-Id: I3d4d880a6fa41575b2c9a4de06d289551aa5436d

Conflicts:
	packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
	packages/SystemUI/res/layout/status_bar_recent_panel.xml
	packages/SystemUI/res/layout/system_bar_recent_panel.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
Fix visual glitch rambar

cheers

Change-Id: I82faa372a3923daaa760a1a4f791d937d78b0523
Fix remove framelayout recents background

cheers

Change-Id: Id78ca115c8d3f16ebe0b6f79181dc077567e059a
Fix rambar

Change-Id: I3280fbc040af4bde29658e5a200230322571f6b5
Framewors: fix finally recents rambar like it was on 4.2.2

way better now

Change-Id: I6d5ce035a981e3c7db46a5297f43725916170302
Fix lock screen timeouts

- Currently, if slide lock delays are enabled and then user switches to a secure lock screen, the slide delays were still being utilized
- This patch fixes the logic around whether to utilize the slide delay setting

Change-Id: I44d8b8dcb04468ca069c7967a753038090d34133
Frameworks: Some fixes, battery drain/massive redraws and minor

This commit fixes the following things:

- massive redraws on qs which causes on use battery drain
- cast fix
- some method changed to final
- code cleanup
- small notificationdrawer background fix
- animation improvement and first to fast qs animation fix

cheers

Change-Id: I234a03b6482a2017985cb17df48118672a062da6

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Frameworks: Lockscreen minor fixes

- fix for hide lockscreen page hints in landscape
- fix initial  logic rotation lockscreen

Patchset 2
- fix derp

cheers

Change-Id: I19d5f0c5474986bee4ba5a6457ed0f47d530cfba

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetCarousel.java
A tiny optimalization

Change-Id: Ib2cb773ffe5cb579c2b46bd0e6a5a3f2c55d190d
There is no reason to update all the drawer when a single tile is updated

Change-Id: I75b768b01509a024fe9f974a19da829f68683318

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Fix Sound tile and button in Quick Settings and Power Widget

- Add follow system ringer mode
- Add icon update

Patch Set 2: clean white Spaces

Change-Id: I57a9a084e81f54adfb31c5a5eaf69bf0346be28c
Change reboot button and tile behaviour in power widget an quick settings

- Simple press -> change reboot mode (reboot system or reboot recovery)
- Long press -> reboot to the selected mode

Change-Id: I7fed20c4d31c374c6570aa85f48ea706b38006a4
Frameworks: Lockscreen carousel animation for portrait (1/2)

enable the nice carousel animation from landscape moder also for portrait

Change-Id: I04ade7072d12d9cde9e11c0fd4c17496b1885a47
Frameworks: Lockscreen changes (1/2)

this commit does:

- disable hide widget hints for carousel animation because it makes no sence
- widgets has now own preference screen on settings
- reorder settings
- small fixes

cheers

Change-Id: I1b9d21e822137cdb57cf9dff72707e01bd36d889