Compact list view mode for contacts adapted for JB 1/2

Allows the user to use a compact list view mode in Contacts by reducing the size of the contact photo.
Hide QS Panel Toggle [1/2]
Patchset 2:
- rebase

Patchset 3
- correct hidden value call
- no need to call it in NotifPanelView also...call it from PhoneStatBar
- add controll on all places where needed to hide and prevend SystemUI FC
- disable hide function for tablet and largescreens
- change behaviour on the fly without systemUI restart
- some minor stuff

Patchset 4
- slim up the code

Patchset 5+6+7
fever could do sometimes strange things, last one I prommise

cheers

Lars

Change-Id: I079583060fe51015372bd6303aff474652914aea
Status bar Auto-Hide [1/2]

Add an option to auto-hide status bar when there are no
notifications.

PS 2 : Improved Logic

Change-Id: I9f9fdb443f6ed981c1941716491cef757b42f8ba

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Frameworks: Ehance toggleNotificationShade feature

allows to toggle notification drawer in any situations
on fullscreen mode as well in expanded desktop mode
and on all other features we have
cheers

Change-Id: I56185f2c48700d9f2d69c02585810db4e95e2e32

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Frameworks: toggleQSShade (1/2)

we have a notfication shade toggle....but we cannot toggle
directly the QS drawer via SlimPIE, navbar or hw keys.

This commit does:
- bind qs shade toggle to slimpie, navbar or hw key
- logic detects if you are already in the notification drawer
  and switches then between qs and notification area. If not
  it closes the notification drawer or qs panel depending
  which of both is open
- icon changed to the same icons which are used in the notification
  drawer to have a visual consistence
- as well like the notificationshade toggle it is toggleable
  in expanded desktop mode or on fullscreen apps
- bindable as usual on normal and longpress actions
- for tablets it is of course just opening and closing
  due they have seperat notfication drawer and qs

small demonstration:

https://dl.dropboxusercontent.com/u/106208842/qstoggle.mp4

Change-Id: I0766f837fdfc19da8d4d136cee3022d4484feec9

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	core/java/com/android/internal/statusbar/IStatusBarService.aidl
	packages/SystemUI/res/drawable-hdpi/ic_sysbar_notifications.png
	packages/SystemUI/res/drawable-mdpi/ic_sysbar_notifications.png
	packages/SystemUI/res/drawable-xhdpi/ic_sysbar_notifications.png
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/PieController.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/java/com/android/server/StatusBarManagerService.java

TODO:
-Add TOGGLE_NOTIFICATION_AND_QS_SHADE option for Pie
-Add TOGGLE_QS_SHADE to AwesomeConstants maybe
-Clean up
Fix Expanded Mode

This fixes the erratic behavior that causes fullscreen apps/games
to rotate into portrait, in expanded mode. Weird as usual!

PatchSet:
- small clean up

Change-Id: I72febac50a282f7b5bf570e46ef0dd38215a6bab

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Add Statusbar Quick Peek [1/2]

Adds the ability to peek at the statusbar when hidden
by swiping down from the top edge of the screen.

PS 1/3 : Fixed Derp!
PS 4   : Added Fullscreen app support!
PS 5   : Added Pie Detection
PS 6   : Derp forgot the TOP Flag!
PS 7/9 : Some fixes

Change-Id: I4beda91e21518cd2fa391ff1b0fe23ea8e24370e

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/provider/Settings.java
Frameworks: fix quick peek

only react on a real swipe to avoid accidental show up
on pressing an action on eg ActionBar

as well the pass trough of mPieTop never worked. Not the
problem due that pie is overlaying this part

reduce the settings value write a bit....we need to
be as fast as possible here due that this method is
called on every touch event

PatchSet: minor code correction

Change-Id: Iced268ad043b753d93375439d7835d8570b7649c
Statusbar behaviour: Refactor everything (1/2)

Huge credit to @Bajee11 as I used his previous commits as examples for these. And of course credit
goes to @SlimRoms for their Status bar Auto-Hide and Quick Peek features!

Change-Id: I40f2e60c138e303e677b8d313c1dfb42a78e4a2f
Framework/base: Added synchronization block to avoid race condition

Fix for the synchronization issue leading to access of an array
Index out of bounds. Issue occurs due to race condition between
removing the activities of a crashed process from history stack
and resuming a separate activity.

Change-Id: I14bb5834e778c15b674248e46fe93b0ce9f37967
FW: HALO Toggle

Icons: @kroz

Allow the user to switch HALO state by using the toggle. Long pressing toggle will open HALO settings.

Conflicts:
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/res/values/strings_toggles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/toggles/ToggleManager.java

Change-Id: I82a13b4b9ba1d39a1f6c554ffd7b7859121901bc
Add another AwesomeAction

-Add Quicksettings action to AwesomeConstants, etc
-Add Notification and Quicksettings Pie buttons (1/2)

Change-Id: I97d937624f8ddbdc1bb44ff6275d3427aa897887
Keep on notification LED while dreaming.

Change-Id: I407e34f9c60d3140f78abca133b4fda5dd45f311
JIRA:CYAN-689
Profiles: Add a profile picker activity

Patchset 2: Add CM Copyright
Patchset 3+4: Rebase
Patchset 5: Some optimizations

Change-Id: Ic8281e4c6fef6d2f4c56fc01acfe6e54b4c8f51c
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:
	core/res/res/values/strings.xml
	core/res/res/values/symbols.xml
Ringtones: Fix ANDROID_LOOP=true for ArgoNavis and Perseus ringtones

Add ANDROID_LOOP metatag to ArgoNavis and Perseus ringtones, removed in commit
https://github.com/CyanogenMod/android_frameworks_base/commit/5d7c089cabe599c3c5614c53f5a94c8c2357340f

Change-Id: I2fd05e73d68758867a17d2c3369cfeefc203ac5a
JIRA: CYAN-1434
Issue: https://jira.cyanogenmod.org/browse/CYAN-1434
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Update roboto font to 4.3

Change-Id: I18aceb350b64085faff93ebf0078e557ce20082f
Add SMS Middleware layer.

Add fix so ordered broadcasts are delivered to system
apps first in the event of a tie. This works around
the issue where terrible apps steal SMS notifications
from the broadcast queue to simply prevent notifications
that could otherwise be removed by a toggle.

Change-Id: I4fff0c584f8fce9c5f2f4fe86a82fe6480c307c7

Conflicts:
	core/res/res/values/cm_strings.xml
Add gesture based lockscreen security. [1/2]
This adds the ability to us a hand drawn gesture as
a means to unlock the device.

In the case that the gesture is forgotton or not
being recognized correctly, the fallback will be the
same as when using patterns.

PS2:
Return SecurityMode.Account as backup for gesture login.

PS3:
Poke the wakelock when a gesture is detected so the screen
will not timeout when an invalid gesture is entered.

PS4:
Clean things up a bit.

Change-Id: I4ca8d7edff0a8906220cf4561d8b90896520e0cd

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/widget/LockPatternUtils.java
Updated the Ram Bar to show GB instead of MB if available
Signed-off-by: Chris Conley <chrisc93@vt.edu>

Change-Id: Icd1485e6b03056a3f47ef83ee24c94fa47e75074
Finally fixed the RamBar decimal issue.

Change-Id: If1a731617987177af9b0fac66d0875970bcaa596
Signed-off-by: Chris Conley <chrisc93@vt.edu>