Commit Graph

4344 Commits

Author SHA1 Message Date
John Spurlock
5845d98a8a Settings: Remove master swtich from battery saver.
And make it a normal switch called "Always on".  Better reflects
the actual effect.

Change-Id: I9f801ddfff39591cb19d665f61a1a05bda317888
2014-06-11 18:44:24 -04:00
Fabrice Di Meglio
782d0f6891 Merge "Fix bug #15545573 Battery use chart is incorrect for date labels and time axis labels" into lmp-preview-dev 2014-06-10 22:18:15 +00:00
Fabrice Di Meglio
a7a62c5b66 Fix bug #15545573 Battery use chart is incorrect for date labels and time axis labels
- use DateFormat.getBestDateTimePattern(...) to get the best Date and Time format
depending on the Locale
- format the label according to the best format
- remove non needed formatting strings

Change-Id: I78b62b9a7c9401e47e62c7161214636bb43324fc
2014-06-10 20:26:42 -07:00
Fabrice Di Meglio
da8babaedf Update Settings redlines per UX request
See bug: #15384992 Setting Dashboard - padding updates

Change-Id: Ie95b6cee701847d7f76f2e2a72aaf8fc64bc4dd9
2014-06-10 19:36:26 -07:00
Fabrice Di Meglio
1c3203e83e Merge "Update Settings redlines per UX request" into lmp-preview-dev 2014-06-10 22:18:15 +00:00
John Spurlock
e9ee5e2ced Merge "Settings: Battery saver settings sub-page." into lmp-preview-dev 2014-06-10 21:36:19 +00:00
Martijn Coenen
8da48ee882 Remove obsolete NFC unlock XML file.
NFC unlock was moved to TrustAgent. Fixes
build break.

Bug: 15538481
Change-Id: Iaf7f96a38ee36b80168cd92eef0d3b9748caa478
(cherry picked from commit 54a10a0a97)
2014-06-10 21:28:14 +00:00
John Spurlock
c7f8e8ce69 Settings: Battery saver settings sub-page.
New battery saver settings page, accessed via
the power usage settings overflow menu.

The settings page has a master switch to toggle
battery saver mode, feature disclosure text,
and a preference to configure the automatic
trigger level.

Remove developer checkbox now that this option
has a real home.

NO_SQ: multi project change
Bug:13329308
Change-Id: Iac54238f3406439711b44a3c17f220ac5e370a37
2014-06-10 17:26:47 -04:00
Alan Viverette
a29f3bbff4 Merge "Ripple tint is now color" into lmp-preview-dev 2014-06-10 20:14:40 +00:00
Baligh Uddin
bb8830756f Merge "Breaks the build. Issue being tracked in b/15538481" into lmp-preview-dev 2014-06-10 19:49:12 +00:00
Baligh Uddin
279359957f Breaks the build.
Issue being tracked in b/15538481

Revert "Import translations. DO NOT MERGE"

This reverts commit b9e06ceb16.

Change-Id: I9161a3290a8488d0d896d6dbb41d367317694269
2014-06-10 19:49:04 +00:00
Fabrice Di Meglio
df055ead66 Merge "Replace ic_settings_language.png asset to the new one" into lmp-preview-dev 2014-06-10 19:12:54 +00:00
Fabrice Di Meglio
65b145e6d5 Replace ic_settings_language.png asset to the new one
See bug: 15523731 Please replace ic_settings_language.png to new one

Change-Id: I1455396ba91f3d519dd42df5b6ea2095ec20f42f
2014-06-10 12:10:42 -07:00
Baligh Uddin
eff52addfc Merge "Import translations. DO NOT MERGE" into lmp-preview-dev 2014-06-10 17:11:19 +00:00
Fabrice Di Meglio
e03ebf988d Update Sync status icon
- per UX request

Change-Id: I3629f64e294b25882570db914b4e72b5fc352039
See: #15351850 Need updated Quantum icons for Sync Status
2014-06-09 19:19:13 -07:00
Fabrice Di Meglio
ae0b529d67 Update assets for "NFC & more"
- per UX request

See bug: # 15450825 Dashboard "NFC & more" icon is not the correct size

Change-Id: I85573d221da7622d7cf8de253631c54b92723c4f
2014-06-09 18:53:29 -07:00
Fabrice Di Meglio
009e8d24da Update Recents Search assets
- 20% grey per UX request

