SamsungQualcommUiccRIL: use signalstrength value instead of # of bars

  * Math error in GSM level calculation gave high probability that 4
    Samsung bars would be shown as 3 AOSP bars.
  * Samsung sends # of bars in the signalstrength field of GSM and LTE,
    indexes 0 and 7. But this is on a 0-5 scale where AOSP uses 0-4 scale.
    The cutoff points for the bins are also different. Because of this
    confusion, just pass the measured signalstrength to the framework
    instead of computing signalstrength based on # of Samsung bars.
  * For debug and experimentation, Samsung's bar method can be enabled
    by setting telephony.sends_barcount=true

Change-Id: I8238af83f3a597b32eb99f42c71cbc263ad5bc82
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>
Add SamsungCDMAQualcommRIL class for CDMA Galaxy S III family based on msm8960.

* Samsung CDMA RIL doesn't send CDMA NV in RIUM infomation format which causes
the CDMA RIL stack to crash and end up not being provisioned.
* Samsung put CDMA NV in GSM format. I forced the RIL stack to process CDMA NV
request as a GSM SIM in CDMA mode.
* Fix hangup bug, force drivercall class not to crash due to a malformed
response from ril. I suspect samsung rom ignores that. --FIXED properly JULY 3RD
* Workaround for signal strength.
* Properly fix drivercall which caused a regression in the previous attempt to
fix driver call because the ril is giving another request for videocall
infomation and causing drivercall to crash.
patchset 3, 4, and 7: Cleanup whitespace
patchset 8: wrapped commit message
Change-Id: I733a635edc645f4e7952083008e7eca12d7af015
input: add keymapping and handle www/com key for keypads in ics

Based off of this commit, updated for ics:
https://github.com/CyanogenMod/android_frameworks_base/commit/ebb5e47760cc156fba6d6a93ad0dfaeb562f4771

Allows keypads to have custom keymapping, and brings back www./.com key
function

Fixed: Corrected all wrong entries to api/current.txt,
including for those that already passed gerrit review
@hide used in java for all non aosp api

Change-Id: I0ffb35dae441e3ef7a4924492cc9168939551d3f
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
implement noise suppression for phone calls (1/2)

Change-Id: Ie67f15fd154dd0e64b6f3a007c938bf162e25e77
Fix first frame on rotation animation for Tegra

Modify rotation animation to use a screenshot instead of a black screen.

Change-Id: I71563680f5d7cb355dd50b8873fa1b420a131512
Merge "implement noise suppression for phone calls (1/2)" into ics
telephony: update stk service functionality for Samsung phones

Change-Id: I16015d29a969dfe6ed6dac118db39230b1b77ea1
Merge "Add SamsungCDMAQualcommRIL class for CDMA Galaxy S III family based on msm8960." into ics
Merge "input: add keymapping and handle www/com key for keypads in ics" into ics
input: fix recents opening when waking the device with the home button without lockscreen

Contributed by Andrea Arcangeli <andrea@cpushare.com>

Change-Id: I8fe581ae51b38b65540eaefba6c051101fd63021
samsung stk: fix null pointer while processing a sms

Change-Id: Ic80f59e7174932bb51bbefa9837635262feae8f1
HW Rotation lock for tablets (1/2)

Enabled use of hardware switch for rotation lock
on android tablets containing this feature
such as the acer iconia a500

Change-Id: Iaaecf3c6e8ae74ae9f5aefffa2c9b7d547ef0119
Merge "HW Rotation lock for tablets (1/2)" into ics
camera: ISO mode support (1/2)

Change-Id: Icdd4f676ea15b933985a9505fcf316aeb7c50ce2
Merge "input: fix recents opening when waking the device with the home button without lockscreen" into ics
Merge "camera: ISO mode support (1/2)" into ics
PT-BR: SystemUI Screen timeout translation

Change-Id: I9fe94cc036c15cdba0eccd3c5778687a3c6eee98