DeskClock: Add option to toggle unlock on dismissal of alarm

* Still need easy implementation to turn screen back off.

Change-Id: I70995cd1719c1f8e349fc2b50c76f279e384d27e
Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>

Conflicts:
	src/com/android/deskclock/SettingsActivity.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Squash increasing volume for alarm commits

DeskClock: Add increasing volume option for alarm clocks

this commit adds a checkbox preference for "increasing volume" to
alarm clocks. when checked, the alarm will start off at 10% of the
system-wide alarm volume and slowly increase to 100% over the
course of a minute.

Original author for jb is Austen Dicken<cvpcsm@gmail.com>
jb-mr1 porters Davor Bertovic (LorD ClockaN) and maxwen

Change-Id: Ic097e344ed1570602f17f774faed7b612d47be73

Conflicts:
	src/com/android/deskclock/AlarmKlaxon.java

Fix a number of issues introduced with the increasing volume setting

- Fix coding style
- Fix alarm layout
- Don't increase volume to levels higher than set in the system
- If increasing volume is enabled and alarm volume is set to 0, don't
  play alarm
- Don't randomly change log class usage

Change-Id: Ib98d82e361e83a76f08550f3b74df0c6270645a8

Conflicts:
	res/values-el/strings.xml
	res/values-es/strings.xml
	res/values-fr/strings.xml
	res/values-hu/strings.xml
	res/values-pt/strings.xml
	res/values-ru/strings.xml
	src/com/android/deskclock/AlarmKlaxon.java

Fix layout issues with increasing volume option.

- Ellipsize 'increasing volume' check box so even long strings aren't
  wrapped to two lines
- Adjust margins so they're consistent with the day buttons right above

Change-Id: Icfdefa837e84ff7db51376ca1d938dc1876f8da3

Fix NullPointerException when using vibrate-only alarms.

mAudioManager wasn't initialized in that case.

Fixes issue CYAN-376.

Change-Id: I70b3bc1f89498c3407980f512b09c3449969e733
Fix increasing volume checkbox layout

On non-vibrator devices (ala Grouper) the "increasing volume"
checkbox is wrongly indented. This fix will position the box
correctly.

Change-Id: I18af56e7a1fc75263a4ce55c4a23a682600adaf3