Profiles : Settings

Change-Id: I072758a1c5ec04ef34077551220b6611068fe71d
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

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

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Proximity on wake

Change-Id: Icc14f888c5152a099b3636c56f4370bde1336d07
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/values/strings_aicp.xml
	res/xml/aicp_various_shit.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
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>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/drawable/fab_accent.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/values/rr_colors.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "Settings: squash of new profile UI for cm-12.0"

This reverts commit 19f79a9e9adc76dd27a01b9f85f59874759c0a44.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
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>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/drawable/fab_accent.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/values/rr_colors.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
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
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
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
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/anim/floating_action_button_elevation.xml
	res/drawable/floating_action_button.xml
	res/layout/fab.xml
	res/values/dimens.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Rename Profiles to System profiles

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

Change-Id: I5a148dcf5fea1b24448d254105b0bd6904a4ddd8
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Update Profiles settings icon

Switch to vector drawables to fix blurry drawables

Change-Id: Id3f5e3ad408c4d17659d941f68853379b07c688f
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
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>
Signed-off-by: Chet Kener <Cl3Kener@gmail.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
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "Settings : Initial slim lockscreen shortcuts"

This reverts commit 4a785af322e8f04fab381c97b95a0d9257500157.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/values/rr_colors.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Fix Building

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Derp - Quickboot

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "Proximity on wake"

This reverts commit 871c9a038b8982e482918810057ab37497855bb0.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Settings: Add proximity wake option

Ports and combines:

http://review.cyanogenmod.org/#/c/66658/
Settings : Add preference for proximity wake

http://review.cyanogenmod.org/#/c/69347/
Proximity Wake-Up : adjust strings

http://review.cyanogenmod.org/#/c/69803/
Settings : Make proximity opt-in

Change-Id: Iea0853eccf764438c7aaac76afd13c364fcea0ec
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	res/values/cm_strings.xml
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>