Settings: Squash all build tweaks icon commits

Squashed commit of the following:

commit 3fe2a59fbd2338ed2da02f78f55733c318319fb1
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Mon Apr 28 05:19:29 2014 -0500

    Reorganize build tweaks icons and properly rename and make some icon adjustments

commit 0502b903c5dfed2acd3e530843411aacb8fec59e
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Fri Apr 11 05:21:20 2014 -0500

    First attempt at build tweaks icons
    Credits AOKP for some icons.
Settings: Replace the single-option menu with a switch in cast screen

Taken from: https://github.com/CyanogenMod/android_packages_apps_Settings/commit/46af8086db0db5b41f20c9f05a5f42c182262576

Credits: CM
Settings: Integrate Voice+ into Settings (1/2)
Also add isPackageInstalled helper function

Change-Id: I4778443c219cd29a463e9c4dab60783dca251f0f
Signed-off-by: Roman Birg <roman@cyngn.com>
Fix the icon size in app lists.

E.g. the "Select app" dialog in the profile group configuration uses
this layout to inflate the list dialog. However app icons can have
non-standard sizes so we enforce a consistent width and height.

Change-Id: I71731a9bb3548c699cc2e0e600a5ff371ceacbc3
Merge branch 'kk-ras-mr1.2_r2' of https://github.com/rascarlo/android_packages_apps_settings into kk
Merge branch 'kk-ras-mr1.2_r2' of https://github.com/rascarlo/android_packages_apps_settings into kk
Settings: Squashed commit: Add basic AOSP App ops settings

Squashed commit of the following:

commit f7384b7a5a428e69f84ac50118d38722619758a0
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Wed May 28 01:18:33 2014 -0500

    App privacy -> App ops

commit e4e53474bd8fa4ae402534af6f4e4a392403ba7d
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Tue May 27 20:18:48 2014 -0500

    Settings: Rename appops icon

commit cf4e248466d700a3d7aaf3081632bc811f2a46fc
Author: Danny Baumann <dannybaumann@web.de>
Date:   Mon Sep 9 13:17:43 2013 +0200

    Improve app op details layout.

    Change-Id: I38a2c3679633ae85aec61703ab933410775bb336

commit b5c49ef14281b142967a5a070c0254bf37c8322d
Author: Koushik Dutta <koushd@gmail.com>
Date:   Sat Dec 28 17:07:08 2013 -0800

    AppOps/Privacy Guard: Fix up misaligned switches.

    Change-Id: Ic9e1e09ac911e552599f7bca6fb71b2808548f1d

commit 129edfdc8ecd1e950cee6fc2cbf76347a943f699
Author: benjamingoodwin <benjamin.j.goodwin@gmail.com>
Date:   Sun Dec 29 13:56:16 2013 +0000

    App privacy (Google style)

    Credits: Benjy :) lol
'When to daydream' dialog does not follow the JB dialog design guide

The dialog is a single selection popup and according to the
dialogs design guide the popup should close when the user
has make his/her choice, but in this case it does not.

Change-Id: Iac6bc19146a88236d3253d2d846212ce09b4925b
Fix switching running/cached apps with memory bar

Fixes upstream issue #38735
http://code.google.com/p/android/issues/detail?id=38735

Ported from CM10
http://review.cyanogenmod.org/25775

This patch is already submitted to AOSP. No feedback from them yet.
https://android-review.googlesource.com/45993

Change-Id: I484e30d3fd4f5425e174911ae22bb2def170e6b8
Show memory full text only for internal storage

When the internal memory is full, a warning text is shown
in Settings/Storage. This warning was displayed for all
types of memory (internal/primary, sd card and usb storage)
even though it was only referring to the primary memory.
With this fix, it is only shown for the primary memory.

Change-Id: I35ad4b0b45c6752ddc9d7166495435b27fd4a170