Settings: ES Translations (New strings and fixes)

PS2: Typo fix

Change-Id: I4a02a8ae5aa55fc5d2daafb4a0b71c8ce9898c7c
QS: use vibrator check from DeviceUtils

Change-Id: I40677ce94884ef6e91e7680af703c36b0d2e14c7
[2/2]Settings: Stylus Gestures

PatchSet
- fix wrong call from xml
- remove depriciated onTreeClick

Change-Id: I9ca9fa237709a6237bbcd9ecf329bc9aa7e6321c
Settings: Toggle Stylus Pointer Icon

For devices with s-pen, this adds an option to disable
the mouse pointer when using s-pen

needs https://gerrit.slimroms.net/62

PatchSet:
- remove preference if not supported
- use onpreferencechangelistener
- minor cleanup

Change-Id: I8e752a8c8fd6a276eaf9b6bf20ad89d5ce3459ba
Settings: TRDS 3.0 and new theme engine preparation (2/4)

For the one who do not know this feature see as reference
the first two versions here:

https://github.com/SlimRoms/frameworks_base/commit/b330fde28306286572ba390e451a72539c0c3576

https://github.com/SlimRoms/frameworks_base/commit/3194015737b7944b4185fca007b8d167a0675cd8

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: I5b857c542d92b9fd253b3556f14c790226594c4f
Settings: add theme switch (TRDS) to navbar and navring

and show toast if a mode is running wich does not support
lightsensors

Change-Id: If3bfcb31558c9aa2b17718d7c2fdb8db631cc8d3
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: I5f4bb146e240bf31b6486aeff85b0828ee6fbb09
Merge "Settings: ES Translations (New strings and fixes)" into kk4.4
Settings: TRDS 3.0 and new theme engine preparation (2/4)

For the one who do not know this feature see as reference
the first two versions here:

https://github.com/SlimRoms/frameworks_base/commit/b330fde28306286572ba390e451a72539c0c3576

https://github.com/SlimRoms/frameworks_base/commit/3194015737b7944b4185fca007b8d167a0675cd8

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: I5b857c542d92b9fd253b3556f14c790226594c4f

Conflicts:

	res/xml/settings_headers.xml
Settings: add theme switch (TRDS) to navbar and navring

and show toast if a mode is running wich does not support
lightsensors

Change-Id: If3bfcb31558c9aa2b17718d7c2fdb8db631cc8d3
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: I5f4bb146e240bf31b6486aeff85b0828ee6fbb09
Merge commit '9303a86' into slim-4.4

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
	res/xml/settings_headers.xml

Change-Id: Idb74808f137aaa28e6b4439e453741635cc70a7c
settings: fix quickpulldown summary and clean up code

on default value it showed left summary and code is to complicated

Change-Id: I0c3b2dbe3213beea707bdda2f2453c4f9c75dcae
Settings: Completely remove "note" preference

Unused

Change-Id: I72f4a9022796c8dcdb0a9b04863723e5bdff89e5
Settings: add Device on Advanced Options for device-specific settings

Based off http://tinyurl.com/q8vh3zd

Change-Id: I03fbd32186b3c4fad724d7c71bf7dde647ec191f
Add an option/category in Dev Set to customize the device hostname (2/2).

PS2:
- cleanup

Change-Id: Iee14e90fa6fb6a13a123d92b7cf6dceaf6d18ffc
One does not simply become a Developer

Change-Id: I64ab4d7ab9d8334275d2e4d493b716a8fc73ab4e
settings: enable/disable lockscreenwidgets preferences

it is just nicer if the user can see which preferences are active
or not

Change-Id: Ia5f8c3884c747c0f17c50075842e861ab4de1020