Keyguard: ES translations

Change-Id: I5b4d021d6153417a755168ea8bfbca5f16e8b8ad
fb: clean up our and AOSP code for wifi and carrier label animation

we introduced with this AOSP commit

https://github.com/SlimRoms/frameworks_base/commit/288e3ec70e866105ba61f9ebf259cad29786ad9c

the ability to keep wifi and carrier label up to date on every network
change which happens. The big advantage of this change is that all the
calls for updating the label which are present in PhoneStatusBar are not
needed anymore. We can reduce it to call only when we have animations in progress
or if notifications update and we must decide if the label is still visible or not.
This are way less animation calls then before and on clean AOSP

As well clean up some of our old code which workaround all this calls.

This commit fixes two present minor issues
- carrier label was visible behind notifications (AOSP behaviour but conflicts with our transparency settings)
- due of new updatehandling it happened sometimes that on switching to QS the label was a bit to long visible
- animations are now completly always in sync

PS:
- animate from qs to notification drawer a bit later

PS:
- simplify it more
- fix direct pulldown QS shows sometimes carrier label

Change-Id: I74b80b8b72817da460703635a027f57bb4858f32

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fb: add bottom margin to stock default battery icon

We set the layout parameters programmatically so the fix from
google does not take effect. To solve set the bottom margin
programmatically based on the current display density

Change-Id: I9caa0e729afa19eb7cb852a1df6ad036a2839d1b
Frameworks: Fix 0% battery QS tile

when tile is recreated. Fetch the values from
BatteryController

Change-Id: Id0539016e1c479ac1f75535647d91a26f69a76b5
Keyguard: fix codestyle

Change-Id: I3f1fbab0ae5434b09766cd69c39a133f4a7039d0
fb: disable navigation bar camera button if widget carousel is enabled

Beside that the animation which starts when dragging the camera icon
to the left is broken if the user has enabled carousel animation like
tablets it does not feel natural even when we use the right animation for it.

So diable the camera button in this case and allow only swiping the camera widget on carousel mode

Change-Id: I6ba5eda7cd4603b1644ae088401b57861e4937a1

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fb: Keyguard disable challenge drag down on slimpin/simpuk screen

On simpin, simpuck and as well account change screen it does not make
any sense to give the user the abillity to drag down the challenge to show
the widget maximized (neither if widgets are enabled or disabled)
Reason: simpin/simpuck widget is not shown due of security reasons
and on account change the next expected behaviour is that the user gets a new
setup. So it does not make in this case as well sense

Just check for current securityscreen selection to block this behaviour. As
well move the enable/disable code to a proper place

Change-Id: I0b16d1e590252b537d6c71c4aa9b133ed832be45
Return: Smart Pulldown [1/2]

Adds the ability to directly open the QS panel when there are
no notifications present in the notification panel.
This commit combines the enhancement by HardCorePawn for detectin
notification types for the same.

Credits: kufikugel, HardCorePawn

PS 2-4 : Cleanup

Change-Id: I3c9b048f2616d2b8950930cc5bfac27c2364e826
fb: force carrier label height on first boot

reported tester issue:
- boot up
- pull down QS before any network action was done
- carrier/wifi label is shown on qs

Expected behaviour: should not show up on QS in any cases

Fix: force hide on first statusbar construct

seems to be in rare cases this update is needed to avoid showing the carrier
label on QS on first boot up and no connection is there hence emergency label
is shown

Change-Id: I72d2ddc7767938dd2ea657bd2d976b945b1f6467