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
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>
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
Fix Power Shutter Exception 2 of 2

Set protection level to 'dangerous'

Change-Id: I9792f4c543c9ce8a647989ca60cdc9389602551c
Finish fixing Zygote descriptor leakage problem

In order to prevent Zygote descriptors from leaking into the child
environment, they should be closed by the forked-off child process
before the child switches to the application UID.  These changes close
the descriptors via dup2(), substituting a descriptor open to
/dev/null in their place; this allows the Zygote Java code to close
the FileDescriptor objects cleanly.

This is a multi-project change: dalvik, art, libcore, frameworks/base,
and external/sepolicy are affected.  The CLs need to be approved
together, lest the build break or the software fail to boot.

Round 2: indent change

Bug: 12114500
Change-Id: I090402136a8a8b7d6aad6eb153026e85d7cf6ad3
Merge remote-tracking branch 'refs/remotes/m/kitkat' into kitkat-legacy

Change-Id: Iabe8452d56037ab8efbb49801d11d879a8e5c94b