Commit Graph

2313 Commits

Author SHA1 Message Date
Andrew Sapperstein
c2684dd56b Merge "Merge "Use config_headlineFontFamily for password screens." into oc-dr1-dev am: 4545d636ec" into oc-dr1-dev-plus-aosp
am: 0ee38fa7eb

Change-Id: I95f9a51aee9542cb2ff99043fd305760e276f108
2017-07-07 03:33:25 +00:00
Andrew Sapperstein
ccbb4cfc2c Use config_headlineFontFamily for password screens.
These screens are used whenever setting or confirming the
lockscreen PIN or password. Set them to a consistent textSize (24sp)
and a consistent fontFamily.

Would have set the fontFamily in the style, but unfortunately
setInputType is called on the TextViews after inflation which blows
away the fontFamily. Instead, we set it in code right after that
call.

Change-Id: I77c3f94e2b1ce6d1f19697394c5caa09aac423b0
Fixes: 62873478
Test: manual
2017-07-06 14:30:28 -07:00
Fan Zhang
75bee9bf98 App header cleanup
- Refactor the entity header layout to use LinearLayout and add id to
  content area
- Remove now unused AppHeader class
- Make entire icon+text area clickable and link to app info page
  Refactor the binding logic from bindButton to its own method.
- Remove unused MultiLinePreference

Fix: 62705377
Test: make RunSettingsRoboTests

Change-Id: I6db554695410e71b669f6fdba29d98fedc3364b9
2017-07-06 13:23:38 -07:00
Sundeep Ghuman
2d1e8a736e Merge "Use EntityHeaderController in WifiDetailPreferenceController." into oc-dr1-dev am: 09229abbf2
am: 4fd8528c2f

Change-Id: Ie183a68e7ae944bad8a2ca3782522afd7f78b74f
2017-07-05 22:43:16 +00:00
TreeHugger Robot
09229abbf2 Merge "Use EntityHeaderController in WifiDetailPreferenceController." into oc-dr1-dev 2017-07-05 22:21:40 +00:00
Daniel Nishi
ac4c095f3e Merge "Storage item preferences should be 72dp tall." into oc-dr1-dev am: 37caf9c7da
am: d7685ec8c8

Change-Id: I59838e687f360a2121ff24be805a9f5cb090f639
2017-07-05 20:44:22 +00:00
Daniel Nishi
37caf9c7da Merge "Storage item preferences should be 72dp tall." into oc-dr1-dev 2017-07-05 20:40:41 +00:00
Sundeep Ghuman
d569195299 Use EntityHeaderController in WifiDetailPreferenceController.
Switch to the Entity header to bring parity in design of
WifiNetworkDetailsFragment and other Settings pages.

Bug: b/37252029
Test: make -j40 RunSettingsRoboTests
Change-Id: Ib11f3d37eac4dca08fa61eef67910cd328682bac
2017-07-05 12:54:38 -07:00
Daniel Nishi
05d49497b9 Storage item preferences should be 72dp tall.
In changing the layout, this also centers the icon properly.

Change-Id: I8fa36e18cf4a0d5765ccbe65a7975fd71832a9ae
Fixes: 62548432
Bug: 62581475
Test: Manual
2017-06-29 12:01:59 -07:00
TreeHugger Robot
9df70249b9 Merge "Change to use new suggestion/condition UI." into oc-dr1-dev 2017-06-29 01:04:58 +00:00
TreeHugger Robot
84872626cd Merge "Change to use new suggestion/condition UI." 2017-06-28 20:27:27 +00:00
jackqdyulei
f1d0308ae7 Merge "Update the UI for battery header" into oc-dr1-dev am: 923f50fce6
am: 9d4a2806a8

Change-Id: I28f110fef49db0aca036eb06c5c3f4d1249522de
2017-06-28 19:48:24 +00:00
Doris Ling
b99af0e4a2 Change to use new suggestion/condition UI.
Change to always use the new UI that combines the suggestion and conditions,
and remove all codes relating to the old UI.

Fix: 37645754
Fix: 62621808
Test: make RunSettingsRoboTests

Merged-In: I3421a9e5182f6606843392d6fae8b9f07c5f2e46
Change-Id: I5ef169a563166520dad0ac44f6780da814e2f1f7
2017-06-28 12:22:34 -07:00
Doris Ling
631893f582 Change to use new suggestion/condition UI.
Change to always use the new UI that combines the suggestion and conditions,
and remove all codes relating to the old UI.

Bug: 37645754
Bug: 62621808
Test: make RunSettingsRoboTests
Change-Id: I3421a9e5182f6606843392d6fae8b9f07c5f2e46
2017-06-28 11:22:44 -07:00
jackqdyulei
a8957e15cc Update the UI for battery header
1. Make battery icon align to the end and make text layout
take all the other space.
2. Update the spec based on red line.

