Bury those beans

Change-Id: I19ec61ebb2def2cf3001a580eda7a25aea2f5dd9
Add double tap sleep feature to secure lockscreens.

In its current state double tap works on the status bar on unsecure
lockscreens this adds the feature to pin, password, and pattern
lockscreens.

 - pin and password: double tap the text entry view.
 - pattern: double tap anywhere on the pattern view.

Patch Set 3:
 - add to slide lockscreen(glowpad): double tap glow pad to sleep
 - update commit message

Change-Id: I70eeae4acaa61b44feab661082bcfdbac7b9dfc3
Signed-off-by: baked <travp624@gmail.com>

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java
core: add support for translucent volume panel

Add support for display the volume panel in translucent mode

Patchset 4: Make it depends to high-end graphics flag

Change-Id: I4f21a6cc88282789072a0e71ae696b754a5e083e
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "Bury those beans" into kitkat
Merge branch 'kitkat' of https://github.com/AOSPA/android_frameworks_base into kitkat
Screen Recorder: squashed: Add native java screen recorder [1/2]

This is based on the screenrecorder binary found in frameworks/av.
It has been converted to a native library with the necessary jni
hooks for interfacing withit via a ScreenRecorder java class.

Volume up + power chord is used to start and stop recording by
binding to the service found in the ScreenRecorder app:
https://github.com/ChameleonOS/android_packages_apps_ScreenRecorder

PS1:
Clean up white space.
PS2:
Fix naming convention for state field.
PS3:
Rebase
PS4:
Post mScreenRecordTimeout with 1000 millisecond delay instead
of 10000.
PS5:
Send record screen broadcast instead of using the service
directly.
PS6:
SCREEN_RECORDER_FRAMERATE should be SCREEN_RECORDER_BITRATE

Change-Id: I5b7af9b4b4f24a8c54ac0f9dcb36ace16672e2cf

Screen recorder: add ability to record audio from mic [1/2]
Change-Id: I2422a3c651e469bc9ffeb6b101f43e145dc5de85

Add global action for screen recording. [1/2]
PS4:
Send record screen broadcast instead of using the service
directly.

Change-Id: Ie6d4655b074992075df0060d23c758f2af06387e

SystemUI: Add RECORD_AUDIO permission - xplodwild
Change-Id: I5af3cbe31f182c8b5cf1633aaf8a16db2856a425

SystemUI: Add missing sound permissions for screen recording - xplodwild
Change-Id: If948aabfd5c2e09f192f12aa02830d39346d2c6c
Revert "Fix stencil buffer bug."

This reverts commit c0eded993de87ed042d83f58ed3ab7b17c5267d2.
Display: Dirty region propagation

Pass Dirty region values from HW renderer to Surface Texture.

Change-Id: Ibd121ed398a1319d3daf26f9fd39a03323bba666
Show live wallpapers in the recents view on high-end devices

Change-Id: Iefbf4f292b6a9bfdb516f154cc2976db2ba86cde
SystemUI: Add missing catalan translation

PS2: some corrections

Change-Id: Iee6dcef26aab68796cf22c2b26ccef5616056ff6
Revert "[1/3]Quiet Hours"

This reverts commit d1f9f1c3096df9918472526a89580fb8621b9cb4.

The implementation needs to be reworked

Change-Id: I4caf96e2e8f1bce4759308bd73e2f27da19aa811
Merge "Revert "[1/3]Quiet Hours"" into kitkat
Merge "SystemUI: Add missing catalan translation" into kitkat
Added sahlnaskh arabic font to Android.mk & fonts.mk files to actually get the font installed

Change-Id: If99e370f9d37ce1838bdcf10e895a9d0908d9176
core: fix volume panel more button transparency

Change-Id: I9f728256efbaf138611822079ea7737cd345bb19
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Quicksettings: Immersive: Make last active state a system variable.

Will persist after reboot.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I8f9f62d67e7de079e59ce5292604efacec042bcf
core: Fix too long ON/OFF strings

Use Unicode chars '❙' for ON and '〇' for OFF

Change-Id: I563f1ea331a07dcaeedce28688c2121de0716185

Conflicts:
	core/res/res/values-pt-rPT/strings.xml
A background started service is removed from mStartingBackground when timeout.
Fix is to make sure mStartingBackground is updated to remove one.

Change-Id: I0e42beb550d33e6e400349b85bbb89848e18d520
Fix, MountService now only sends one onShutDownComplete

The event onShutDownComplete are sent only when all
volumes are shutdown. (Not one for every volume.)

Change-Id: I6af521ee8285ca581efac7d3c5f013dfbff3ee30
Sensor: Enable the motion accelerometer for screen orientation change

The screen orientation can be detected by the motion accelerometer
instead of generic accelerometer to save power.

Change-Id: Iaeb3e5958d2ef7cc33080d7091ed8a5462695c67

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml