SystemUI: Add dock battery icon styles

Support for dock battery icon styles. This changes does a refactor of DockBatteryController to
extend BatteryController and create a new CircleDockBattery that extends CircleBattery (that listen
for dock battery events)

Patchset 2: Fully functional.
Patchset 3: Fixed min icons. Rebased.
Patchset 4: Create full device specific service in frameworks
            Move dock battery stuff from the framework to a device handler.
            Register/unregister DockBatteryController receivers
            Remove battery views if device doesn't support dock battery
            Refresh status on dock and screen on events
            Rebased
Patchset 5: Transformers backwards compatibility
            Better main battery status detection (use status instead of plugged type)
            Fixed battery cluster space in status bar
            Rebased
Patchset 6: Fix dock icons in ligths out mode
Patchset 7: Fix code style
            Fix lockscreen status
            Fix lights out mode (typo)
            Fix images size
            Rebased
Patchset 8: Fix icon images
            Fix status on full charge
            Rebased

TF700T implementation: http://review.cyanogenmod.org/#/c/31298/

Change-Id: I9a576d1b279f1883f736ac3bcd2435c4b95a73de
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	packages/SystemUI/res/values-sw600dp/dimens.xml
	packages/SystemUI/res/values/dimens.xml
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardMessageArea.java
implement 1% battery on select devices

via ro.product.use_charge_counter=1

Change-Id: I6ae67e36382038c84cd017bc015c9b46b40a59da
Fix Photosphere/Camera FCs

Photosphere is setting a few parameters "blindly"
while the API says it should check the device capabilities first.

On TF101 (and probably other devices) the camera HAL doesn't handle
FLASH_MODE & SCENE_MODE and so it sends the required RuntimeException
for these, which makes Photosphere FC the Camera app.

=> Fix: check device capabilities & ignore these 2 parameters if the device doesn't support them.

Fix based on following Team EOS patch: https://review.teameos.org/#/c/1598/

Change-Id: Idd80299802e9213a3c40414ace3d516d39f47783
camera: Add support for sending raw commands

 * Certain camera drivers need magic commands to select special modes
   such as ZSL or HDR. Add support for sending raw commands from
   applications.

Change-Id: I512a765c7a67ffd2877e465cf6493ffc2b3b54ac
Fix MAP SDP record generation [2/3].

Give the bluetooth app API to register a server socket for a specific
UUID/port pair. It needs that for registering two OBEX server instances.

Change-Id: I6ede7f2777040af4e653eceb14ea47a2c03abfae
Fix NPE when switching signal status style.

Change-Id: I3bd6e827c9f4a03b60364b0b4569c537ffd2d284
Merge "Fix NPE when switching signal status style." into jellybean-mr1
Remove background from ListView in dual pane layout.

Change-Id: Id98a07efabbcdff3f21ec0539f84cedd6ac717c8
Correct type for 480 dpi

Change-Id: I417741b5996f3b5eff1974f30439616fc1d454a4
Changing @ppbar to Appbar. [1/2]

Change-Id: I5373aafec2d76e169550a2bce8c2d2e8160da739
Move call to updateButtonLayoutWidth to recreateButtonLayout()

Change-Id: If547451382fb7c376c498545948dde4cfcf9cc31
Merge "Move call to updateButtonLayoutWidth to recreateButtonLayout()" into jellybean-mr1
Merge branch 'jellybean-mr1' of git://github.com/ChameleonOS/android_frameworks_base into jellybean-mr1