framework: Add sound recorder tile (1/2)

Add a sound recorder tile to quicksettings.

Change-Id: I23907ebeb884729c0e92f8b57a6cda10022ac24d

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_qs_sound_recorder_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sound_recorder_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_sound_recorder_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sound_recorder_off.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_sound_recorder_off.png
	packages/SystemUI/res/values/cm_colors.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/SoundRecorderTile.java
[2/2] Add option to change size of QS ribbon bar

PS2: Use narrow for 2nd size and decrease margins for smaller tiles
PS3: Remove trailing WS + rebase
PS4: Rebase and fix unchanged dimen use
PS5: Fix renamed dimen missing
PS6: Change narrow to automatic and move applying of settings down
PS7: Make small be narrow instead. "Small" is actually Auto (Narrow)
PS8: Use measuredWidth and modify HorScrollView, otherwise layout changes will be ignored
     (Orientation switches were a big problem)

Change-Id: I6dbe2d165398a8142e024db827208dc778003431

Conflicts:
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
[2/2] Add option to put QS ribbon to bottom

PS2: Set the margin after height is set or it will be hidden. Also reset it if height has changed.
PS3: Rebase and fix NPE on missing carrier label
PS4: Set also subs label margins.
PS5: Set background to avoid seeing notifications through QS ribbon
PS6: Fix build on sw600dp
PS7: Set background to black

Change-Id: I963294f362b676ca7326d9f52396ac8e77a95806

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
fix error

Change-Id: I753121c2269c12434039d6631cc54f012bd909b4
Wifi: Use bss->age identifier for wifi scan results

This value will be used as "timestamp" and Google Play Services
uses this value for identifying sane wifi scan items.

The current timestamp (tsf=) has a different meaning, which causes
the Google Location Resolver to ignore all wifi scan entries and
therefore no location can be resolved.

This solution is already done on batched result parsing, but
missing on the traditional scans.

Change-Id: I36a1aeb666379e6a010298f09161e971012db83f

Conflicts:
	wifi/java/android/net/wifi/WifiStateMachine.java