Commit Graph

1792 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
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
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
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
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
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
Fabrice Di Meglio
9b9c97e750 Merge "Update Recents Searches and Search Results padding" into lmp-preview-dev 2014-06-03 20:33:54 +00:00
Fabrice Di Meglio
d15de56ba1 Update Recents Searches and Search Results padding
- for matching the ones from the main Dashboard too
- udpate also the Titles to match the categories title appearance
from the Dashboard

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I6d4731dbbd049b77e8c103bc21e9d0be5c0234dd
2014-06-03 13:32:21 -07:00
Alan Viverette
1eb528318c Fix theme resolution in account preferences
BUG: 13341461
Change-Id: Idb42ad4026d63900b62f911782e07092216d906e
2014-06-03 11:15:54 -07:00
Dianne Hackborn
a4e854fa5b Merge "Tweak battery usage to match red lines." into lmp-preview-dev 2014-06-03 00:21:30 +00:00
Dianne Hackborn
7158e62992 Tweak battery usage to match red lines.
Most of this is done, the main thing missing is the color
of the bars which seems like a framework issue.

Note that this introduces a change to the global theme
making colorControlActivated the specified blue color,
which impacts all of the settings UI.  (Except apparently
progress bars, and thus the bug.)

Change-Id: I4a5ca8c3b94dc23b8f065f60fe697ee0e76ff47d
2014-06-02 17:21:13 -07:00
Fabrice Di Meglio
734290e9ea Merge "Setting Dashboard - padding updates" into lmp-preview-dev 2014-06-03 00:16:43 +00:00
Fabrice Di Meglio
e89aecdd0f Setting Dashboard - padding updates
- following UX design for N5 device

See bug #15384992

Change-Id: Id548ae0937b1aa9b7a9e1ae5c6a6b8299ff51eb6
2014-06-02 17:14:11 -07:00
Fabrice Di Meglio
6ba7075ae8 Merge "Entire Switch bar should be a touch state" into lmp-preview-dev 2014-06-02 23:30:30 +00:00
Fabrice Di Meglio
e9cb75c636 Entire Switch bar should be a touch state
- add click listener for toggling the Switch and its text
- add Ripple background to the SwitchBar to make a nice Ripple
when there is a click/touch

See bug #15385724 Entire Switch bar should be a touch state

Change-Id: I26ef77ace596029e9c3e1e17b153b54df4a9110e
2014-06-02 16:29:18 -07:00
Adrian Roos
4e2104b119 Merge "Follow up to "A better brightness"" into lmp-preview-dev 2014-06-02 23:19:53 +00:00
Adrian Roos
8ab0954a24 Follow up to "A better brightness"
Original change I122e1218dd0072c979a59bdafd3e0b6f4eec99ab was missing
search provider logic adjustments and length limits on the added strings.

Bug: 15313133
Change-Id: I8910dd60111c87f5494db7bac76a351e89c1a99b
2014-06-03 00:00:11 +02:00
John Spurlock
2ca1a3f5ff Settings: update bug report shortcut summary.
Now mentions the power menu instead of Quick Settings.

Bug:15385554
Change-Id: I48c0625efc4589478e2866b3c7991cdb46e8204f
2014-06-02 15:24:07 -04:00
Fabrice Di Meglio
d4757e088b Merge "Fix bug #15330860 “More...” item in Settings should not have an icon" into lmp-preview-dev 2014-05-30 02:43:29 +00:00
Fabrice Di Meglio
09786c529b Fix bug #15330860 “More...” item in Settings should not have an icon
- update the string to say "NFC & more"

Change-Id: Ic61e4a85cc6dfd6f32443656d9fb3ef5f9577a6e
2014-05-29 19:19:52 -07:00
Fabrice Di Meglio
c9a972ab2a Merge "Fix bug #15330860 “More...” item in Settings should not have an icon" into lmp-preview-dev 2014-05-30 01:23:10 +00:00
Fabrice Di Meglio
aa66e80944 Fix bug #15330860 “More...” item in Settings should not have an icon
- actually the issue is that the string was containing an ellipsis
so remove it

Change-Id: I37f7db91fd86ba93d533d2a78c75813d2adbbc7e
2014-05-29 18:21:37 -07:00
Fabrice Di Meglio
bc16c5ddac Merge "Update ActionBar for using contentInsetStart" into lmp-preview-dev 2014-05-30 00:47:43 +00:00
Fabrice Di Meglio
6338695711 Update ActionBar for using contentInsetStart
- also align SwitchBar ON/OFF text

See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: Ie8224be169ac975b5f71ca23f0c87f385554878e
2014-05-29 15:18:01 -07:00
John Reck
84f2d7ee4c Merge "Remove unsupported visual_lines" into lmp-preview-dev 2014-05-29 18:01:41 +00:00
John Reck
dec9ce489c Remove unsupported visual_lines
Change-Id: I710ad2d3f121203f64ea8246a1a85662b335b9e3
2014-05-29 10:16:33 -07:00
John Spurlock
4e4cdeffdb Settings: Remove sound settings.
- Move the remaining conditional preferences into
  the combined Sound & Notifications screen.
- Refactor the "Other sounds" sub-settings screen to
  provide a home for the new preferences.
- Migrate docking sounds, conditional on config.
- Migrate docking media, conditional on config.
- Migrate emergency tones, conditional on CDMA.
- Move all boilerplate preference <-> setting plumbing into
  a separate helper.
- Since some preferences in Other sounds are now conditional,
  create a special indexer for searching.
- Remove SoundSettings (and xml), create aliases in the manifest
  to avoid breaking shortcuts.

Bug:15279526
Change-Id: I5ae3ecda2f899b1948f7908bd217a799326c2c56
2014-05-28 16:37:43 -04:00
John Spurlock
57c713d1d9 Settings: Hide phone-related settings on tablets.
Bug:15002393
Bug:15091008
Change-Id: I8238b7990572f46e1530a800897ab2d39a189055
2014-05-27 14:39:02 -04:00
Dianne Hackborn
a32d81797f Fix issue #15185822: Stability: ArithmeticException: divide by zero
Also small visual improvements.

Change-Id: I55dc30539a4ef67e9261f338c8c5a729a6958d9b
2014-05-23 16:47:37 -07:00
vandwalle
c9a6698fd4 make verbose logging a wifimanager hidden API
Change-Id: I092b7f507ad4dfdab16658929f02584a1fc22ba4
2014-05-21 20:25:15 -07:00
Dianne Hackborn
7e315ee5e1 Merge "Update battery use chart to better match new mocks." 2014-05-21 21:26:24 +00:00
Dianne Hackborn
5a9ace3a7a Update battery use chart to better match new mocks.
Change-Id: I714cb30ccd9b8144785aee16a23ae2b723df4347
2014-05-21 14:19:11 -07:00