Make ImageView drawable update more efficient in some cases.

When updating the view's drawable via setImageResource or setImageURI,
make sure to skip the layout pass if the old and new drawable have equal
sizes. This follows what is already done for setDrawable().

Change-Id: If73d225e38d0a2f7c616c4aeb33f67bdaed390f1
Avoid layout passes when updating data activity indicators.

ImageView can optimize out layout passes if old and new drawable have
equal sizes. Take advantage of that by displaying a transparent drawable
with the same size as the in/out drawables when there's no activity
instead of clearing out the drawable in that case.

Change-Id: Iaaa556ffab3ed4be1da8016ed40d0a9c2efcde01
Fix a bootloop problem when /data/system/usagestats/usage-history.xml is empty.
This often occurs after an incomplete reboot/shutdown or battery pull.

Patchset 2: Cleanup
Patchset 3: More Cleanup
Patchset 4: derp

Change-Id: I4f01151f4051df4ae1b85fa460ec7a9e70122878
Merge "Fix a bootloop problem when /data/system/usagestats/usage-history.xml is empty. This often occurs after an incomplete reboot/shutdown or battery pull." into android-4.4
Merge "Avoid layout passes when updating data activity indicators." into android-4.4
Merge "Make ImageView drawable update more efficient in some cases." into android-4.4
Immersive mode on quick settings based on PA commits

This adds the ability to toggle statusbar / navbar via quicksettings (former expanded desktop), but
using the new 4.4 APIs that allow a swipe-up, swipe-down gesture, to restore bars.

Credits to CM project for the implementation
http://review.cyanogenmod.org/#/c/53468/

Drawables by Arz Bhati

Token from PA

Change-Id: I62f782b7f64c8d320a2364dbff2fdb2dfe617f69
base: added national roaming for BOB in Austria

http://jira.omnirom.org/browse/OMNI-121

Users of BOB in Austria (MCC 232 MNC 11) can roam on
A1 (MNC 01)

PS2:
wrong order

Change-Id: Ibf9f48cd0a142eb984ff2450337031f6c411f8c0
Merge "base: added national roaming for BOB in Austria" into android-4.4
Add a circlular memory indicator to the recent panel view (1/2)

Originally picked from Chameleon OS
http://goo.gl/vgL71x

Modifications:
It allows to be toggled on/off as well as setting a custom location.

Colors are not solid, they have an alpha channel to provide
transparency, this way it doesnt interfer much with the recents
panel view.

Screenshot:
http://goo.gl/Th7g0j

OmniGears Part:
https://gerrit.omnirom.org/#/c/3057/

Change-Id: I07999d476a16d24ddf9c6de441ae646887da8074
Merge "Add a circlular memory indicator to the recent panel view (1/2)" into android-4.4
frameworks/Documents: ES translations

Change-Id: I289b56f1b9ecdfe1d37633eb64b24eea5c927d9f
base: correct default enablement of battery light

Use default value from config

Change-Id: I50a0e78bf4528ee8991da41aa1fdcfaaa30b107d
[1/2]Base: Stylus Gestures

Change-Id: I35f5b9128ffff4df87c160e27cf86624ed6333e7
[2/2] Framework/base: Configure headset hook

Whether or not to allo headset hook to launch voice commands

Useful with headset control programs

PS3: Dont use getIntForUser directly. It breaks
PS5: Whitespce
PS6: Rebase

Change-Id: Ifc24407b87a469a4baadad098895564f7f9aecb8
Base: [1/3] Customizable lockscreen & navring targets

This is a squashed commit, ported from CM:

Add GlowPadView extensions needed for lockscreen targets and nav ring
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: I4f82fd3fe04ac16c6737d38b2473f2a533c5d326

Framework : Lockscreen - Customizable shortcuts
Author: Danesh M <daneshm90@gmail.com>
Change-Id: Ic3b935df5c0da35f31373d96943e442dc39cf11b

Add back navigation ring customization
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: Iebe4ec7c2519b85cfd5189d060444764a50f3cf6
Merge "frameworks/Documents: ES translations" into android-4.4
base: layout circle battery percent really in the center

There is no need to use strokeWidth in this layout calculation

Change-Id: I68471c5f63b49e815f305bc3d5bd86b67afeb647
[1/2] base: allow disabling call end sound

Change-Id: I4e5942de5c61dab9ee59cbf3b6599af32edb1d47
Add support for QC's time_daemon

Enabled by BOARD_USES_QC_TIME_SERVICES=true, it requires the device
to provide its own time_daemon executable and libtime_genoff.so
proprietaries. The library should be copied by the device's setup
config to $OUT/obj/lib for linkage (and pushed to the final build,
obviously)

Change-Id: Ie6964dbe2692dc33fc04093a5b89b6922d8443c8