DocumentsUI: Add a standalone File Manager [SQUASHED]

This commit adds a standalone mode to the DocumentsUI, to let
it act as a file manager/explorer.
You can browse your storage contents, open files, and delete them,
as well as do everything that the DocumentsUI can do (ie. sort
by name/size/type, list and grid view, recents, search, ...).

This gives us a consistent file browsing UX accross all apps
that uses the new documents API.

Change-Id: If73a3c100f010bdb766c843976d4fd3573ea805c

Fix Icon size in DocumentsUI

For XXHDPI devices if you go into Settings/Display and Notification light and select a custom value (application) you will see a GIANT icon.

Before - http://i.imgur.com/DRkua3T.png

After - http://i.imgur.com/f7xW4tY.png

Change-Id: Ia355bddc515906134c8b3b4e67d381aaacceec78
Allow creating custom dialogs in DialogPreference.

This allows creating non-AlertDialogs while still using the click and
state handling of DialogPreference.

Change-Id: I54fd7d6d6b9f6a49fef1ae95e0178838b3edfa56
base: Add a key combo to start/stop video recording

Press volume up and power to start recording a video of your screen.
Press this key combo again to stop it.

Change-Id: Id0b13ba1092a1d6e0bf7bff5f14d89764cdf370c
Screenrecord: Create the Screenshots directory if it doesn't exist

Change-Id: I2b0458eed024dbda97e9e1ea3426c12d29add781
SystemUI: Add audio recording permissions for screenrecord

SystemUI: Add RECORD_AUDIO permission

Change-Id: I5af3cbe31f182c8b5cf1633aaf8a16db2856a425

SystemUI: Add missing sound permissions for screen recording

Change-Id: If948aabfd5c2e09f192f12aa02830d39346d2c6c
base: cleanup duplicate sound files

http://jira.omnirom.org/browse/OMNI-56
http://jira.omnirom.org/browse/OMNI-262

Change-Id: I42b39ed18864abbb5fddcd099446d766e1961439

base: cleanup even more duplicate alarm sounds

Argon=Fermium
Hassium=Helium
Carbon=Neptunium
Neon=Nobellium
Oxygen=Cesium
Krypton=Plutonium
Platinum=Promethium

Change-Id: Ibba7bb265568cc3aa3a9468b2da87cdac0463726
Navigation Bar: Toggle last app on recents button long press

Change-Id: I1e6d6255494991b440f3cf5854a7edad7fee2c1b

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Fix toggleLastAppImpl
getRunningTasks causes an NPE. Switch to same behavior as RecentApplicationsDialog by using getRecentTasks and relaunching the last activity if it died.

Change-Id: I18b2b6711bc11f261ca2687a471a3e8bf984c705
base: remove duplicate imports
framework: fix screenshot and rotation animation

for devices with abnormal hw rotation (e.g. hwrotation=270 or 90)

port forward from:
https://github.com/CyanogenMod/android_frameworks_base/commit/ac555b9ca9a76d13a26fc9ea40980fe57258761b#diff-d6f7bba268a742c91252cc9e64e2381a

Change-Id: I8dd0568c9261466178c737975a418321c3c634d1
MountService: Add support for multiple storage configurations

Currently AOSP only supports a single storage configuration that is hardcoded
in storage_list.xml. Some device updates are now merging data and internal
storage partitions, and as a result require the storage list to support two
different variations.

By utilizing the sys.storage_legacy property this will allow for the framework
to support multiple configurations which can be determined during boot.

Change-Id: Id795520425ea3e99a5234e10c978dcdbd68a1311
Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
Parse UUID string with Long.parseLong

Integer.parseInt throws an NPE for values greater than 0x7fffffff.

Change-Id: I4a67c96e1fcdb68b22447f98bc898638c8c317a0
Keyguard: Use translucent UI

Change-Id: I31a48ec17b2a39e431bf9d8f1ce8f9c731fb2f2d