See bug: #12910134 Implement Search into the Settings App

Change-Id: I6c6e506a2f371b95c5c953615a41143e913e855b
2014-06-09 18:37:10 -07:00
Alan Viverette
296c7f575e Ripple tint is now color
Change-Id: I8e7d514fef327a7d3e172d0faae2466d26bddb9d
2014-06-10 00:58:45 +00:00
Fabrice Di Meglio
904a744c15 Add icon for Search Recents
- per UX request

See bug: #12910134 Implement Search into the Settings App

Change-Id: I91082292fd6a84f503b61b19d1a74bd89da8e209
2014-06-09 17:52:32 -07:00
Fabrice Di Meglio
04cde98538 Tune Recents Search and Search Results
- add the capability to scroll recents and results with their
header (old request from UX)

See bug: #12910134 Implement Search into the Settings App

Change-Id: If3c4a23b928b189803f2ef8e13a61746c2790b4b
2014-06-09 17:07:04 -07:00
Fabrice Di Meglio
60c26572d1 New Battery Material assets
See bug: #15330969 Settings > Battery should use Quantum icons for as many items as possible

Change-Id: I79bce984982b44e1906de0d85ee5743bd93abece
2014-06-09 13:46:14 -07:00
Fabrice Di Meglio
67d91f33a4 New Sync Status Material assets
See bug: #15351850 Need updated Quantum icons for Sync Status

Change-Id: Ic0bd083c2c4bb1c6ba844bb7299854d1efe4461f
2014-06-09 13:25:06 -07:00
Baligh Uddin
b9e06ceb16 Import translations. DO NOT MERGE
Change-Id: Ifc4e7d159e4ade3ea8c09d9147bcf8e064538c48
Auto-generated-cl: translation import
2014-06-09 12:27:33 -07:00
Fabrice Di Meglio
38e0a86618 Merge "Update "NFC & more" Dashboard icon" into lmp-preview-dev 2014-06-07 00:22:26 +00:00
Fabrice Di Meglio
afe71eb85b Update "NFC & more" Dashboard icon
- caveat: we dont have the hdpi density in that delivery

See bug: #15450825 Dashboard "NFC & more" icon is not the correct size

Change-Id: I4193c219bab3836554bc02172c93b3d3047cf907
2014-06-06 17:20:04 -07:00
Alan Viverette
5c8f1352e4 DO NOT MERGE Material theme
BUG; 15467097
Change-Id: Ifeda3f6cc1554c4d31357d5010df6958113df964
2014-06-06 14:33:10 -07:00
Fabrice Di Meglio
b76de1d4fa Tune Dashboard layouts following UX spec - part 3
- remove this ugly 12dp at the bottom of the Dashboard and
use 1dp instead

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I07695b2084a389552fb8a0e89663304c0c29cf58
2014-06-06 12:22:32 -07:00
Fabrice Di Meglio
132652c557 Do not show the Preference summary in Search results
- as the summary was sometimes showing "Unknown" or even not the
real Preference value (we dont have right now the capability to
know the current value of a Preference), so it is better to be
safe than sorry.

Change-Id: I009c31fc41ad35a630f4b34aa0ef998932f65263
2014-06-05 19:15:02 -07:00
Fabrice Di Meglio
21d26574eb Tune Search layouts following UX spec
See bug: #15384992 Setting Dashboard - padding updates

Change-Id: Ia7839459b3d67529db55e70c0ecda3da9b37d840
2014-06-05 18:32:44 -07:00
Fabrice Di Meglio
1b5266070b Merge "Tune Dashboard layouts following UX spec - part 2" into lmp-preview-dev 2014-06-06 00:39:47 +00:00
Fabrice Di Meglio
eb072e125b Tune Dashboard layouts following UX spec - part 2
- set a fixed size for the Dashboard icons (and thus fix the
Account type icons size isssue)
- tune layout for N7 tablet

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I0306f1ec2309e859e044e8490cef468def8d38fb
2014-06-05 17:36:45 -07:00
Alan Viverette
0c004bbf7c Merge "Fix account header colors" into lmp-preview-dev 2014-06-05 22:18:45 +00:00
Alan Viverette
5031f14a4e Fix account header colors
Temporary fix until we have a public Theme.Quantum.Settings in the
framework that we can attach to the inflation context.

