Commit Graph

795 Commits

Author SHA1 Message Date
Jeff Sharkey
b654846300 Data Usage, materialized!
Asset drop so Data Usage matches new Material spec.  Removes time
dimension sweeps, so we now summarize the entire visible axis.  Fix
time axis labels to not draw outside clip bounds.  Remove pie chart.

No more checkboxes in menus.  Telephony items like roaming are moved
back to cellular settings.  Start wiring up multi-SIM support.

Bug: 15760500, 16019700, 16289924, 16303795
Change-Id: Ie8f4821962319bb82ff4bc2f13f1f66ba1bdfe65
2014-07-22 16:24:37 -07:00
Alan Viverette
09be4b3c87 Stop using framework-private switch asset
BUG: 16467249
Change-Id: I0829c3dea522cf59e0f92046ea7c6092d416ad4c
2014-07-22 16:11:01 -07:00
Adrian Roos
2c22d6d204 Fix and simplify advanced security settings layout
Provides correct padding for tablets and sets background
drawable.

Bug: 16382821
Change-Id: I0aa0c9f8c6fccb6c201e78075c37a7c7e2315d07
2014-07-22 12:08:44 +00:00
Alan Viverette
389287e5f8 Treat caption preview viewport as clipped 16:9 aspect
Also adds standard start/end padding to preview frame.

BUG: 16462107
Change-Id: I89001d1656cee0c2d8abd95eae09975307b1ff06
2014-07-21 23:50:15 +00:00
Fabrice Di Meglio
aed4c7284e Merge "Add the capability to set a pinned header to SettingsPreferenceFragment" into lmp-dev 2014-07-21 15:43:35 +00:00
Fabrice Di Meglio
86159283c9 Add the capability to set a pinned header to SettingsPreferenceFragment
- add a FrameLayout into the preference list fragment
- add public void setPinnedHeaderView(View pinnedHeader) and
clearPinnedHeaderView() APIs for adding and clearing the pinned header

Change-Id: I50ba5dd150167e0d49cc54bee1203f46db6d7a66
2014-07-21 16:16:23 -07:00
Fabrice Di Meglio
20b32f25f0 Fix Notification Access layout for tabletUI support
- setup correct padding for the App list and its item

also remove showing FastScroller all the time on App Notification list

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

Change-Id: I11a70906f1372027622d50a81bc7744d48190f8a
2014-07-21 13:41:32 -07:00
Fabrice Di Meglio
7bc9c1bce3 Fix App Notification layout for tabletUI support
- setup correct padding for the App list and its item

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

Change-Id: I6c14bb8abced59b636a3230e1daf783130f0f4d3
2014-07-21 13:19:06 -07:00
Fabrice Di Meglio
fecda6181d Merge "Fix Notification Access layout for tabletUI support" into lmp-dev 2014-07-21 15:42:19 +00:00
Fabrice Di Meglio
193cd11c4b Merge "Fix App Notification layout for tabletUI support" into lmp-dev 2014-07-19 22:40:06 +00:00
Fabrice Di Meglio
d40dd45c18 Fix overdraw and do some layout optimizations
- use a specific layout for the Dashboard and for the Preferences
- use a specific background for the Dashboard and for the Preferences

The main idea here is that you cannot have the same layout / background
because the Dashboard is using the "Z elevation" for having its card
"poping up"

Change-Id: I42b7c91efea14315b8a60cf3876938a7f1d1e0b3
2014-07-18 16:33:32 -07:00
Fabrice Di Meglio
3bd0515242 Fix alignment of ActionBar title and Preferences for tablet UI
- use the correct start/end padding

See bug: #15439371 Visual add white BG for Settings Detail

Change-Id: I391fb3c75c51349ffbc17295b3aac6f432f91b58
2014-07-17 19:36:14 -07:00
Jason Monk
27d7ea56f3 Add Screen pinning back to settings
Adds a basic screen for screen pinning (previously lock-to-app) to
settings that describes the feature and allows it to be turned on
and off.

Bug: 16378448
Depends on Ide333463f86310eacb7a1d8b6dc7b1aea8722713 for Settings
constant
Change-Id: Id3ef8471794aa01de20efeb947bed95c50d6b954
2014-07-21 09:01:43 -04:00
Fabrice Di Meglio
84dfc0b5d6 Merge "Fix overdraw and do some layout optimizations" into lmp-dev 2014-07-18 18:24:25 +00:00
Adam Lesinski
8d7be7b738 Update Settings to use new UsageStats API
Change-Id: I89740d9b0c21f1ac6aa68feedc7730dd98b244c9
2014-07-18 14:35:54 -07:00
Fabrice Di Meglio
c08c67be88 Merge "Fix alignment of ActionBar title and Preferences for tablet UI" into lmp-dev 2014-07-17 21:58:28 +00:00
Paul Lawrence
eb0628bb02 Merge "Final touches to material theme for phones" into lmp-dev 2014-07-17 19:13:40 +00:00
Paul Lawrence
aa05738cd2 Final touches to material theme for phones
Fix layout
Improve text color/size
Improve edit box look
Hide status bar at top

