Profiles : Settings

Change-Id: I072758a1c5ec04ef34077551220b6611068fe71d

Conflicts:
	AndroidManifest.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/values/styles.xml
	src/com/android/settings/Utils.java
Proximity on wake

Change-Id: Icc14f888c5152a099b3636c56f4370bde1336d07

Conflicts:
	res/values/strings_aicp.xml
	res/xml/aicp_various_shit.xml
Settings: squash of new profile UI for cm-12.0

Additions for cm-12.0:
- removed expanded desktop
- added add profile FAB
- updated tabs for meterial style
- added enabler switch bar

Squashed commits:
-------------------------------

Settings: refactor Profiles to be more user friendly

* Remove the notion of Profile app groups
* Rearrange profile setup flow, now we first present the user with ways
which will trigger the profile, then allow them to set what happens when
the profile is triggered.

Change-Id: I2870df894046cd43c21c67991fb5efc9c3fec837
Signed-off-by: Roman Birg <roman@cyngn.com>

Settings: cleanup new profiles UI

* cleanup old code
* for configuring profiles, add options to modify triggers and remove
the profile
* remove separate activity
* don't hardcode padding pixel sizes

Change-Id: I6b1d05c9f918714249411006c7562496e2a7539e
Signed-off-by: Roman Birg <roman@cyngn.com>

Profiles: fix expanded desktop settings not applying

Change-Id: Ia523145bf47bfc189c29b035ad5ec6e053cf9296

Settings: Fix profiles volume override summary.

Change-Id: I499cfb3006a7fc7b5e931ac854a7437f5d141523

Settings: fix Profiles expanded desktop choice mapping

Change-Id: Ib96811a0c268ca68a7b9732283c5abc142d143a4
Signed-off-by: Roman Birg <roman@cyngn.com>

Settings: add "Untouched" ring mode option in profiles

Change-Id: I4ac2d63119b328533217104a799cb0660ecddfb9
Signed-off-by: Roman Birg <roman@cyngn.com>

Settings: profiles: fix volume streams override behavior

Before we would always assume to override the stream, but that is not
always the case. Add a checkbox to turn the override on and off.

Change-Id: Ic1a58d59a9e514d4c2ccf376191ac7989bbead26
Signed-off-by: Roman Birg <roman@cyngn.com>

Conflicts:
	res/drawable/fab_accent.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/values/rr_colors.xml
Revert "Settings: squash of new profile UI for cm-12.0"

This reverts commit 19f79a9e9adc76dd27a01b9f85f59874759c0a44.
Settings: squash of new profile UI for cm-12.0

Additions for cm-12.0:
- removed expanded desktop
- added add profile FAB
- updated tabs for meterial style
- added enabler switch bar

Squashed commits:
-------------------------------

Settings: refactor Profiles to be more user friendly

* Remove the notion of Profile app groups
* Rearrange profile setup flow, now we first present the user with ways
which will trigger the profile, then allow them to set what happens when
the profile is triggered.

Change-Id: I2870df894046cd43c21c67991fb5efc9c3fec837
Signed-off-by: Roman Birg <roman@cyngn.com>

Settings: cleanup new profiles UI

* cleanup old code
* for configuring profiles, add options to modify triggers and remove
the profile
* remove separate activity
* don't hardcode padding pixel sizes

Change-Id: I6b1d05c9f918714249411006c7562496e2a7539e
Signed-off-by: Roman Birg <roman@cyngn.com>

Profiles: fix expanded desktop settings not applying

Change-Id: Ia523145bf47bfc189c29b035ad5ec6e053cf9296

Settings: Fix profiles volume override summary.

Change-Id: I499cfb3006a7fc7b5e931ac854a7437f5d141523

Settings: fix Profiles expanded desktop choice mapping

Change-Id: Ib96811a0c268ca68a7b9732283c5abc142d143a4
Signed-off-by: Roman Birg <roman@cyngn.com>

Settings: add "Untouched" ring mode option in profiles

Change-Id: I4ac2d63119b328533217104a799cb0660ecddfb9
Signed-off-by: Roman Birg <roman@cyngn.com>

Settings: profiles: fix volume streams override behavior

Before we would always assume to override the stream, but that is not
always the case. Add a checkbox to turn the override on and off.

Change-Id: Ic1a58d59a9e514d4c2ccf376191ac7989bbead26
Signed-off-by: Roman Birg <roman@cyngn.com>

Conflicts:
	res/drawable/fab_accent.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/values/rr_colors.xml
profiles: Make the actions wizard buttons show up

The "back" and "finish" buttons weren't being shown at all in this
layout, which made it impossible to add profiles.

Change-Id: Ib6b52430c25ed7445ca8e3c1249b7fccd21c3c69
profiles: Make the floating action button more material-y

This makes the FAB look consistent with other fabs across the system,
it adds animated elevation, changes the icon color to white but mainly
fixes the size which was completly wrong.

Change-Id: Ib8b2d54869a6a10958c24bcc0fab1224fd07fadd

Conflicts:
	res/anim/floating_action_button_elevation.xml
	res/drawable/floating_action_button.xml
	res/layout/fab.xml
	res/values/dimens.xml
Rename Profiles to System profiles

L includes 'Users & Profiles', rename ours to distinguish features
and prevent confusion.

Change-Id: I5a148dcf5fea1b24448d254105b0bd6904a4ddd8
Update Profiles settings icon

Switch to vector drawables to fix blurry drawables

Change-Id: Id3f5e3ad408c4d17659d941f68853379b07c688f
Settings: fix profile triggers not showing up for RTL languages

The layout was placing the title and summary off the screen for RTL
layouts.

Change-Id: I30e560fb9565581b2f55a826e90e110383581f28
Signed-off-by: Roman Birg <roman@cyngn.com>
Profiles: update text style to match Settings

-CategoryTitle for headers
-Material.Subhead for titles
-Material.Body1 for summaries
-fix some padding in abstract_trigger_row
-use ic_wifi_signal_4_teal for wifi icons

https://www.dropbox.com/s/mm8aiz44gvpsdlq/Screenshot_2014-12-15-21-54-45.png?dl=0
https://www.dropbox.com/s/z89en7orfup4b55/Screenshot_2014-12-15-21-54-55.png?dl=0

Change-Id: I5e9b77ba056220f0b82a92b2ff46c0f73d0b911b
Revert "Settings : Initial slim lockscreen shortcuts"

This reverts commit 4a785af322e8f04fab381c97b95a0d9257500157.

Conflicts:
	res/values/rr_colors.xml
Fix Building