Bug: 63037934
Test: Screenshot
Change-Id: I1adbf5ce3e54712cbdc276db2357c7a24b48fe65
2017-06-28 10:29:01 -07:00
TreeHugger Robot
c343993be3 Merge "Improve delete fingerprint UI." 2017-06-27 20:27:49 +00:00
Andrew Sapperstein
dd1dc22dcc Merge "Search results page polish" into oc-dr1-dev am: 692a4b5514
am: a35b49a17d

Change-Id: I74370bad4f49ad1e9464e377057b5aebc74696aa
2017-06-27 18:59:35 +00:00
Maurice Lam
1dfd5b8f49 Merge "Rename buttons in lock screen setup" into oc-dr1-dev am: fbfca43e6e
am: 57e61ba4f3

Change-Id: Id070948b2fb600509c0b62f02d4189b4c00c504e
2017-06-27 18:55:20 +00:00
Maurice Lam
d059e293fa Merge "Update skip button label to "Do it later"" into oc-dr1-dev am: b97f91c971
am: 467f39d243

Change-Id: Ibcb63391115160778939577fd7d34f6b84a77b49
2017-06-27 18:54:57 +00:00
Maurice Lam
02a370653c Merge "Add skip button to fingerprint enrolling screen" into oc-dr1-dev am: 624212f43c
am: a3eb263479

Change-Id: Ibe7045461c17aaf3b761f746bac2a596b9e7e2a0
2017-06-27 18:54:33 +00:00
Maurice Lam
e765be44d6 Merge "Update buttons in FP find sensor" into oc-dr1-dev am: a102714c19
am: 2cc641940d

Change-Id: If6155441bff70cd30160619cdd5a61d6fe562cec
2017-06-27 18:53:48 +00:00
Fan Zhang
8a1fd388fd Improve delete fingerprint UI.
- Make fingerprint preference use two_target preference
- And add a delete button as secondary target
- Remove delete fingerint code from RenameDeleteDialog, and move to new
  DeleteFingerprintDialog
- Some code cleanup
- Tests

Change-Id: I49d9c7d1d03497f07c7e20a805f23e6da934f587
Fix: 37783186
Test: make RunSettingsRoboTests
2017-06-27 11:33:23 -07:00
TreeHugger Robot
692a4b5514 Merge "Search results page polish" into oc-dr1-dev 2017-06-27 16:53:54 +00:00
TreeHugger Robot
326c91c8b5 Merge "Show IMSI in RadioInfo." 2017-06-27 16:23:38 +00:00
TreeHugger Robot
3b7ed7ae65 Merge "Dashboard search bar polish" into oc-dr1-dev 2017-06-27 02:28:26 +00:00
Maurice Lam
fbfca43e6e Merge "Rename buttons in lock screen setup" into oc-dr1-dev 2017-06-27 01:10:49 +00:00
Maurice Lam
b97f91c971 Merge "Update skip button label to "Do it later"" into oc-dr1-dev 2017-06-27 01:10:37 +00:00
Maurice Lam
624212f43c Merge "Add skip button to fingerprint enrolling screen" into oc-dr1-dev 2017-06-27 01:10:23 +00:00
Maurice Lam
a102714c19 Merge "Update buttons in FP find sensor" into oc-dr1-dev 2017-06-27 01:10:10 +00:00
Andrew Sapperstein
ab0c049bc2 Search results page polish
Changes made:
- up button added and in correct place
- text color correct when entering query
- query text aligned with results
- grey background around searchbar

Fixes: 37477506
Test: robotests
Change-Id: Ieb135f81f684032f3d5e4102304e617088c88117
2017-06-26 17:19:53 -07:00
Andrew Sapperstein
40be7df5df Dashboard search bar polish
Various tweaks to match redlines:
- background is now grey all the time
- the search icon is aligned with the other icons
- the title text is primary colored instead of accent colored
- the background of search bar doesn't scroll anymore

Deletes a bunch of logic to add an initial view that would be
colored based on the first view. It never quite worked right.
Now it's consistent and never moves.

Bug: 37477506
Fixes: 62267378
Fixes: 62379978
Fixes: 62361213
Test: robotests
Change-Id: Iddfd45a64a0a8d0365397a207889d7225d1ebb70
Merged-In: I82c584e8f8ecc6fc298c5cdbce08516c6a069a39
2017-06-26 10:28:49 -07:00
Andrew Sapperstein
c217464dca Dashboard search bar polish
Various tweaks to match redlines:
- background is now grey all the time
- the search icon is aligned with the other icons
- the title text is primary colored instead of accent colored
- the background of search bar doesn't scroll anymore

Deletes a bunch of logic to add an initial view that would be
colored based on the first view. It never quite worked right.
Now it's consistent and never moves.

