Dcm
Settings: TRDS 3.0 and new theme engine preparation (4/4)
For the one who do not know this feature see as reference
the first two versions here:

SlimRoms/frameworks_base@b330fde

SlimRoms/frameworks_base@3194015

we got now over a year now a lot experience how to handle the qualifier fallback
as well how to theme it and how to handle other apps. Based on this knowledge we
redid some parts of TRDS engine with following new features/additions and fixes
to have now a final perfect working TRDS

- compared to the old versions where it was needed on some apps to restart them
  in background this is not needed any more. All is handled about the internal
  AOSP resource handling and on qualifier change the caches are cleared
  and the apps get an onconfigurationchanged to restart the activity
  like it is doing on orientation change eg
- inverted folder is now depreciated and the new folders are holodark
  and hololight which allows on the one hand a dark theme (at least
  how TRDS started) and a light based theme hololight
- This name change is mainly because of the new theme engine which
  will come which uses this as base to add 2 external themes at the same
  time and give the user the ability to switch between them. But this is
  still in early stages and this commit is just the preparation for it
- Two new automodes are now integrated. User can enable the twilight modus
  which enables/disables holodark/hololight depending on the daytime...means
  on the evening it switches to holodark on normal day it is hololight.
  The other automode is based on light conditions....means that if it is
  dark outside it switches to holodark....if we have bright light conditions
  it switches immediatelly to hololight. Due of the resource cache handling now
  this happens immediatelly for the user and feels completly system integrated
  and happens without delay. A bit comparable to some navigation tool for cars
  which can switch automatically from dark to light and back
- currently the auto modes as well the manual mode switches between holodark
  and hololight. Due that we do not have currently anything hololight themed
  in the source hololight = stock theme. We will give the user the ability
  later when done to choose between which modes the user want to switch
  (stock/holodark/hololight). But this does not make sense at the moment.
  As soon as we have done the light theme or theme engine (lets see what
  comes first) we will open the ability to choose it. This is only a small code change
- a lot small tweaks and fixes went as well into the new version

Whatever this commit as usual adds the support for it. The themeing is done in the
other commits by kroz which is as well way more extended then on the older versions

cheers

PatchSet:
- derp
PatchSet3:
- tired me derp again
PatchSet:
- adapt to new qualifier structure

- listen to onconfigurationchange and mode settings value
  and let the switch
  switch if the uiThemeMode has changed. As well permit
  manual switching if automatic light mode is enabled
  and inform the user about

Change-Id: I68c11586bd609c985e49c6b348a0b66fc2fb952a
settings: TRDS some tweaks and fixes (2/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: I099eb70f179149bcc519a209b93063529349f1e2
QS: add theme switcher tile (TRDS) 2/2
this adds a theme switcher tile

normal click: turn on/off dark/light theme
longpress: switch between the auto modes (manual/light sensor/twilight)

Change-Id: I0cf66559361aad2127f7cadf6ed334656d7292b7
Settings: follow kitkat's ui

 - manage apps; tab selector and ram usage
- battery data usage bar
- app widget toggle

Change-Id: I804b4b47563545d7ab124f4cc4800ef4034bf754

Conflicts:
	src/com/android/settings/applications/LinearColorBar.java
Automatic translation import

Change-Id: I79229f7208d13209d6fc2ea9ac1594027279ab0f
Put all notification services in one place

Change-Id: I865a2cea5e25d59fc1a78041878bc48c3bf024be
Correct icon size of notification services settings

Change-Id: I9d1a14ec34d7b133b1963d250f693d9204e414c3
[2/2] Settings:Network Status Bar
Merge branch 'android-4.4' of https://github.com/DarkCyanogenMod/android_packages_apps_Settings into android-4.4
Fix error in build
[1/2] Add option to change size of QS ribbon bar

PS2: Use narrow for 2nd size
PS3: Rebase
PS4: Change narrow to automatic
PS5: Rename small to narrow

Change-Id: Ibdf37b667b54ca598bc133b89ae01a504bfac883
Settings: Add time-context headers to the notification header [2/2]
Thanks to original Author @xplodwild
https://github.com/omnirom/android_packages_apps_OmniGears/commit/e24175e99602adb52d079fd882386fc274653f91
Proximity Wake-Up : adjust strings

Change-Id: I605a11b5bd7150b2a456d5c355af49fd7047e173
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Settings into android-4.4
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Settings into aogp-testing