Change-Id: Ifa89e31ad7928a6794a9cdd0fd96aaad3cb0bb64
2014-06-05 14:51:36 -07:00
Alan Viverette
a83a532dde Add defaults for caption colors and edge type, fix preview size
BUG: 15116066
BUG: 8151470
Change-Id: Ieca00f0da209138bdfa691715720263ef5406773
2014-06-05 13:51:58 -07:00
Fabrice Di Meglio
bf088b5f5d Merge "Tune Dashboard layouts following UX spec" into lmp-preview-dev 2014-06-05 20:15:29 +00:00
Fabrice Di Meglio
c3febdf02f Tune Dashboard layouts following UX spec
See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I2554fa73ca293e10490982df58a42d293b48d311
2014-06-05 13:12:30 -07:00
John Spurlock
72d3c27d6a Settings: Notification string tweaks.
- Sounds & Notifications -> Sound & Notifications
- Notification station title -> Notification log
- Use dark theme for station to ensure icon is visible, boost
  all text to theme's primary color.

Bug:15435289
Change-Id: I8a3b999a42ad4cb09e190bf887ae854f8a288d40
2014-06-05 12:04:02 -04:00
Selim Cinek
59db294f5f Updated the colors of the lock pattern
Bug: 13735707
Change-Id: I6ca5f66e2fd5daa61e89b65ac2ccf6a3fddd5f7a
2014-06-05 07:22:16 +02:00
John Spurlock
8f847cb6bd Merge "Settings: Use standard small text for subtitle." into lmp-preview-dev 2014-06-04 16:29:52 +00:00
John Spurlock
5b82f4f2c7 Settings: Use standard small text for subtitle.
In App notifications.

Bug:15423920
Change-Id: I493189d92b4e1447c4dd40bd5070a36d2e176bb0
2014-06-04 12:28:21 -04:00
John Spurlock
fe002e21a8 Settings: Remove quick settings options for daltonizer.
Bug:15424806
Change-Id: I91a9cd974d9e370f899e7573d00f6d27fe2e5538
2014-06-04 11:12:30 -04:00
Fabrice Di Meglio
5b210dd572 Merge "Wi-Fi assets delivery for Quantum - part 2" into lmp-preview-dev 2014-06-04 02:29:21 +00:00
Fabrice Di Meglio
896b16a754 Wi-Fi assets delivery for Quantum - part 2
- add missin xxxhdpi ones

See bug: #15117166 Network Strength Indicator Icon in WiFi Settings for I/O

Change-Id: Ice4d0a298a22a7902c103623c58bbe8032a78454
2014-06-03 19:25:02 -07:00
Fabrice Di Meglio
386a1c0396 Merge "Wi-Fi assets delivery for Quantum" into lmp-preview-dev 2014-06-04 01:32:59 +00:00
Fabrice Di Meglio
0bf7e9920d Wi-Fi assets delivery for Quantum
See bug: #15117166 Network Strength Indicator Icon in WiFi Settings for I/O

Change-Id: I0c5a4df094523b3a7df44852b1a5dc5318c52504
2014-06-03 18:30:06 -07:00
Alan Viverette
5b7c8da980 Merge "Fix search icon theme" into lmp-preview-dev 2014-06-04 01:17:36 +00:00
Alan Viverette
b1a9903790 Fix search icon theme
Change-Id: I4140e3d55008f950ab4949713ad0e5d58b847a91
2014-06-03 17:36:09 -07:00
Fabrice Di Meglio
31335eafbe Fix bug #15410103 Wi-Fi Dialog needs theme updates
- apply the correct Theme to the AlertDialog

Change-Id: I39a33b6a6630b6ba89f60a5a28fd8295687a86d1
2014-06-03 16:34:17 -07:00
Alan Viverette
57ce7e7f40 Remove colorPrimaryLight, update to use colorAccent for controls
Change-Id: I827298ef91cfa35ed29171c52da2bb5033ed2f77
2014-06-03 14:46:13 -07:00
Fabrice Di Meglio
19250a91df Fix usage of android:style/Theme.Quantum.Light.DialogWhenLarge
- make some Theme that are DialogWhenLarge but also respectful of
the Settings colors for the ActionBar

See bug: 15408411 Settings > Add account - needs to update theme

Change-Id: Ie96a94d03a2ea06fcbd19638f5d38e22e209fd31
2014-06-03 14:41:06 -07:00