telephony: HTCQualcommRIL: add QualcommNoSimReadyRIL based HTC RIL

HTC Ville (One S) requires a no sim ready ril, with some HTC specific
changes, such as custom radio power on and iccIO.

Change-Id: I58150e8046da95ebb11a4c78a8441b814ce4fb5d

telephony: HTCQualcommRIL: clean up processUnsolicited

Based on rmcc's processUnsolicited cleanup commit.

Change-Id: I00f266c52d281ed92b9f8dab0f3c432acc24c6e7

telephony: HTCQualcommRIL: fix signal strength calculation

HTC RIL defines a custom signal strength packet format. Modify the
signal strength packet data such that the framework signal strength
calculation function understands it.

Change-Id: I8640c2ab31f06740325f440ae4aa4a0953968146

telephony: HTCQualcommRIL: add custom sim pin/datacall functions

HTC use a custom function set for data call and simlock functionality.
This patch fixes sim pin and 3G-2G switch functionality.

Change-Id: Ieb4b47501fe1665620afa4d58616180f6c516d9e
LockScreen: Android runtime error when package is not found

Change-Id: I98fa13608b5d9830e9038cdbd037394951896f47
Hungarian translation for frameworks_base (v2)

Change-Id: I307df865931965c1ef63d0f13a41b37553bb7f06
PT-BR: Missing translations

Change-Id: I294440082fa421f17c9291f4dbe2a7fe87be247f
LGEQualcommUiccRIL: Fix multi-PDP support

Multiple concurrent PDPs are now functional, allowing the back-compat
singlepdp flag to be disabled

Change-Id: I8ef55e96b9f05d4a4dd8dbbaeddf6d48ded7fc67
Power Widgets: Add blue-background highlight on selection

Allows the user to see which widget was clicked.

Change-Id: I8d7a9fad54067677029f3fa0caea0f0f6b2561d7
Increase size of the tablet status bar settings

At 280px the status bar settings needs to be scrolled
quite a bit in order to see the available toggles.
~380px should be the limit for a 1024x600 7" tablet

1280x800 10.1" tablets could overlay this with 480px
and it will still fit.

Change-Id: I9d4b9a882c28bebfe636d9f29e42eafd21ce189a
SystemUI: calculate height for tablet status_bar_settings_view

Use the minimum height required for no scrolling. If that height
will exceed the device's display height, reduce it accordingly.

This removes the need for hardcoded height in resource file and
the use of overlays to adjust it.

Change-Id: I0a85f19c2619dedd70a3e686982e0c483f9e3d32
frameworks/base: surfaceflinger: Enable dither if needed

SF is checking if dithering is required but not enabling it.
Enable for layer drawing and  also for screenshot for 16bpp
framebuffer only.

CRs-fixed: 333721
(cherry picked from commit 85c02ed97b4a1d0cc343a452959570b379928d59)

Change-Id: I599fe5b9683db208c8b32a1d3d395d5203f78fd3
Additional fixes for button/keyboard backlight auto-brightness.

- Use sensor-determined brightness values when the button and/or keyboard
  lights are on, even if button/keyboard auto-brightness is disabled, since
  users may want to specify a custom brightness setting that disables the
  button/keyboard backlight entirely in low-ambient light situations.

- When button/keyboard auto-brightness is disabled, don't update button and
  keyboard brightnesses immediately if ambient light (the sensor) changes,
  as this may reactivate these lights after they've turned off in absense of
  user activity.  This is a particular problem when watching video or other
  circumstances when the lights are not expected to reactivate.
telephony: CDMA: fix ERI display when device is in airplane mode

currently when a CDMA device is in airplane mode, the ERI display
shows "Searching for Service"
the radio is OFF, and not searching for anything, so fix it to
actually display the radio status correctly

Change-Id: I3acfb509291867e1a8e35163a89d86719aa40479
Update reboot and screenshot drawables

Change-Id: I7e434e9f3774d6350ce56e0f6706dd30be8e3377

Conflicts:

	core/res/res/drawable-xhdpi/ic_lock_reboot.png
	core/res/res/drawable-xhdpi/ic_lock_screenshot.png
Prevent Sym key from showing the IME picker

By default InputMethodManager will popup an IME picker when pressing
the Sym key.

This can be disabled by setting config_symKeyShowsImePicker to false in the
overlay (so the Sym key will show the symbol windows selector for ex.)

Change-Id: I27f5210ddf1aee5b19389a12dc9e21100dbefa0b

Conflicts:

	core/res/res/values/config.xml
Power widget & tether: Restore ICS drawables, replace/create xhdpi drawables

This restores the ICS drawables because they fit better. Some icons by prash
was kept slightly modified and quite a few new ones.

Also replaces the tethering notification drawables as the stock ones
are too big.

Change-Id: I49e1e457fd931b38b5cf16fbeb3b8c58f0b66331
Power widget: Resize ring_on and ring_vibrate_on drawbles slightly

Made the icons slightly smaller to fit the silent-drawable based on
user feedback. I agree it was a bit large before.

Thanks to dvtonder for the originals.

stat_silent.png is only resaved so that it once again works in PS.

Change-Id: Ic54f97eba6163d1f828a6bea1f4f14dba9c57b9c
Allow theming of framework UI elements.

As the theme engine works by replacing resources while loading the APK,
framework UI couldn't be themed so far. Workaround that by manually
creating a com.android.systemui package context and using that for
showing the UI. This attempt is a bit hacky, but should be safe as
a) systemui should always be present
b) if it isn't, we fall back to no theming

Change-Id: I644e2e8d7d4abf07bae639b606197d691f16adac

Applying theming to more framework items.

All dialogs and notifications should be covered now.

Change-Id: If93f81991361165a00b5b1b03ffc323e3ab42c0b
Revert "MemoryHeapBase: ifdef for gingerbread compatibility"

This reverts commit a35c5a16233173b580d78c3915979d17c9a136b6.

Change-Id: Iadbb26ecad3da2cfb2a6b31c41f1b358fdcd5d54
MemoryHeapBase: ifdef for gingerbread compatibility

Allow to "revert" by a board config flag the offset member addon
see commit f24c4cd0f20 (aosp change id Ie618fb5c0718e)

This change is required to use overlay based proprietary camera libs
coming from gingerbread and froyo builds.

This change also requires a global cflag named BINDER_COMPAT
because a lot of modules use the MemoryHeap includes

Add this in your BoardConfig.mk :
COMMON_GLOBAL_CFLAGS += -DBINDER_COMPAT

Change-Id: Ib0370fbf4c4770f8141607a8fc393639ffbdc8e2
Framework: Add Missed call and Voicemail to notification light settings (2/3)

This commit adds the ability to store the configured missed call and voicemail
light settings

Requires Part 1 (Settings) and Part 3 (Phone) commits

Change-Id: I726cbad5c0f9f7d4f84091eeb747c21567ce443e
SimUnlockScreen: Explicitly register themeChange receiver

The unlock activity changed a bit in ICS, so we need to register the
receiver explicitly instead of relying on onResume() to be called in
order to set it up

Change-Id: I9ac9463f249b37466f8daf99d34b85c15b06d43f