fb: TRDS dark base theme

Change-Id: Ie25abfbf5258ac479ca8bc91033f6892bbbc6741

Conflicts:
	core/res/res/drawable-holodark-hdpi/dialog_bottom_holo_dark.9.png
	core/res/res/drawable-holodark-hdpi/dialog_full_holo_dark.9.png
	core/res/res/drawable-holodark-hdpi/dialog_middle_holo_dark.9.png
	core/res/res/drawable-holodark-hdpi/dialog_top_holo_dark.9.png
	core/res/res/drawable-holodark-hdpi/menu_dropdown_panel_holo_dark.9.png
	core/res/res/drawable-holodark-hdpi/menu_hardkey_panel_holo_dark.9.png
	core/res/res/drawable-holodark-hdpi/menu_popup_panel_holo_dark.9.png
	core/res/res/drawable-holodark-hdpi/text_select_handle_left.png
	core/res/res/drawable-holodark-hdpi/text_select_handle_middle.png
	core/res/res/drawable-holodark-hdpi/text_select_handle_right.png
	core/res/res/drawable-holodark-hdpi/toast_frame.9.png
	core/res/res/drawable-holodark-mdpi/dialog_bottom_holo_dark.9.png
	core/res/res/drawable-holodark-mdpi/dialog_full_holo_dark.9.png
	core/res/res/drawable-holodark-mdpi/dialog_middle_holo_dark.9.png
	core/res/res/drawable-holodark-mdpi/dialog_top_holo_dark.9.png
	core/res/res/drawable-holodark-mdpi/menu_dropdown_panel_holo_dark.9.png
	core/res/res/drawable-holodark-mdpi/menu_hardkey_panel_holo_dark.9.png
	core/res/res/drawable-holodark-mdpi/menu_popup_panel_holo_dark.9.png
	core/res/res/drawable-holodark-mdpi/text_select_handle_left.png
	core/res/res/drawable-holodark-mdpi/text_select_handle_middle.png
	core/res/res/drawable-holodark-mdpi/text_select_handle_right.png
	core/res/res/drawable-holodark-mdpi/toast_frame.9.png
	core/res/res/drawable-holodark-xhdpi/dialog_bottom_holo_dark.9.png
	core/res/res/drawable-holodark-xhdpi/dialog_full_holo_dark.9.png
	core/res/res/drawable-holodark-xhdpi/dialog_middle_holo_dark.9.png
	core/res/res/drawable-holodark-xhdpi/dialog_top_holo_dark.9.png
	core/res/res/drawable-holodark-xhdpi/menu_dropdown_panel_holo_dark.9.png
	core/res/res/drawable-holodark-xhdpi/menu_hardkey_panel_holo_dark.9.png
	core/res/res/drawable-holodark-xhdpi/menu_popup_panel_holo_dark.9.png
	core/res/res/drawable-holodark-xhdpi/text_select_handle_left.png
	core/res/res/drawable-holodark-xhdpi/text_select_handle_middle.png
	core/res/res/drawable-holodark-xhdpi/text_select_handle_right.png
	core/res/res/drawable-holodark-xhdpi/toast_frame.9.png
	core/res/res/drawable-holodark-xxhdpi/dialog_bottom_holo_dark.9.png
	core/res/res/drawable-holodark-xxhdpi/dialog_full_holo_dark.9.png
	core/res/res/drawable-holodark-xxhdpi/dialog_middle_holo_dark.9.png
	core/res/res/drawable-holodark-xxhdpi/dialog_top_holo_dark.9.png
	core/res/res/drawable-holodark-xxhdpi/menu_dropdown_panel_holo_dark.9.png
	core/res/res/drawable-holodark-xxhdpi/menu_hardkey_panel_holo_dark.9.png
	core/res/res/drawable-holodark-xxhdpi/menu_popup_panel_holo_dark.9.png
	core/res/res/drawable-holodark-xxhdpi/text_select_handle_left.png
	core/res/res/drawable-holodark-xxhdpi/text_select_handle_middle.png
	core/res/res/drawable-holodark-xxhdpi/text_select_handle_right.png
	core/res/res/drawable-holodark-xxhdpi/toast_frame.9.png
fb: add ticker entries only if we are not recreating statusbar

if both happens at the same time it will result in an systemUI crash.
Funny that since 2 years where this method exist no one discovered it.
Due to the new theme lightsensor mode we have way more switches so
maybe thats why I got it now

whatever we had already a check but the tick method can be called from
outside as well so just check if we are in the recreation or not and return
if we are in recreation process. Old check is now redundant and can be
removed

Change-Id: I0feeaaa16d14fc631124d155dc18ba346f788796

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
TRDS: Dark DocumentsUI

for Downloads app

PS:
- fix settings

Change-Id: I87d49e97b8a0a67bd4d85f0137eb0960155428cb

Conflicts:

	packages/DocumentsUI/AndroidManifest.xml
	packages/DocumentsUI/res/layout/activity.xml
	packages/DocumentsUI/res/layout/fragment_save.xml
	packages/DocumentsUI/res/layout/item_doc_grid.xml
	packages/DocumentsUI/res/values/colors.xml
	packages/DocumentsUI/res/values/styles.xml
trds: improve dialogs and menu popups

Change-Id: I54da4ac0236dfe16ee964ccb070944206d0544e2
fb: TRDS some tweaks and fixes (1/2)

some smaller issues fixed and optimizations:

- fix twilightmode was wrong assigned to wrong value
- ligtsensor mode after first immediattely switch it does
  not allow for 5sec to switch again....after the 5sec it switches
  to current state if the sensor changed its state in this time.
  This prevends on the one hand on bad light conditions a permanent
  switch between dark/light as well it does not bring the system into
  troubles due of to much configuration changes at the same time
- get rid completly of the observe for the UI_THEME_MODE value and
  handle all over the UIModeManager
- adapt slimActions and settings to this new behaviour/method
- some cleanup and minor fixes

Change-Id: I4b2401bf7bef992ad3112ae5ccc852cd29b46bd0

Conflicts:
	services/java/com/android/server/UiModeManagerService.java
trds: consistent glow for menu dropdown and popup

Change-Id: I248872cbd67471495f8b95036d995f25e2ca4459
Halo: Add master switch to disable Halo (1/2)
-Port master switch from
-Fixed Halo not showed at first notifiction pulldown.

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