Framework: Configurable 0, 90, 180 and 270 degree rotation (1/2)

thanks cm

Change-Id: Ie950679d3515234ab30e6da04cba2659c463425d

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Keyguard: smooth background change.

Change-Id: Ia0e4d0000db72b5cdb6fede03791805e34fa311d
Revert "fb: correct the google animation on flipping to QS to be nicer"

This reverts commit d981f7994fe0295f91ea48e0cfcdb4a134e9c992.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Revert "Frameworks: Fix first animation to QS"

This reverts commit 126e22a7d4d01f40f65fbf2b83269ba6ac2f6af7.
Revert "systemUI: add swipe QS to Notifications and back"

This reverts commit 7fb8d0c693c2318af247d56ceb2010080d20fbfb.
QuickSettings: Port from cm-10.2 (Squashed commit)

Port quicksettings / ribbon from cm-10.2

Change-Id: I6710a62a82ed274eb9e8c86cd2a1faf657ae53f1

Quick Settings: Swipe to switch

Adds the ability to switch to / from Quick Settings, using a sideways
swipe gesture.

Change-Id: I3cab45f72fe3c5fa40d4631fc6a84ea7bfe51bd1

Improve notification shade auto-collapse code.

- When the user dismisses a notification by swiping, also collapse
  notification shade if there are persistent notifications remaining.
  Only skip collapsing if there are still non-persistent notifications
  pending
- When the notification is removed by the app, wait a bit until
  collapsing the shade so the removal doesn't come as a surprise to the
  user
- Centralize the collapse trigger at one place

Change-Id: I4e5114f66e799a7c80e18b38abce5678da460846

Make notification-shade-collapse-after-dismiss behaviour configurable

Change-Id: I1be0be2753b479e6d2e4fc8e17d971d03ce01bb7

QuickSettings: Update all QS drawables to fit KitKat

- Recolored all drawables according to the new color theme
- Recreated some drawables to be able to include all in xxhdpi
- Remove some unused drawables

Change-Id: Ib5430059f67ff73677821122b8f2037094ba90c5

QuickSettings: Re-add Quick pulldown

Change-Id: I7bad553fe7eb4a3e91af69f811d99b74f7572aa3

Conflicts:
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
[2/2] Frameworks: HALO

Forward port from jb.
PS1: Initial port
     Fix conficts with notification LED
     Fix derp
     Major derp
     HALO Mods
     Rebase
     Fix blackist, code clean and added some TODOs
PS2: Fix build
PS3: Fix bubble sometimes doesn't respond on new notification
PS4: Align halo icon

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

Conflicts:
	core/java/android/app/INotificationManager.aidl
	core/java/android/app/Profile.aidl
	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/am/ActivityStack.java

Conflicts:
	packages/SystemUI/res/values/bs_strings.xml

Conflicts:
	core/java/android/app/INotificationManager.aidl
	core/java/android/provider/Settings.java
	core/res/res/values/bk_symbols.xml
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/bs_dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	services/java/com/android/server/NotificationManagerService.java
[2/2] frameworks/base: Enable quick unlock

Automatically unlock the lockscreen when the correct pin/password is keyed.

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

Conflicts:
	core/java/android/provider/Settings.java
Adjust KitKat easter egg to display "K" no matter what

The way is currently working, it pulls the first letter of the build_id for the easter egg. This is making it to where some devices show a "J" instead of a "K", the way it was meant to be.

Change-Id: I6e91bdc5695e2b2e8317a4ba20df33d6f744437f
[2/3] mediaeditor: Allow custom DOMX source instead of Google DOMX default

Part 2 of 3 patches: To allow omap4 devices to use custom "domx" source
via a new BoardConfig.mk item:
TI_CUSTOM_DOMX_PATH := device/<manufacturer>/<device-name>/domx

This setting provides for 3 changes during the build:
1. In hardware/ti/omap4xxx this settings stops standard Google domx
source from being built and changes the domx reference for tiutils.
2. In frameworks/base it changes the default openmax references for
frameworks/base/media/jni/mediaeditor/Android.mk to the new location
3. In frameworks/av changes the openmax references in 5 places, and adds
new includes in ACodec.cpp, CameraSource.cpp and OMXCodec.cpp

