Commit Graph

1078 Commits

Author SHA1 Message Date
John Spurlock
23efadfdd9 am 72d3c27d: Settings: Notification string tweaks.
* commit '72d3c27d6aa7436244a23bad429644649f919ea8':
  Settings: Notification string tweaks.
2014-06-05 20:19:13 +00: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
John Spurlock
864c31a131 am 8f847cb6: Merge "Settings: Use standard small text for subtitle." into lmp-preview-dev
* commit '8f847cb6bdf6209e2528dd98f35eda215cd6d5e0':
  Settings: Use standard small text for subtitle.
2014-06-04 20:52:39 +00:00
Fabrice Di Meglio
9d858c9562 am 9b9c97e7: Merge "Update Recents Searches and Search Results padding" into lmp-preview-dev
* commit '9b9c97e7505bca802547f81de8aff5b1d55176f6':
  Update Recents Searches and Search Results padding
2014-06-04 18:44:39 +00:00
Dianne Hackborn
1666d47fa2 am a4e854fa: Merge "Tweak battery usage to match red lines." into lmp-preview-dev
* commit 'a4e854fa5b9f5adc4898088f6d454dd92f4238a5':
  Tweak battery usage to match red lines.
2014-06-04 18:08:33 +00:00
Fabrice Di Meglio
2d89840b5c am 734290e9: Merge "Setting Dashboard - padding updates" into lmp-preview-dev
* commit '734290e9eaf1169bfa91e68307708fb7516913bc':
  Setting Dashboard - padding updates
2014-06-04 18:08:33 +00:00
Fabrice Di Meglio
475f5b73c2 am 6ba7075a: Merge "Entire Switch bar should be a touch state" into lmp-preview-dev
* commit '6ba7075ae8afb1edc5cb7864bc71121c9992903f':
  Entire Switch bar should be a touch state
2014-06-04 18:08:32 +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
Alexandra Gherghina
ba63597d5a Move personal account settings to a new screen.
This does not include work account settings.

Bug: 13656853
Change-Id: I105044f8261b1c656ed5053b3c02c02cfaae90d1
2014-06-04 08:44:39 +01: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
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
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
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
Russell Brenner
d3446c5708 Refactor setup wizard-related code
Extracted setup-related code from WifiSettings, putting it into a new
derived class, WifiSettingsForSetupWizard.

Set taskAffinity to com.android.wizard, for alignment with other
setup wizard-related tasks.

Change-Id: If371f219dac5d3eff8f7899c16cc6f9475be47cf
2014-05-30 16:16:30 -07:00
Julia Reynolds
ee27b9de8f Settings user restriction changes: wireless & networks changes.
Bug: 14081992
Change-Id: I32b0f06da7e7ff9bd8303ce26be2584e6cddbedc
2014-05-29 13:21:29 -04:00
Ido Ofir
6f482447b0 Moving the trust agents settings in the security settings menu and adding
personal unlock.

Change-Id: I0eeb3a32c55450af2435112a98aa44475159dc4f
2014-05-28 13:36:11 -07:00
Dianne Hackborn
beb6088990 am 0171fdba: Merge "Fix issue #15185822: Stability: ArithmeticException: divide by zero" into lmp-preview-dev
* commit '0171fdba7bd9b5acdcf0d32ffa12e07c69045a5d':
  Fix issue #15185822: Stability: ArithmeticException: divide by zero
2014-05-24 00:02:05 +00: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
Jason Monk
0485b7c373 Add Editable PAC field to Proxy Configuration
Make PAC URL field not read only but now settable in advanced wifi
configuration options.

Bug: 14885470
Change-Id: I2c647f823d5c8a75b5fbf74434cbf0efcc4c50bf
2014-05-22 13:36:02 -04:00
Dianne Hackborn
5a9ace3a7a Update battery use chart to better match new mocks.
Change-Id: I714cb30ccd9b8144785aee16a23ae2b723df4347
2014-05-21 14:19:11 -07:00
Fabrice Di Meglio
53e255242f Merge "Tune SwitchBar padding" 2014-05-21 02:01:20 +00:00
Fabrice Di Meglio
40a66f4c14 Tune SwitchBar padding
- remove hardcoded values
- use UX specs padding values for Phone and Tablet UI