Bug: 15328359
Change-Id: Ia0ea75c74b352963ccf47db0ff7c9684adc1f2a3
2014-07-17 13:29:23 -07:00
Dianne Hackborn
c19eb361a4 Battery chart fixes.
When there is no data to show, don't make a crazy collapsed chart.

Also avoid re-creating the chart when scrolling.

And fix various other things.

Change-Id: Ia1895bc7c46e6d830e66f66e66f17726e1e23e3f
2014-07-17 12:09:54 -07:00
Fabrice Di Meglio
7d79e41877 Fix OwnerInfos
- use a white background for being in line with the Material Theme
- fix padding so that the edge effect is showing full width

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

Change-Id: Iea1cf6b104ee8bf5f311f7d3485d0500884dc57a
2014-07-15 18:55:27 -07:00
PauloftheWest
b64a1f2fde Merge "Added Wifi Assistant Card" into lmp-dev 2014-07-16 16:25:13 +00:00
PauloftheWest
060e01a93e Added Wifi Assistant Card
+ Show Wi-Fi Assistant card above network list that scroll under the action bar with the rest of the list
+ Display a promo image and text
+ Clicking "Setup" should link to the selected Wi-Fi assistant app (must be open to 3rd parties)
+ Touching "No, Thanks" should snooze this card for 30 days / 2nd time 90 / 3rd time 180 days / then forever

Bug: 15703202

Change-Id: If74101bea630246c6bda2de3ed79fee72eca4c0c
2014-07-16 15:46:09 -07:00
Fabrice Di Meglio
1b18665dbc Fix bug #16319697 ACTION_DEVICE_INFO_SETTINGS intent causes Settings app to crash
- fix the way we are passing switchBarMarginStart / switchBarMarginEnd

Change-Id: Ic6e67643be10877a74ae68075460fa5fd4cc5da1
2014-07-15 18:52:37 -07:00
Paul Lawrence
89c7570dd4 Make crypt dialogs material
White on black material theme
Center text
Remove fade to black task
Fix emergency call button

Note - does not implement all requirements of frames in the defect. More
to follow.

Bug: 15328359
Change-Id: I878e59dccffff366ba2484bb77482e168cbd2b81
2014-07-16 08:07:35 -07:00
Christoph Studer
bc1889071f Merge "NotificationStation: Fix crash, use dark theme" into lmp-dev 2014-07-14 21:09:14 +00:00
Jason Monk
f43bbeb247 Revert "Add lock-to-app to settings"
This reverts commit 315070d58b.

Change-Id: Id78311a4e0f371a87c975cc97587a404e0dfdb7f
2014-07-14 16:44:56 +00:00
Christoph Studer
9717fab53d NotificationStation: Fix crash, use dark theme
Bug: 15899979
Change-Id: Ieaa65e300cdc9cbed83b601b7a972a1e245c4961
2014-07-14 17:20:17 +02:00
Tadashi G. Takaoka
cd6fdead7c Reorganize spell checkers settings
Bug: 15976603
Bug: 16115751
Change-Id: I3b23d7f01d8d39da27215a5263b12304ac64db0f
2014-07-11 19:51:30 +09:00
Maurice Lam
588e61aa05 [WifiSetup] L layout update
Changed the layout based on the new design mocks. Copied over
StickyHeaderListView and SetupWizardHeader. Currently using the
generic illustration but will update to Wifi setup specific version
once we get them.

Change-Id: I22bdef8c9860d419be55938e1e4a6a682db5b7e8
2014-07-09 19:33:28 -07:00
Ido Ofir
e6d52157fa Merge "b/16154604 removing the settings link from the trust agent menu." 2014-07-09 14:50:26 +00:00
Ido Ofir
286558bab0 b/16154604 removing the settings link from the trust agent menu.
Change-Id: If5050a16ffd776a5ca2eec6f1dad4eef47f2f0e4
2014-07-08 15:17:30 -07:00
Fabrice Di Meglio
60f803f49c Merge "Define a specific preferenceFragmentStyle in Settings Theme" 2014-07-07 18:07:48 +00:00
Fabrice Di Meglio
5c3fd1cea3 Define a specific preferenceFragmentStyle in Settings Theme
- needed for being able to have PreferenceFragments look as the Dashboard

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I098008a131aa29594025b38dd0dc07c1cc3bffdc
2014-07-07 17:42:17 -07:00
John Spurlock
07f7efba67 Settings: Update to follow new volume design.
- "Sound & Notification"  (not Notifications)
- Remove ringer-mode pref.
- Add zen-mode pref to renamed "Interruptions" screen.
- Implement two separate "Sound" & "Notification" sections.
- Remove "Showing notifications" screen, migrate settings.
- Remove custom category styling now that we have a platform style.
- Implement new "days" sleep mode and corresponding dialog pref.
- Corresponding changes to indexable resources.

