Move Hover icon
FB: Add color values for ease of TRDS theming

This adds color values that I can use for TRDS theming.  I needed values
for colors that are white when TRDS is on and black when off, and vice
versa. Google is implementing framework public value redirects in the
smali code of several Google apps I'm trying to bring TRDS compatibility
to. This will make it much easier to redirect text colors.

PS6: Remove whitespaces. Sorry 'bout that!
PS7: Remove unnecessary duplicated colors in holodark.
Change-Id: Ia3f21b6891ca59d98b79d3ca6e32f6710d9321f3
Add permission again
Make sure slashes don't appear in the Quick Recording files

Change-Id: If246b1fa261fd37254d999f651231c9a2211f971
Themes: Theme special volumeup+down volume panel

When you press vol up + vol down button it brings up a
different volume panel which was not getting themed because
it lacked the ui context.

Change-Id: I416b8920160c0ab263fd426a6e6491d1f877a905

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Themes: Full support for AOSP Volume Panel

- Recreate VolumePanel with theme enegine UiContext.
- Revert this https://gerrit.paranoidandroid.co/#/c/4375/ since we don't have
  the code with the panel they refer to. Just leave UiContext commented out, maybe
  we'll need that lately.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: Ifc9fd02ec4d263050b7d5f689935fa5e82095d26
Floating window: Fix possible NPE
DocumentsUI: Add a standalone File Manager

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
DocumentsUI translations

Some translation from OmniROM DocumentsUI application
DocumentsUI: Allow open files instead of URIs

Check files' real path and mime type to open them only in standalone mode.
This allows, for example, installing apks.

Change-Id: I4501c694db84b8595cd3928752254a8914539972
Fix crash when clicking a file from recents or downloads

Change-Id: I6e1693d1d9f433b6baf25d3033245a56817ec16a
DocumentsUI: add zh-rCN translation

Change-Id: I7354fe7d42582eac263c322537f9f003b1fc29f4
DocumentsUI: Remove catch-all statements

This removes several "catch (Exception)" statements which violates the Android code
style guidelines and hides problems.

I left some catch-all statements in, as they seem to be intended like this (grep for
"catch (Exception").

I suggest we do not merge this before we are sure that we fixed any problems. One problem
is a crash when deleting items (I'm currently working to fix that).

PS 2: Add exception to log.
Change-Id: I483c320c7ee256acd993dd2a509c031fa5e3f09e
FwBase: Transparent NavBar

Added a transparent mode to the NavigationBar

Change-Id: Ic72f8ea29c31a087b1a0f4672a57c91b39dfd017
Signed-off-by: STELIX <ssspinni@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
CM11 Themes: Add support for composed icons [1/2]

If an icon pack includes background, mask, and/or foreground
images and an icon is not included for a given app, an icon
will be generated using the background, mask and foreground.

Icon packs can include the following items into their
appfilter.xml
    <!-- Set deafult scale factor for the icons -->
    <scale factor="1.0" />

    <!-- Set back image for composed icons -->
    <iconback img="iconback" />

    <!-- Set the mask image for composed icons
         Original icon will be masked off using this mask -->
    <iconmask img="iconmask" />

    <!-- Set foreground image for composed icons -->
    <iconupon img="iconupon" />

Note: Mutliple iconback images can be used as follows
    <iconback img1="iconback1" img2="iconback2" img3="iconback3" />

Change-Id: I0f5fd7de4f0eae485139cbcd282c1d1e1663952f
Themes: Don't set icons for iconpack that is applied.

Change-Id: I3cffade2c12ae1dbc1f75e43f1a74609ff0d7135
Themes: Don't kill launchers that handle the theme change

Change-Id: I5e3a7ea2455a4c407928bb5c90b7fc4e5906aa73
Themes: Full support for PA GlobalActions dialogs + ancient derp fix

- Use Theme Engine UiContext for creating dialogs.
- Add theming to reboot confirm dialog(s), send UiContext to ShutdownThread aswell.
- Fix dialog not being recreated when calling showDialog() and dialog being not null is nullified
  without being recreated (we don't call handleShow() there).
  Introduced here https://gerrit.paranoidandroid.co/#/c/128/ but not affecting the final result,
  now we have Theme Engine tho we need it.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Conflicts:
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	services/java/com/android/server/wm/WindowManagerService.java
Move hover icon side settings icon