Add 'Holo' lockscreen style (1/3)

Adds a ICS-inspired ring lockscreen style. Actually, the drawables were
taken from ICS.
TODO: Review the vibrate icon (style doesn't exactly match the sound
on/off icons) and the LDPI drawables (especially the answer/decline
icons).
add option to disable volume key beep sounds (2/2)

Change-Id: I35d940b6c37fe4125dcd6d6160ea3845f3f43fcd
Refactor lockscreen status views

Maintain separate TextViews for the charging, alarm, and calendar status. Instead of
using complex logic to set and show/hide statuses, use simple visible/gone logic.
This also allows the next alarm and calendar event to be shown at the same time.

Change-Id: I3b4c05f80d18c7d012ab73e39857f42ca82a2e88
getNextCalendarAlarm: query instances to get recurring events right

Change-Id: I64f4857663e05c20a895f082b0dc4cd5b98cf6d7
Defy's BT device sometimes doesn't seem to come up properly, so try a couple of times.
Create Kineto-compatible AudioTrack::set and AudioRecord::set methods.
Minor extension needed for Motorola AT code.
Only indicate full battery by LED if battery is really full.
Merge remote-tracking branch 'cyanogen/gingerbread' into gingerbread
Custom carrier label (1/2)

Allow customization of carrier label.
Possible options are:
 * Default
 * Show SPN only
 * Show PLMN only
 * Custom string

Part 2: http://review.cyanogenmod.com/#change,7313

Change-Id: I6c0aadbf8da5f114d7d59e9cef756ee984899715
Allow decode 860*480 by TI.Video.Decoder
Merge remote-tracking branch 'cyanogen/gingerbread' into gingerbread
LockScreen Alignment: Right (Part 2/2)

Add alignments to the Pattern UnlockScreen as well.

Enable LandScape Alignment for everything except Right Alignment on default LockScreen as this causes overlapping issues.

Change-Id: I9962172de7219d480f4925b20cd0884f7d0c4461
Remove merge relict.
ICS Transitions

Something for the kangers to tide themselves over 'til CM9. Inspired
by Capez's thread: http://forum.xda-developers.com/showthread.php?t=1342117

Change-Id: I58e709b3beb0ce07d445ee993106cc5d1349ab7a
Fix race condition in notification swipe handling.

Previously, the code was written under the assumption that ACTION_CANCEL
events are always delivered additionally to the normal (down, move, up)
events. It turned out that this isn't true, so we need to fix the
condition where an ACTION_CANCEL event is delivered right after giving
control to the dispatcher.
Symptom of the previous problem was the swiped notification occasionally
getting stuck, needing a restart of the SystemUI process to get going
again.
Backport ICS rotation animations to gingerbread

Require ICS transitions patch: http://review.cyanogenmod.com/11938

This is a combination of 3 AOSP commits, adapted for gingerbread,
i've hidden new public constants to keep current API intact.

these 3 commits are from Dianne Hackborn <hackbod@google.com> :

- Change rotation freeze to all be implemented in window manager.

Lots of work for no visible change in behavior, but now we can
do some fancier stuff...

Also allow rotation in all 4 directions.

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/java/com/android/server/WindowManagerService.java

AOSP-Change-Id: I7e5e9537c5e359f69b83c10f65cc1ce95f371461

- Implement rotation animations.

This introduces a small new feature for ScaleAnimation allowing
the scaling factor to be expressed as a percentage of the object
(which is the same as the existing float interpretation), a
percentage of the container, or a fixed dimension.  Maybe not
useful for anything else, but I needed it for this.

Also fix a bug in how transformation matrices were propagated
from the Animation to Surface Flinger, so that rotate and skew
animations will actually work. :p

AOSP-Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d

- Don't leak.

AOSP-Change-Id: I756d54feeef4ff73f17c80d4b4405de56a5787a6

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
Allow reducing the BT connection delay.

By default, a four-second delay is imposed on some devices between
setting up HFP and A2DP.  This makes Bluetooth initialization take
much longer than it needs to for many devices.  This delay is very
annoying; slow Bluetooth connections often mean the user is sitting
around, waiting for it to complete.

Allow disabling this delay if the user's devices don't need it.  I've
assumed that some devices do (it's there for a reason), so the default
is unchanged.

Change-Id: Ibfa0a76b4907cb76ad754c09d15e21b5f8b278cd
Signed-off-by: Glenn Maynard <glenn@zewt.org>
Add option to lock volume keys in silent mode (framework part)

Prevents silent mode from being unset by volume keys
CMParts part: http://review.cyanogenmod.com/#change,7620

Change-Id: I6368d518008368a3306c4ed3472c346360afd9b9
Fix automatic timezone selection in Hawaii.

It is impossible to determine the correct timezone from NITZ alone.
All other alternative timezones in UTC-10 are invalid, tiny populations, no cell service.
See http://wtogami.blogspot.com/2012/01/hawaii-android-automatic-time-zone-bug.html

Change-Id: I636a628fdad24b187a0010fba137f1e0764c82f3