Commit Graph

13716 Commits

Author SHA1 Message Date
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
f541710a34 Merge "Remove colorPrimaryLight, update to use colorAccent for controls" into lmp-preview-dev 2014-06-03 22:44:12 +00:00
Fabrice Di Meglio
302f75d6e6 Tune Search Results layout
- make the summary view as GONE when its text is empty

See bug: #12910134 Implement Search into the Settings App

Change-Id: Iafd680706b937137eaa30692e1c57a77cb5d7fc8
2014-06-03 15:29:08 -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
Fabrice Di Meglio
4c44873435 Merge "Push Local Printer Search action to the ActionMenu" into lmp-preview-dev 2014-06-02 22:41:06 +00:00
Fabrice Di Meglio
11a67c14a2 Push Local Printer Search action to the ActionMenu
See bug #14325350 Printing > CloudPrint ActionBar is overcrowded

Change-Id: I9c7ca08ecbcf2a918239d952dc8c23315c46f152
2014-06-02 15:38:45 -07: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
23c6666a88 Add Indexing and Search for ChooseLockGenericFragment - DO NOT MERGE
Manual report of 0897f975c1

 - clean some imports
- add key and title to security_settings_picker.xml
- add ChooseLockGenericFragment in SearchIndexableResources

Change-Id: I3ab77677f3d926b0a3eb9be5d77ee23b568856aa
2014-05-30 17:59:00 -07:00
John Spurlock
a391d9c6ac Merge "ZenSettings: Only show "next day" if start >= end time." into lmp-preview-dev 2014-05-30 23:08:13 +00:00
John Spurlock
c2f06e06c2 ZenSettings: Only show "next day" if start >= end time.
Bug:15345316
Change-Id: Ic1130dc639f63ae6026f7c7ba2a0ad9402557ce7
2014-05-30 19:04:53 -04:00
Fabrice Di Meglio
2aa322991d Merge "Fix bug #15335840 "Safety information" search suggestion shown though ..."Safety information" setting is not available in settings app" into lmp-preview-dev 2014-05-30 22:36:05 +00:00
Fabrice Di Meglio
b2385ea462 Fix bug #15335840 "Safety information" search suggestion shown though
..."Safety information" setting is not available in settings app

- implement a SearchIndexProvider for DeviceInfoSettings and
remove some Preference indexing depending on the device state
and configuration
- remove old non used Preferences
- some code cleaning

Change-Id: I3b2c9dc7cb9f1137b553fed9330aeea4020bd2f8
2014-05-30 15:35:06 -07:00
Chris Wren
d711b22130 Merge "Support audience filtering in the Zen Mode settings." into lmp-preview-dev 2014-05-30 21:37:56 +00:00
Fabrice Di Meglio
2bc41e29b9 Merge "Fix bug #15342475 Settings search ranking improvement" into lmp-preview-dev 2014-05-30 21:09:17 +00:00
Fabrice Di Meglio
eed44c9d5f Fix bug #15342475 Settings search ranking improvement
- introduce the "base rank" concept. All SearchIndexablesProvider
will have a base rank and the Settings one will get a "0" base rank.
- use a map whose key is the authority name for the provider to get
and store the base rank
- if a base rank is not defined, use the current max defined one and
increment it to define the new one.

Then we will compute the real rank this way:

rank = (providerRank > 0) ? baseRank + providerRank : baseRank

Change-Id: Ifa82bfcdfc07f25c4a5f304f47550686f7d4c13d
2014-05-30 14:05:32 -07:00
Chris Wren
7ad86dce1c Support audience filtering in the Zen Mode settings.
Depends-On: I7c91dec1afeb54505426c4da59ec4d072a60c240
Change-Id: Idf5523e225c1368a43bf46338490c69ed9dffd09
2014-05-30 16:33:28 -04:00
Santos Cordon
3afbdf0060 Update showCallScreen to use Telecomm (6/6)
Use TelephonyManager instead of ITelephony for showCallScreen so that
the invocation routed to telecomm instead.

Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
2014-05-29 22:35:43 -07: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
Brian Carlstrom
238be024d7 Merge "Move to dalvik.vm.lib.2 to force default to libart" into lmp-preview-dev 2014-05-28 21:39:36 +00:00
Brian Carlstrom
3bc8aaad29 Move to dalvik.vm.lib.2 to force default to libart
Bug: 14298175
Change-Id: I5ebd13eebf42c998418ef79381d9c8b89aaf5c0c
2014-05-28 14:31:47 -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
Dave Langemak
9e8bd809fc Merge "Move mobile data dis/enable to Telephony" into lmp-preview-dev 2014-05-27 21:25:52 +00:00
Fabrice Di Meglio
9c3c57f7ae DO NOT MERGE: Fix bug #15161058 Stability: ISE in Settings:Fragment DashboardSummary{588de71} not attached to Activity
- prevent rebuilding the UI until the fragment got attached

Change-Id: I6d5fcbce2581f3fc9900f1ca4fc8178ee959061e
(cherry picked from commit 53d76860a5)
2014-05-27 21:01:29 +00:00
Fabrice Di Meglio
42c4b0abe5 DO NOT MERGE: Optimize Dashboard loading
- prevent loading categories twice
- add some logging to see the time taken for building the Dashboard titles

Change-Id: I31724c0e66fe3b453a87f12476f58db84c73423f
(cherry picked from commit b644f29313)
2014-05-27 20:58:43 +00:00