Dynamic data usage [2/2]

Change-Id: Ibd0067418435442d8cff922faf8ef0f6a5a28761
Make Navring available to devices with no navbar

Swipe up from bottom of screen to access navring

Change-Id: Ib29b37f26187a65faef17571328cef57f6896b29
Animations fix black space with enter only and translucent reverse exit

Change-Id: I7e516805639307a8d9e0b2e66aac2c05fdb69c5f
Signed-off-by: Steve Spear <steve.spear@openpeak.com>
Volume adjust sound preference 1/2

Change-Id: Ib74004a1416d0f6a444cc664e8addeeadb3dca91
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Switch to revolt settings table
frameworks/Documents: ES translations

Change-Id: I289b56f1b9ecdfe1d37633eb64b24eea5c927d9f
Fix Icon size in DocumentsUI

For XXHDPI devices if you go into Settings/Display and Notification light and select a custom value (application) you will see a GIANT icon.

Before - http://i.imgur.com/DRkua3T.png

After - http://i.imgur.com/f7xW4tY.png

Change-Id: Ia355bddc515906134c8b3b4e67d381aaacceec78
DocumentsUI: add translations from OmniROM

Signed-off-by: Arnav Gupta <championswimmer@aokp.co>
FW: move kill-all to bottom right in landscape

The Rambar covers up the Kill-All button since its re-implimentation.
Move the kill-all to the bottom right so they don't overlap.

Change-Id: I07cd071a429605aef6cb61b11d772ae81f798e2b
Signed-off-by: Andrew Warfield <hiasant@gmail.com>
Make sure to turn off led after pulse()

setLightLocked() will update mColor. This will cause the led to not be
turned off after the pulse.
When notificationManager starts a attention pulse the led will be kept
on. Since attention is of highest prio nothing can turn it off.
This is fixed by resetting mColor back to 0 after the call.

Change-Id: Id60ef96e5c21b47c23002f0bcf2fae7fb3f2ca10
Fix for positioning of glyphs within a bitmap

For positioning of glyphs within a bitmap, roundf(int + float) is used,
where the float is the glyph position and the int is the text position.
When the text position is varied, this may lead to the sum being rounded
in different directions, due to floating point rounding, caused by that
floating point numbers have different precision in different ranges.

This may therefore lead to slightly different positioning for glyphs and
therefore slightly different widths and heights for text strings,
depending on the position they are rendered at.

The solution in this patch is to use int + (int) roundf(float), which
has consistent rounding, and also enables us to use the full range of
ints.

Change-Id: Id1143cdfcbdfa9915ced878ae04df589a3e03cee
Czech translation for DocumentsUI

Change-Id: I281704fb1230340332671bc81399e93bd4397284
Signed-off-by: kecinzer <kecinzer@gmail.com>
Fix resource leak: When call MediaMetadataRetriever.setDataSource or getFrameAtTime should ensure call release in finally to avoid resource leak
                   Patch set 2: Remove unnecessary white spaces

Change-Id: I49a7f2fb99dc8b9560e7c17421125356e45a87ac
[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager

Symptom:
When press Home key to home screen, user is able to see the activity's window shown on top of wallpaper and below launcher(widgets).

Root Cause:
The ensureActivitiesVisibleLocked() is called pretty often (for example when a new process bound).
If the top activity "B" was finishing, then the previous activity "A" should be visible.
Therefore, the activity "A" window will be set to visible and then launched activity "A", but it does not updates the visible state in ActivityRecord for "A".
There has a timing issue that if a new activity "C" is started, "C" becomes the new top activity and be resumed.
In that case, Activity "A" window will remain visible even if it is behind a full screen activity "C" because the ActivityRecord.visble of "A" is still false, so the window visibility won't be update.
So when user press home key and back to launcher, the surface of activity "A" will be composed on top of wallpaper.

Solution:
Updates ActivityRecord.visible to true for "A". After "C" is started, the "A" will be called WindowManagerService.setAppVisibility() to set invisible, then called onStop() when execute ensureActivitiesVisibleLocked() again.

Change-Id: I536ba04b95d8d274fea6d679a6493e620bc981e2
Fixed cancel() not working correctly

The method handleMessage(Message msg) from mHandler variable was
not checking if the timer was cancelled, so
sendMessageDelayed(obtainMessage(MSG), delay) was keeping the
timer alive. The patch simply adds a boolean and checks if the
CountDownTimer was cancelled before calling
sendMessageDelayed(obtainMessage(MSG), delay)

bug: https://code.google.com/p/android/issues/detail?id=58668

Change-Id: Ic6bbb9d33a3616f8503db222513cc14ad2270cb8
Signed-off-by: jl1990 <jlcarrasco1990@gmail.com>
Missing break in switch statement

Change-Id: I462c0c5fec96a850032266b04419ec409ad02174
fw: Ribbons Icon Gravity

Change-Id: I2ab6bd7231aae38a847c809e74f1374c9ddcb8ce
Signed-off-by: Steve Spear <steve.spear@openpeak.com>

Conflicts:

	packages/SystemUI/src/com/android/systemui/aokp/AokpSwipeRibbon.java
Statusbar: Allow network stats to participate in lights out mode

Change-Id: I424f9382ed502b15ab243a9ba5a80c37285bce38
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
FW: remove hardware rebinding reboot requirement

*updateSettings() is called onChange, so update the
 key assignments when updateSettings is called.

Change-Id: I0cf5ff6dfc7abee782aa56c8c95f8a9f19f99494
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
SystemUI: fix usb tether toggle not updating its state

added missing permission android.permission.CONNECTIVITY_INTERNAL

Change-Id: Ic0b2dad01c5b5d53a17b7996e3c3324538a5a411
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>