Removed old Traffic indiciator and added MIUI-like one from ChaOS

Credit and Thanks to 0xD34D/ChaOS team.

Change-Id: I11cabc3001aaf4129b60d361b7b37dce104e0f04
Frameworks: Fast Charge tile (1/2)

Thanks roman for the basic idea to use an overlay
to set the fast charge path so each device can set
the propper path to the custom kernel.
As well this commit pays attention if the user
flashed a kernel which does not support fastcharge
or is using another path. Option for tile in settings will be removed
as well.

not 100% happy with the whole fast charge implementation...but I am lazy :p
...whatever maybe I will recode that all on a later point. It
is working as intended like it is.

PS2: Fix tile not updating

Change-Id: I0cb830c1ecfebe479a2e10a31c7c84967e2e2030
Regenerate all the OpenGL stubs.

Bug: https://code.google.com/p/android/issues/detail?id=60390
Change-Id: I2e6f210178f656a5f08a1fcd4239581d680329a6
Fix unresponsive home key after waking device with a long press

With the lockscreen disabled mHomeConsumed would not be properly set back to
false upon releasing the key, causing a subsequent press to perform no action.

Change-Id: I38eeba5850c2f0474cc4cca82a9dcbf17afa4665
Fix duplicate number of columns in landscape in quicksettings

Change-Id: I5fa31b0d863991918d5c52d9aef33a7e1f4b7b22
NetworkStatView: return icon color back

PS2 - make it another preference

Change-Id: I000b072b8e8e474601effd3d76af7ef3bd0bebb0
Framework Base: ES translations

Change-Id: Icdf0205c91f6111240c4ba4ce87d1017d3249a8b
Privacy guard changes from Slim

privacy guard: changes part 1

the new cm implementation from our privacy guard is not the best.
Some changes we needd to do next week. For first give back the ability
to filter critical apps + do not show apps without any permissions

to do
- enable only the critical permissions the app is using
- add another active icon to notify the user if he modiefied another permission then the default ones
- add ability to disable notifications

Change-Id: I59fac120dd00126533e99cb65f5136b11f42e20b

Frameworks: Privacy Guard part 2 (1/2)

Current implementation does not really merge both awesome features
appops and privacy guard. As well it is from UX perspective too complicated

So this commits changes:

- Move int array to logical correct place AppOpsManager
- Switch only the privacy guard permissions which the app
  really requests and not all...this irritates the user
- give support for custom permission set and reflect this state
  with an icon in notification and pgm
- add pack filterpermission feature due that user mainly are interested
  in the apps which use critical personal data
- permit by default as well writing off personal data
- do not show apps where either permissions are not changeable due
  off appops or apps which do not have permissions at all
- ability to hide pg notification
- remove pg checkbox in InstalledAppdetails and add a button to
  modify appops. Button is disabled if either the app does not have
  permissions or appops does not support it. As well for platform
  certificate apps
- add on appops detail screen reset and privacy guard button to quick
  change all states
- rework of the complete dialog handling in pgm and add several dialogs
- move all notify icon for pgm and notification to frameworks base
- and a lot more minor fixes and fc fixes

cheers

PatchSet:
- correct privacy guard filter logic
- add pgm map
- add status icons.....PGM shows either off/partly enabled/enabled
  in addition to it other set permissions shows a red plus sign on
  the top right corner of the PGM icon on all states
- tapping on PGM and menu pgm button on detail appops screen turns on/off
  only PGM permissions to be more consistent
- some minor fixes

Change-Id: I990a6c7f25cdee5febdb95c1e26c022d6bcb27e0
Framework: Option to force keyboard to show enter key (1/2)

Original SlimRoms feature!  Not everyone likes emoticons :-(

We had the setting string but the rest was missing.

Change-Id: Idc093d8fa14633ccf2817fadcfb09d32768445b0
Framwork: Add support for variable size pattern lockscreen (Part 1/2)

Part 2: http://review.cyanogenmod.org/#/c/28534/2

Forward port of: http://review.cyanogenmod.org/#/c/20613/

The default size has been replaced with a constant PATTERN_SIZE_DEFAULT=3
It now parses the longInt as a byte, no longer requiring a get/set Int function.
Negative numbers and sizes over 127 do not make sense, so a byte works well.
In addition the logging has been removed.

Patch Set 1-2: Initial port

Patch Set 3-5: New implementation using seperate file for non standard sizes

Patch Set 6: Use AOSP code style

Patch Set 7-9: Remove static code

Patch Set 10: Correct a comment

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/widget/LockPatternView.java
	core/java/com/android/internal/widget/LockSettingsService.java
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/PatternUnlockScreen.java

Change-Id: Ia06fc5a7dc2819f78843fddcf1470d85ebe2ad13
Add gesture based lockscreen security. [1/2]
This adds the ability to us a hand drawn gesture as
a means to unlock the device.

In the case that the gesture is forgotton or not
being recognized correctly, the fallback will be the
same as when using patterns.

PS2:
Return SecurityMode.Account as backup for gesture login.

PS3:
Poke the wakelock when a gesture is detected so the screen
will not timeout when an invalid gesture is entered.

PS4:
Clean things up a bit.

Change-Id: I4ca8d7edff0a8906220cf4561d8b90896520e0cd
Add back Thinking Bridge traffic meter

PS3: Make color use STATUSBAR_NETWORK_COLOR

Change-Id: If6101026b1967528eaf1b8ae2b5172d535bb9439