Add option to set the color of the digital clock widget

PS 2: color the am/pm indicator
PS 3: remove trailing whitespaces
PS 4: update widgets right after changing the color in the settings
PS 5: arrrghhh - damn whitespaces
PS 6: moar whitespaces and a little text update

Change-Id: Ic5dee88b9d5f17dc20c2173bdbd5374d49af2815
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
DeskClock: Updated czech translation

Change-Id: If2a400dcee732fbc7344ccec07ede318833d7d6c
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
Updated simplified Chinese translations

Change-Id: I8a13958b69c28d500d7c229d64e58ff267238f0f
Request 5936: Stopwatch & Countdown

Stopwatch and Countdown applications on Deskclock activity, request in issue 5936.
The DeskClock is now a ViewPager, with StopWatch <-> DeskClock <-> CountDown fragments, allowing
swiping between pages.

Patch 2: Clean up
Patch 3: BigTextStyle notifications, TimerHelper and extract titlebar color
Patch 4: PowerManagement improvements:
           * CPU WakeLock in TimerClockService
           * New flags on startActivity on TimerClockService for determine if is necessary force turn on the screen
             (force to use onCreate instead of onNewIntent to avoid that screen not turning on when user pressed the
             power button previously)
           * Dim on StopWatch and CountDown after 30 seconds
         Correct a bug that not restart the UI thread when the both timers are running and a countdown is reached
Patch 5: Improve layouts for big screens
Patch 6: Use stat_notify_timer drawable for large icon notification
         ViewPager indicator (Trebuchet like)
Patch 7: Brief tutorial of hidden options at first use (Trebuchet like)
         Remove WIP
Patch 8: Use device density for resolve status bar height
Patch 9: Improved layouts: now are based on screen width, not clock width
         Autoresize DigitalTimerClock to fit the parent view
         Fixed bugs
Patch 10: Fix milliseconds overflow on big numbers
          Set DeskClock fragment as the first page. StopWatch and CountDown are now at the right of DeskClock. Updated
             tutorial to reflect the change.
          Change scrollbar indicator fade to 650 millis, like Trebuchet
          Fix more bugs
Patch 11: The milliseconds of the clock were not adjusted because of a typo in the for loop
Patch 12: If a timer in resume state exists, reset button doesn't reset the partial timer (thanks Sam Mortimer)
          Add a refresh ratio, and separate refresh ratios of portrait (50L) and landscape (100L). Portrait
          performs better
          Clean up
Patch 13: Add overflow menu button to devices with no hardware menu key
          Forces to show deskclock fragment where the device is inserted in the dock.
          Use SparseArray instead of HashMap, as Google Lint suggest for better performance
Patch 14: Clean up (code style, debug information)
Patch 15: Clean up strings to match Android conventions
Status: Ready for merged

Change-Id: Ib30b9cdc371f535d899b0b9794a2ac68a1d18fe5

Conflicts:

	Android.mk
	AndroidManifest.xml
	res/values/arrays.xml
DeskClock: Fix pending bugs

Fix some pending bugs from Stopwatch & Countdown:

- Add not translatable to arrays.xml
- Set fragment title size to 18sp (aosp default)
- Push over the add current timer text now adds the current timer, and not reset the timer
- Disallow create a new countdown timer if timer is 0
- Now, when "Lower times are better" is selected for the last lap behaviour, the green color
  is asigned for lower times.

Patch 2: Typos in arrays.xml
         Revert refreshRate patch because it didn't improve the lag when both timers
         are running. Change Digital Time Clock to decrease the redrawing times.
Patch 3: Change "swipe to right" text to "swipe to left", as Simon suggests
         Change layouts to make all buttons fit with the max height of them
         Fix a bug that cause to blink clock when the screen is rotated and the countdown
           is still running
         Protect DeskClockFrament#setWakeLock from NPE when FragmentActivity is null
Patch 4: Fix bug introduced in patch 3: the set button is not update the timer ui.
         Strings: Use unicode chars for copyright symbol
Patch 5: Fix a description and remove unnecessary lines at the bottom of strings.xml
Patch 6: Fix copyright signs, replace CountDown/Stopwatch with Countdown/Stopwatch in
         descriptions, remove useless comment, comply with Android Writing Style
Patch 7: Fix another copyright notice

Change-Id: Iabf564ab5a254f2f8b5d011ce6c08a271885ea1d

Conflicts:

	res/values/arrays.xml
clock: added flip and shake features
both the actions flipping the phone, and shaking the phone can do one of the following operations
1. do nothing
2. snooze the alarm
3. dismiss the alarm

has been taken from Artem AchepClock implementation for ICS deskclock
source at http://github.com/Achep/android_packages_apps_DeskClock

Change-Id: Ia73e277b8388120ebf3da23151166f3d4b0a0f41
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>