DeskClock: Fix Dream settings

DreamInfo was pointing to the wrong activity name causing settings
to crash when opening dreams setting info

Change-Id: Icc40db4643948373461170d18efd721e7f485b74
Clock: fix layout for 320dp devices

800x480px dpi devices have less screen space than the xhdpi devices
Google designed the layout for and the layout needs adjustment.

The number in the timer (left-most tab) is cut off on older devices.
Adjust the weight (per Jie W.'s suggestion) so that it can be
displayed properly.

It is impossible to account for all languages with very long translation
for "H" "M" and "S", and that can only be fixed by de-localization or
re-localization.

This should not have any effect on devices with larger screens.

Change-Id: If61b676f220a6f1c39105fe3948946100a5f64b2
Fix build warnings

Removed pointless strings from languages

Change-Id: I1f722844cd7d875b2f1179463915732fbac5741e
Add option to hide AlarmClock Icon in StatusBar

If somebody does not need to be reminded by an icon in the status bar
of an enabled alarm. You can switch it off.

Patch Set 4: Use default preferences instead of AlarmClock.PREFERENCES

Patch Set 5: Use PreferenceManager instead of static variable +
cosmetic changes

Patch Set 6: Fix strings and address code review comments

Patch Set 7: Implement settings set/read per Nebkat's suggestion

Patch Set 8: Fix minor nitpick

Patch Set 9: Fix NPE

Patch Set 12: Fix Wrong Patch Set 11
		- Use correct DefaultPreferences instead of unused
AlarmClock.PREFERENCES

Patch Set 13: Removed obsolete null-check

Change-Id: I1de4d2b084e00118d6036e05ce7dc171f73ff438

Forward Port to cm-10.1

Signed-off-by:  Paul Beeler <sparksco@gmail.com>
DeskClock: implement onDowngrade for alarm DB

Upgrade does a database clear anyway, so might as well implement a
downgrade. This fixes alarm clock FC for those upgrading from cm 10.

Change-Id: I5c85a67b671b38e1185e5aeb2e06983452ac5c65
Hide AlarmClock icon: Ported translations from cm-10.0

Change-Id: I83755f0f5189f9835c6a4aba5a6910df65dfab55
Merge "DeskClock: implement onDowngrade for alarm DB" into cm-10.1
Update Russian Translation-DeskClock-CM10.1
PT-BR: Added missing translations

Change-Id: Ib930a5208ad5639de665d0c481a56c7a3df37ba8
DeskClock: update romanian translation

Change-Id: I7c03439ce9ac760d17f738f53da61f05c9638f5e
Signed-off-by: Igor <igor_sorocean@hotmail.com>
DeskClock: Dutch translations

Change-Id: I5bb2defce0c5512f01b4c08b6900bd62409f50e0
Merge "PT-BR: Added missing translations" into cm-10.1
Merge "DeskClock: update romanian translation" into cm-10.1
Merge "Update Russian Translation-DeskClock-CM10.1" into cm-10.1
German: Update translation

Patch set 1:  -  Add translation for:
                 * Option to hide AlarmClock Icon in StatusBar
                   Strings portet from CM10

Patch set 2:  -  Changed wording

Patch set 3:  -  Dummy patch to trigger Cid to recompile

Change-Id: Ied6ee472e0d0173bb8376aa72742069f45ef1d5b
DeskClock: Hebrew translation update

Change-Id: I53306b03b42d0f7f9ecb78e8b92084f41a7ff009
Added flip and shake to snooze

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

PatchSet2 : Eliminated White Spaces
PatchSet3 : Fixed a line issue
PatchSet4 : Updated Correct Author
PatchSet5 : Really updated Author
PatchSet6 : Fixed a few lines, in-line comments
PatchSet7 : Cleanup; addressed Danny's comments
PatchSet8 : More cleanup
PatchSet10: Clean up string resources

Change-Id: Ifea8185690b07923b0c7cb3ab9b33ad5da7306e8
DeskClock: Missing Danish strings

Change-Id: I0c44e572f850fdce244e811d7be159780b4dce21
Merge "Added flip and shake to snooze" into cm-10.1
PT-BR: Update Translations

Change-Id: I2c78641a9b8db23f838733afe28933a5636bfde5