Add GlowPadView extensions needed for lockscreeb/quicklaunch shortcuts
Fix layout of MultiWaveView and GlowPadView.

If the calculated size of the rings is much smaller than the measured
size (which is happening e.g. on mdpi 600x1024 tablets), the glow pad
appeared shifted to the right.
This happened due to the insets being calculated as difference of
available and needed size, and later on being added to the available
size. Example numbers (Nexus 4 with density forced to 160):
- computed size in onMeasure: 768x505
- scaled size in onMeasure: 505x505
- thus, insets are calculated as 131/0
- in onLayout, placementWidth (364) and max target width (108) are much
  smaller than width (768)
- thus, center is calculated as 131 + (768 / 2) = 515, thus shifted to
  the right

Fix that by not using width in the calculation, as the inset size
already takes it into consideration.
Quick launch shortcuts
Quick launch shortcuts screenOff action new icons
Quick launch powerMenu action
Navigation Bar: Rotate the search light in landscape

The current search light icon is an arrow pointing upwards, so while in portrait it points to the direction to be swiped to access Google Now (and the customizable shortcuts), in landscape it points upward as well which looks out of place, and swiping upwards reveals that you have to swipe towards the left to access those targets. Rotate it by 270 degrees to make it point towards the right direction (i.e. Towards the lockscreen widgets)
Navigation bar buttons customization
Quick settings: use hasTorchPackage, rather than supportsLED
Follow up 6b77eb7330bb3833d1c62b5b40e160bfaaa09c30
Circle battery
UsbStoreActivity: Null pointer derefence
Clear all recents button cleanUp
reference https://github.com/CyanogenMod/android_frameworks_base/commit/6471aee7bec8e8d2eb179db9605d3b6a12ac48f6
Move status bar native battery percentage into status bar battery style
Remove dead code
getRecentsButton() is dead with b2f9302fafad0635f36d8ea9bd9c754906d5544c
Prevent a system_server crash is package name is null

If an app is placed on the system partition and it doesn't specify a
   valid package name, system_server will crash forever. Just skip it.
Fix navbar editor for RTL layouts.

Remove navigation bar layout XML override which wasn't needed anyway, as the views in mid_navigation_bar are already reordered based on the layout direction anyway.
SystemUI: fix RecentPanel position in landscape mode.

In landscape mdoe we forcing ltr layout direction. This cause call to resolvePadding too late and discards paddings computed by fitSystemWindows. To workaround this we can catch onRtlPropertiesChanged and force executuin of fitSystemWindows one more time. To fix scroll issue after padding will be setted we calling scrollTo with correct position.
Quick launch cleanup

Revert "Quick launch powerMenu action"

This reverts commit 196c4df8a3997010f5fcbfb2fa41f886958a1403.

Revert "Quick launch shortcuts"

This reverts commit a5ea5a1c45bcddbac5fd207164dbfc492567a756.

Revert "Fix layout of MultiWaveView and GlowPadView."

This reverts commit 799574139e4f384f8d9446cf92fb2b1a4c525b5b.

Revert "Add GlowPadView extensions needed for lockscreeb/quicklaunch shortcuts"

This reverts commit 3986c45e6a144e3995ca8d619eb1bb377e439054.
Fix layout of MultiWaveView and GlowPadView.

If the calculated size of the rings is much smaller than the measured
size (which is happening e.g. on mdpi 600x1024 tablets), the glow pad
appeared shifted to the right.
This happened due to the insets being calculated as difference of
available and needed size, and later on being added to the available
size. Example numbers (Nexus 4 with density forced to 160):
- computed size in onMeasure: 768x505
- scaled size in onMeasure: 505x505
- thus, insets are calculated as 131/0
- in onLayout, placementWidth (364) and max target width (108) are much
  smaller than width (768)
- thus, center is calculated as 131 + (768 / 2) = 515, thus shifted to
  the right

Fix that by not using width in the calculation, as the inset size
already takes it into consideration.
Hide GlowPadView warnings

Make message verbose and contingent on DEBUG. This has been spamming my logs everytime I touch navbar or lockscreen targets.
Add GlowPadView extensions needed for lockscreen targets and nav ring.