various

Change-Id: I15ca7db38f71dd32ec956b733c7b4265dfd30aa2
port colorpicker and add hex field to light dialog

Fix tabs and whitespace

I think I got it all this time

Patchset 2-6
-rebased

Change-Id: I81359099ece1a8fc395754a942d11b8114b4eec7

Conflicts:
	src/com/android/settings/notificationlight/LightSettingsDialog.java
[Settings] Add new function

setNewPreviewColor(int color) for updating colorpicker with
outside call. Eg needed for reset color values
Settings: Colorpicker margaritov overwork and fixes which were urgent needed

More or less over a year a lot roms are using margaritov's and nillson's colorpicker
Due to the progress of roms this colorpicker needed a lot overwork now. Some fixes, some
improvements etc. etc. Should now be bugfree + additions we added and add now

Before I do a bigger list screenshot here....should explain all:

https://dl.dropbox.com/u/106208842/Screenshot_2013-02-26-02-39-02.png
https://dl.dropbox.com/u/106208842/Screenshot_2013-02-26-02-39-11.png

Important hints for kangers. Due that aosp depreciated hex color values on this stage
I decided to remove also in colorpicker this support in general to be aosp consistent.
This means that for defaultValues only int colors are accepted. Two ways to do this.

1. Set defaultValue in xml code. Like android:defaultValue="0xff33be5e" or link it there
   to a integer color resource (before there was only the possibility to set eg "#33be5e" which
   is depreciated from aosp)

2. Do it with the new integrated method I did about 2 month ago. setNewPreviewColor(int color)
   Of course at this point you can do to get hex resources like it was before, eg
   setNewPreviewColor(getResources().getColor(com.android.internal.R.color.holo_blue_dark)

3. or do both :p

cheers

Change-Id: I822eac92198f7cb3b2c394d8c419d12aa95ce313

Conflicts:
	res/values/strings.xml
Various updates(4.0)

Change-Id: I5d17a930deda7a567f8c9c40c226ca83b2444eb8