This commit is based on cherry-pick from omapzoom (with a more descriptive
BoardConfig setting name):
http://www.omapzoom.org/?p=platform/frameworks/base.git;a=commit;h=f7f929ff477955333bf7e7413a81a66d683d1f3f

Change-Id: I7ba8052a6144597bf961b78723186c58b7e12e48
Re-add BOARD_USE_LEGACY_TOUCHSCREEN flag for the devices that needs it

Change-Id: I24ed882348ec5463910b5e49f849af2deac240a3
Frameworks: QS performance profiles tile

Patchset 2: Fix not null comparation
Patchset 3: xxhdpi drawables
Patchset 4: Fix xxhdpi drawables (thx blunden)
            Rebased
Patchset 5: Add suggestions
            Sync on boot the system property with the setting
Patchset 6: Rebased

Signed-off-by: Scott <scott@ubuntu>

Conflicts:
	core/java/com/android/internal/util/cm/QSUtils.java
	core/res/res/values-cs/cm_strings.xml
	core/res/res/values-el/cm_strings.xml
	core/res/res/values-hu/cm_strings.xml
	core/res/res/values/cm_strings.xml
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	packages/SystemUI/res/drawable-hdpi/ic_qs_perf_profile.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_perf_profile_bal.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_perf_profile_perf.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_perf_profile_pwrsv.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_perf_profile.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_perf_profile_bal.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_perf_profile_perf.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_perf_profile_pwrsv.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_perf_profile.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_perf_profile_bal.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_perf_profile_perf.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_perf_profile_pwrsv.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_perf_profile.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_perf_profile_bal.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_perf_profile_perf.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_perf_profile_pwrsv.png
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
	services/java/com/android/server/SystemServer.java

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

Conflicts:
	core/res/res/values/symbols.xml
Turn off carrier provisioning by default

Whether or not to use carrier provisioning is a setting hidden to the
end user that is currently not set. Unfortunately, on some carriers that
may result in it being set to yes, or effectively set to yes, without
other accompanying changes that must occur, such as setting a tethering
apn and possibly having a carrier provisioning app, resulting in hitting
a paywall when a tethering plan exists, or, worse having nothing happen
at all when you try to tether since the data doesn't have an apn set.

Change-Id: I3b5b3cc86e3325302411f46e3fd5f7a7c1b9f57e
Keyguard: disable music transport control debug

Change-Id: Ia4361d0850334dc0944559c40409c9062cf02e47
SystemUI: Navigation Bar: Rotate the search light in landscape

The current search light icon is an arrow pointing upwards, so
while in portrait it points to the direction to be swiped to access
Google Now (and the customizable shortcuts), in landscape it points
upward as well which looks out of place, and swiping upwards reveals
that you have to swipe towards the left to access those targets.
Rotate it by 270 degrees to make it point towards the right direction
(i.e. Towards the lockscreen widgets)

Change-Id: I19670fdb1f5ab7814c05264330cb8097a206639a
SystemUI: Update adb over network icons to kitkat colors

Change-Id: I11f61bb8f4f5f91fd6b5437b1c4ba1f479ee4ae3
fb: add accessibility events to lockscreen slider and shortcuts (1/2)

beside that it is nicer for ppl using talkback eg and get clear
instructions this solves as well a fc in settings lockscreen targets
when using accessibility services

Change-Id: I03014892d30491b1d126e61a6891393416e4b1be

Conflicts:
	core/res/res/values/slim_strings.xml
Fix battery icon with percentage showing "!" and percentage only color when under 14%

Change-Id: I559fd4d9fbb7f9599fe1b3cf75602b7ad7e2e301
Port ActiveDisplay to Kitkat (1/2)
Add support for QC's time_daemon

Enabled by BOARD_USES_QC_TIME_SERVICES=true, it requires the device
to provide its own time_daemon executable and libtime_genoff.so
proprietaries. The library should be copied by the device's setup
config to $OUT/obj/lib for linkage (and pushed to the final build,
obviously)

Change-Id: Ie6964dbe2692dc33fc04093a5b89b6922d8443c8