Tablet powerwidget improvements (1/2)

Removes a lot of unecessary code, and does not limit toggles by 6 but dinamically adds the views to layout

patchset 2: remove tab

Change-Id: Id125605791d2de353e7466c4dfe135c32fb80df6
fix automatic timezone failing on some GSM networks

in the code that parses the NITZ string, someone made the assumption that if
any data follows the DST flag, it must be be the android emulator appending
an actual timezone string in "Area!Location" format.  However, it seems that
some carriers or perhaps in some locations, the carrier sends an additional
field in the NITZ string.  For example, this is a string from AT&T:

12/07/01,09:37:43-16,01,310

The extra field is "310" above.  This patch will only assume that the field
in question is a textual timezone if and only if it contains an exclamation
point.  Otherwise, the extra field is ignored and the timezone is parsed
as it should be.

Change-Id: I6cc4278027a6de5545d76b803f5359923e60878a
Signed-off-by: Gary Dezern <garyd9@gmail.com>
Disable touch while using the stylus (Galaxy Note)

Android 4.0 cannot form multitouch events from multiple input
devices. So it is not possible to report one touchpoint from the
stylus position and, at the same time, another touchpoint from a
finger touch. Instead, when a new input device starts up the currently
active input is cancelled. This is highly undesirable while writing
with the pen.

The easiest solution is to ignore non-stylus touch events while the
stylus is within range (hovering) of the touchscreen. For example,
N-trig digitizers implement this in hardware. But wacom digitizers do
report pen data simultaneously with touch data. This patch disables
(non-stylus) touch input within 50ms of stylus data. On my Galaxy
Note this is necessary to make stylus input usable.

Change-Id: I9f458d85d8bf83d6cf03b467d46ce066fd55b7e0
PT-BR: SystemUI Screen timeout translation

Change-Id: I9fe94cc036c15cdba0eccd3c5778687a3c6eee98
Merge "fix automatic timezone failing on some GSM networks" into ics
Externalize symbol picker options to resources

Having the symbol picker options in resources allows a change to be made for
a specific device, and even for a specific locale (change in overlay).

Change-Id: If39eafc7d0766d28ef6bee0ff61bf234a6654f38
Merge "Tablet powerwidget improvements (1/2)" into ics
Merge "Disable touch while using the stylus (Galaxy Note)" into ics
Merge "PT-BR: SystemUI Screen timeout translation" into ics
camera: Send proper preview window updates to HAL

During setPreviewWindow call camera_preview_window instance will
be passed to the HAL. camera_preview_window instance will never change when
ANativeWindow is updated. Hence HAL tries to use old preview window
handle not knowing that the preview window is updated. Added the
check in camera interface to reset the preview handle based on
whether ANativeWindow instance is changed or not.

CRs-Fixed: 341892
Change-Id: I6743f24cbd4467025d6fe21098c7ce6813017d5e

Frameworks: Allow CameraService to set window when preview is not running

Change-Id: Iab3f652ed3a7639c660e85c98a837215985a3296

 Camera: Enable metadata callback after snapshot

Change-Id: I734fc596b7549d4dcc00aee466e1c4be02e38c8d
CRs-fixed: 346728
audioflinger: workaround for samsungs volume bug

play music via headset -> notification comes in -> music volume gets set to 0 ->
notification gets played -> music resumes with wrong (much lower) volume

Change-Id: I3961ed48d0687bacb60ee8d4ddc82575f06c908e
Increasing ringtone volume option (1/3)

- Extend volume preference to be able to intercept volume changes
- Add settings to provider

Change-Id: Iec36c1ea0c9cc389e0c752d74a80694d62055fd1
SamsumgCDMAQualcommRIL: 'Phantom Ringtone' Fix

Import the fix from SamsungRIL to fix the 'Phantom ringtone' (or 'Ring of Death').
See source for comments about the fix.

Change-Id: I0da6586e6a5b47abc9a7ceba45c4c71a5c9052f6
Add RIL class for D2 GSM devices with Samsung video call field.

Add a new RIL class with responseCallList that handles the Samsung video call
field. Fixes stuck on hangup and missed incoming call on d2att.

Change-Id: I3204283876a0d1c8af4c6df1c04d8c34c3a6131f
Merge branch 'ics' of git://github.com/CyanogenMod/android_frameworks_base into HEAD