Associated frameworks/base change:
  I35afe38646f04d2ba0dbac11c2c6356120a33694

Bug:15831713
Change-Id: I6ed56791784968adfbd684f490dbbebed285a2dd
2014-07-07 18:37:06 -04:00
PauloftheWest
7837b99986 Added Saved networks UI to Wifi
+ Added Saved networks to Overflow menu
+ Moved WPS Pin Entry from Overflow menu to Advance Setting Activity
+ "Automatically manage Wi-Fi : Let a Wi-Fi assistant manage your connection"
+ "Wi-Fi assistant : <selected assistant> [cog secondary hit target]
+ MAC address & IP address list items have the static italic style
- "Avoid poor connections" from Advance Settings
- "Wi-Fi optimization" from Advance Settings

Bug: 15698824

Change-Id: Ieb25b29874752db07398dcb200ec07862779f507
2014-07-08 11:26:22 -07:00
Andres Morales
9246b06e52 Fix Write to NFC Tag dialog layout for tablets
Change-Id: I10a846dd328ff7b3f06350ff93197712495d2fb4
2014-07-01 18:52:39 +00:00
Fabrice Di Meglio
e0284653b7 Update Search Suggestions and Results Panel
- fix overdraw use as less backgrounds as possible
- make it look like the Dashboard with padding left and right

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I30ff33e51bc3c73e888d45f0ce6e16784eb6721c
2014-07-01 11:00:14 -07:00
Fabrice Di Meglio
a5792eb9a4 Merge "Make edge effect goes border to border on xlarge tablets" 2014-06-27 16:52:20 +00:00
Fabrice Di Meglio
1575ee7d02 Make edge effect goes border to border on xlarge tablets
- it is all where you apply the padding ...

Change-Id: Ia8b75662a387bee278b4ea1bca83153724db5bfa
2014-06-29 14:54:07 -07:00
PauloftheWest
b4564c39b7 Applied some minor UI changes (see below)
+ Changed wifi icons to teal
+ Removed “Secured with …” from network status
+ Added an empty state image above text when Wi-Fi is off
+ Removed Wi-Fi Direct and WPS Push button from overflow menu
+ Added Wi-Fi Direct and WPS Push button to Advance Activity
+ Input Password Dialog: Moved Signal Strength and Security to Advance
+ Input Password Dialog: Updated Password text to Material style

BugId: #15698824 #15702808
Change-Id: I542ab9aac2c098738330c92d9183d3907c4f0b38
2014-06-27 12:52:56 -07:00
Fabrice Di Meglio
200cca4c1d Fix icon size for Data Usage / Battery Stats / Process Stats
- remove padding from app_percentage_item and apply it correctly
on its containers
- wrap app_percentage_item into preference_app_percentage for having
correct padding o nProcessStatsPreference and PowerGaugePreference

Change-Id: I290c92959f51a33a1edb49435cd0bd1e6cd9afa3
2014-06-26 14:04:11 -07:00
Jason Monk
0e6ffc429d Merge "Add lock-to-app to settings" 2014-06-26 18:35:29 +00:00
Fabrice Di Meglio
bf4ea4bd8c Merge "Fix icon size for Data Usage / Battery Stats / Process Stats" 2014-06-26 18:02:09 +00:00
Julia Reynolds
4ea24ecfbf Merge "Use user restriction instead of pin to guard factory reset in Settings." 2014-06-26 18:35:29 +00:00
Jason Monk
315070d58b Add lock-to-app to settings
Lock-to-app when disabled shows some instructions about how to
enable it and use it.

When enabled shows an option of use lock screen, which controls
whether the device is locked when exiting lock-to-app.  Turning
on use lock screen requires that the device have some security
challenge.

Bug: 15759649
Change-Id: I6188243e03fb0c85bdfdbc32a23ad486296a34f9
2014-06-26 11:09:54 -04:00
Fabrice Di Meglio
c0ac943eb6 Merge "Make Apps Icons size consistent in Battery Stats" 2014-06-25 17:34:02 +00:00
Fabrice Di Meglio
b974ab5825 Make Apps Icons size consistent in Battery Stats
- set them to 24dip as for the Settings Dashboard

Change-Id: Iadab299cac88a6b22157d285aff8a7dcf506fc97
2014-06-25 17:04:39 -07:00
Fabrice Di Meglio
f65f0e7575 Merge "Update Dashboard layout - part 2" 2014-06-25 21:16:45 +00:00
Fabrice Di Meglio
676e9c1167 Update Dashboard layout - part 2
- follow UX spec
- tablet UI support
- tuning for phone UI

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I26fc6a51a4bb608399f319206c27f58c21b4aa64
2014-06-25 13:59:18 -07:00
Fabrice Di Meglio
8b44132467 Fix bug #15782467 Wrong padding start/end on App Info
- move the listPreferredItemPadding to the correct ViewGroup

Change-Id: I896c2cab79a0c3c40452d8592297191611df40de
2014-06-23 18:10:42 -07:00