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
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
opengl: remove tegra errata duplicates

Change-Id: I118ad07cb7b45db1b8b73b79852d5c8956387bc8
Update reboot and screenshot drawables

Change-Id: I7e434e9f3774d6350ce56e0f6706dd30be8e3377
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
Merge "telephony: CDMA: fix ERI display when device is in airplane mode" into ics
Merge "MemoryHeapBase: ifdef for gingerbread compatibility" into ics
Merge "opengl: remove tegra errata duplicates" into ics
Merge "Update reboot and screenshot drawables" into ics
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
Merge "Prevent Sym key from showing the IME picker" into ics
Merge "Power widget & tether: Restore ICS drawables, replace/create xhdpi drawables" into ics
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
Merge "Allow theming of framework UI elements." into ics
Merge branch 'ics' of github.com:CyanogenMod/android_frameworks_base into opensensation