Change-Id: Ic907c52860a1cc17acddd271943c8b2da20fb957
2014-05-20 18:59:21 -07:00
Andres Morales
f03c422652 Merge "Revert "Settings for NFC Unlock"" 2014-05-20 23:40:30 +00:00
Fabrice Di Meglio
d2b64f339a Fix bug #15001610 Java crash in settings is observed while adding Google account on wiped device
- update Settings main layout to be able to show the Buttons
- make WifiPickerActivity a SettingsActivity and remove dead code
- fix reference to Buttons for using the Settings IDs instead
of the Framework ones

Change-Id: I23bfd1b8290fc007e6e80aa9a6297e55e7f6004e
2014-05-20 14:23:56 -07:00
Fabrice Di Meglio
8b81bfff2e Update Dashboard font sizes to match UX spec
- 16sp for title (medium text)
- 14sp for sub-title (small text)
- 14sp for category title

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

Change-Id: I04eb99b4df1ffcb60bb906ed3e1ea588e886dba4
2014-05-20 10:27:05 -07:00
Andres Morales
ad0c06aca3 Revert "Settings for NFC Unlock"
This will be rolled into a Trustlet

This reverts commit fd2b629335.

Change-Id: I921f0838d4646799b6664da64a578a209e9c037e
2014-05-20 16:59:25 +00:00
Fabrice Di Meglio
29d8e8bc0d Merge "Update Search results layout" 2014-05-19 23:56:39 +00:00
Fabrice Di Meglio
3f6d2e422b Update Search results layout
See bug: #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: If3174fee563ef204eb939576e4c7ef4d986735e3
2014-05-19 16:55:26 -07:00
Fabrice Di Meglio
bc2111be4f Merge "Update Dashboard padding" 2014-05-19 22:12:31 +00:00
Fabrice Di Meglio
7f2363e903 Update Dashboard padding
- make it the same as the one used for PreferenceFragments

Change-Id: I9575f0fef4492d76afb25b10af201839709517e9
2014-05-19 15:11:24 -07:00
John Spurlock
dc76fcaef8 Fix icon padding in app notification settings.
Change-Id: I93da362f0bd6b3f388864a961c2365163c44e474
2014-05-19 15:21:19 -04:00
John Spurlock
81bef1d745 VolumeZen: Sound & Notifications settings.
- Add sound settings under the newly combined Sound & Notifications
  top-level settings page.
- New slider preferences for setting audio stream volumes.
- Migrate checkbox prefs to switch prefs.
- New settings subpage for touch sounds.
- New settings subpage for "Showing notifications"
- New setting pref for displaying intercepted notifications in zen mode.
- New tri-state lockscreen notifications pref.
- Add priority + sensitivity options to app notification dialog.
- Remove badges on app notifications row, migrate to subtitle text.
- Migrate strings to common spot in strings.xml
- Remove heads up setting.
- Remove tweaks category (unused).
- Clean up notification settings, separate out into a code section per option.
- Clean up _settings.xml files, prefix each pref with option name.
- Add appropriate indexing data to each settings page.

Depends on f/b change Ic30aa575ae07650cee62c8c1d83b6bc69395cf0d

Change-Id: If700385a7d0057f6c4c4bcf6e648dcf88b8ebff2
2014-05-18 15:37:09 -04:00
Fabrice Di Meglio
ba046c034c Add padding at the end of the Dashboard list
See bug #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I3aa01a346933eb9269d2466c07b6b5ebd6fc3cc1
2014-05-16 18:59:14 -07:00
Fabrice Di Meglio
74fb759f50 Merge "Improve the Dashboard layout" 2014-05-16 23:16:36 +00:00
Fabrice Di Meglio
94c9e177a4 Improve the Dashboard layout
- make the category text header taller and centered

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

