FB: Heads Up background color && transparency [2/2]

    PS: manual rebase

    PS: fix my retardedness

    PS: fix heads up TRDS background resources

    PS: clear content holder background prior to setting TRDS
            drawable so that correct drawable for TRDS state
            is set

    PS: revert non-TRDS background to AOSP gray (default
            system notification background color)

    PS: clean up some unused code

    PS: add capability to set custom heads up text color
    Change-Id: I3942c0ce178491e3429e5ae7eb24b43ba07a1f40

Change-Id: I1f7c115cf72e647e3639b77c24ceb05aa75cb9a8

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java

(cherry picked from commit 89b0edd7429dcde1cdb8bdd28782a240902b5c98)
Broadcast an intent to mediascanner after executing screencap

PS2: Fix for spaces in file names

After doing screencap /sdcard/test.png in shell the screenshot is captured
but the gallery is not updated.
So we should broadcast the intent android.intent.action.MEDIA_SCANNER_SCAN_FILE
for the image to show up in gallery.

Change-Id: I8e384865082c717842d70d376d5828d74a2ad780
Signed-off-by: Umair Khan <omerjerk@gmail.com>
(cherry picked from commit 786725b21fe6e14b0ef7800d7203c66de4864225)
Fixing memory leak in RenderBufferCache

In our devices with higher resolution we have observed a memory
leak in the HWUI code. When there is GC or tree modification
and buffer size is greater than the default size, we make sure
buffer is deleted.

Change-Id: Idf7052ccaf43c8a784ce0e7bdab336dca29bffd8
Signed-off-by: Samsung <aosp@samsung.com>
(cherry picked from commit 6583c3039aab1663881a041aeb1186e1ee66ba19)
Add missing TRDS background to HEADS UP

(cherry picked from commit 8ea72a4b0fd1682701b6d283250fc404013537e8)
SystemUI: Improve AOSP JA translation

Change-Id: Id2b979eae5c0c2f169f842ccdd2c5cf11a930a48
(cherry picked from commit eb4cea9dc21e30c151e7b6ccedaf023b496b4cff)
core: Fix AOSP EL translation

* 'Minutes' was the same in singular & plural forms, fix that

Change-Id: I8444d879fa38fdbb9a89b96ff983c135cd0f3499
(cherry picked from commit 874fc10af6fb02b2c08b7f7dac958af9ef31c94d)