Bug: 37477506
Change-Id: I82c584e8f8ecc6fc298c5cdbce08516c6a069a39
Fixes: 62267378
Fixes: 62379978
Fixes: 62361213
Test: robotests
2017-06-26 10:08:44 -07:00
Maurice Lam
c57b19d80c Rename buttons in lock screen setup
- "Continue" in choose lock flows are renamed to "Next"
- "Done" in fingerprint enroll finish screen is renamed to "Next"
  during setup flow.

Test: Manual
Bug: 62839648
Change-Id: I3ea77b759b654d7c1da1f7b545781c9dfd74caa3
2017-06-23 19:15:06 -07:00
Maurice Lam
d342ad4878 Update skip button label to "Do it later"
Test: Manual
Bug: 62839648
Change-Id: I3616fb8095eb1ca77798d45730a1ffcda8f542a4
2017-06-23 18:55:50 -07:00
Maurice Lam
870b69b067 Add skip button to fingerprint enrolling screen
Test: Manual
Bug: 62839648
Change-Id: I3f05c64eb5b88cd91c8c98b02845a99df2d27203
2017-06-23 18:48:13 -07:00
Maurice Lam
70a031fe06 Update buttons in FP find sensor
Remove the next button (so the user has to touch the sensor to
proceed), and add a skip button.

Test: cd tests/robotests && mma
Bug: 62839648
Change-Id: I555948ac2f3235e08b91f0957aa8e0ce24535c08
2017-06-23 18:05:20 -07:00
Meng Wang
9053f17b81 Show IMSI in RadioInfo.
Needs to know IMSI in some carrier testing.

Test: manual
Change-Id: I020fc0806a65abfa6af43a512c814ea0aa562b88
2017-06-23 23:04:09 +00:00
Maurice Lam
2e44cb0f17 Add fingerprint backup message am: d793590678
am: d396208233

Change-Id: I857fd458c046fa053000f7b41280310ce73f73f1
2017-06-23 20:53:41 +00:00
Maurice Lam
d793590678 Add fingerprint backup message
Test: Manual
Bug: 62844631
Change-Id: I7ce5fd4033c9f37f7aa170750edc7ffe0b583fcf
2017-06-23 11:33:41 -07:00
TreeHugger Robot
9b00e0ca8d Merge "Update entity header to match mock" 2017-06-21 23:52:39 +00:00
Fan Zhang
ab55528e5a Update entity header to match mock
- Also add a small screen width version

Change-Id: I284561cd713d8382845db02c163983623cede038
Fix: 62709577
Test: existing tests still pass
2017-06-21 15:13:31 -07:00
Daniel Nishi
b6360d932b Merge "Don't accordion the progress bar out." into oc-dr1-dev am: 648e31c283
am: 7ffa9b3a7b

Change-Id: If196b0729631c0817113e53b5126fc30b75c2833
2017-06-21 18:28:53 +00:00
Daniel Nishi
648e31c283 Merge "Don't accordion the progress bar out." into oc-dr1-dev 2017-06-21 18:21:20 +00:00
Salvador Martinez
759fab17a4 Merge "Add info string to advanced battery usage page" into oc-dr1-dev am: 94d0a9c554
am: 776fe841f9

Change-Id: I9f3005e2ad9dbfde4c703c509e798e5292b8a1cb
2017-06-21 17:11:47 +00:00
Salvador Martinez
94d0a9c554 Merge "Add info string to advanced battery usage page" into oc-dr1-dev 2017-06-21 17:02:32 +00:00
Salvador Martinez
cbefbc261f Add info string to advanced battery usage page
This CL adds an FYI string under the battery graph to let users
know that their current estimate is coming from the enhanced
estimate provider when it is enabled.

Test: Robotests
Bug: 38399654
Change-Id: If5cd622ef0251a5a483cef870fc2261369e14845
2017-06-20 18:37:49 -07:00
Daniel Nishi
4afc3f2951 Don't accordion the progress bar out.
This stops an animation from triggering on the storage settings screen
when entering it. Because we don't load the screen until data has
loaded, we run no risk of showing an uninitialized progress bar. Thus,
we can just always show the progress bar.

Change-Id: I31814a12b9c39a33fa0fbbc4826eb4138cf09a74
Fixes: 62549522
Test: Manual
2017-06-20 13:56:04 -07:00
Maurice Lam
d9b04ab360 Merge "Align fingerprint illustration size" into oc-dr1-dev am: 3065eeff42
am: 84f1031a62

Change-Id: Ib537e8cd499806660673f656f22c1a3da40d5b74
2017-06-20 20:11:29 +00:00
Maurice Lam
3065eeff42 Merge "Align fingerprint illustration size" into oc-dr1-dev 2017-06-20 19:56:50 +00:00
Maurice Lam
a57730aa57 Align fingerprint illustration size
Test: Manual
Bug: 62677095
Change-Id: I352bf5e20f4ce254d0777dfd544f4604f5c86dcb
2017-06-16 21:34:34 -07:00