Change-Id: I557211db923f106a83d65d090ce610c76fa53d5e
2014-05-16 16:13:40 -07:00
Martijn Coenen
00dbb74b8d HCE foreground support.
Allow users to configure they want to favor the foreground
app for tap&pay.
Change-Id: I25e1058e84f468e47fd40f43b65389c04373a3ab
2014-05-16 09:10:30 -07:00
Fabrice Di Meglio
8fb5d4a0ea Use SwitchBar for DoNoDisturb Settings
- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: If1ce0eb147ade8485107ee948b0d03cf688bcf06
2014-05-15 20:19:52 -07:00
Fabrice Di Meglio
92f02e4d2a Merge "Use SwitchBar for Accessibility Settings" 2014-05-16 00:47:20 +00:00
Fabrice Di Meglio
6220275d6d Use SwitchBar for Accessibility Settings
Deals with Talkback / Captions / Magnification Gestures

- follow up CL to 4193776698

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: Ibda0ed05b399f1b2b4464c5b22a3e9fd3d378867
2014-05-15 17:44:26 -07:00
Andres Morales
ae04155bbe Fix issues in Wi-Fi NFC tag code
An NPE + multiple comments

Change-Id: I04ffe10874cc2e9aa9f68bc551b8da98eb6f1640
2014-05-15 16:34:51 -07:00
Fabrice Di Meglio
4193776698 Introduce SwitchBar widget
- SwitchBar is a LinearLayout that containts a TextView and a Switch and
is intended to replace all Switches that are put in the ActionBar as a
custom view
- use the new SwitchBar for WifiSetting only for now (a later CL will
take care of all the other Setting that are using a Switch in the
ActionBar)

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: I5e98dbe995bba8f440d08459e09ca3ac09d3464b
2014-05-14 16:42:06 -07:00
Paul Lawrence
3873a193d5 Make pattern visible at decryption time
Set background to gray to enable this. Probably not the idea final
look, but at least gets the feature usable.

@bug 14883421

Change-Id: Ie599b969d5da8bc21c81c4b974263554697922a6
2014-05-13 13:47:53 -07:00
Fabrice Di Meglio
39490546d3 Add touch feedback and focus on Dashboard tiles
- use a touch-feedback background
- declare DashboardTileView as focusable

Change-Id: I67ae19cd20374e531660232034528c995f595900
2014-05-09 18:18:05 -07:00
John Spurlock
c9afadb04b Add condition provider access to settings.
Pull NotificationAccessSettings out into a reusable base class
and reuse all of it for a new condition providers settings page.

As with notification listeners, the entire section is hidden if
no apps provide conditions.

Change-Id: Ib5273f3362e392d99647347c23a514e4590f7ac9
2014-04-29 20:21:08 -04:00
John Spurlock
c41dfb4f6c Update zen mode settings strings.
Change-Id: I0caeed5825cedb6be16384df4988aab0ea5cdbc6
2014-04-28 11:41:20 -04:00
Fabrice Di Meglio
769630c895 Settings new dashboard - part 2
Introduce the new Dashboard (a grid like presentation of
Settings top categories) per UX specification.

- the Dashboard is composed of "categories" and in each of them
you have "tiles"
- implement a new layout for showing top categories
(DashboardContainerView). This layout basically acts like a
grid
- depending on the device configuration make the grid with 1
column in portrait / 2 colums in landscape (phones) OR 2 columns
in portrait and 3 in landscape (tablets)
- take care of Accounts adding and removing (as it changes the
number of tiles to show)

Also remove all the old code related to Headers

Change-Id: Ie29944132c1b4c3f7b073d5a7d4453b8f5ec19a7
2014-04-25 17:24:18 -07:00
Dianne Hackborn
0be7598cb8 Show time remaining / to charge.
Rework the battery graph to include the time remaining or
time to charge.

Change-Id: Ib26b761cb10e01f5f3aa4189db10d44b8ce62f89
2014-04-24 12:05:51 -07:00