Commit Graph

17560 Commits

Author SHA1 Message Date
TreeHugger Robot
bb00e4c028 Merge "[PasspointV2] Set summary of saved networks preference" into qt-dev 2019-04-18 00:58:22 +00:00
Fan Zhang
62b8d64bbc Merge "Remove on/off subtext from gesture preferencecontrollers" into qt-dev
am: f6f4ae6e1c

Change-Id: I3961ec0da3fb934d581e26c34ef4136d26b28417
2019-04-17 17:54:37 -07:00
Selim Cinek
9f374307c5 Merge "Updated strings for dynamic privacy" into qt-dev 2019-04-18 00:42:55 +00:00
TreeHugger Robot
f6f4ae6e1c Merge "Remove on/off subtext from gesture preferencecontrollers" into qt-dev 2019-04-18 00:29:33 +00:00
Alex Salo
18cc79af29 Finalize the adaptive sleep icon
Bug: 129352433
Test: manually

Change-Id: I00cf2e5e7e8a9ebd60d9aa4e9047c9cd04ec16c7
2019-04-17 17:16:00 -07:00
Fan Zhang
57f18af554 Remove on/off subtext from gesture preferencecontrollers
The toggle switch next to the subtitle already shows on/off clearly.

Fixes: 130652619
Fixes: 130652843
Fixes: 130653459
Fixes: 130653297
Test: robo
Change-Id: Ib2396575bbc69a7cca5e9c90e113c76ff6db00b5
2019-04-17 23:49:25 +00:00
joshmccloskey
9c5669b802 Merge "Updated ConfirmDeviceCredential strings" into qt-dev
am: f90c24d194

Change-Id: I37c1da95d23cb91127ccaf7e9f3b792737457124
2019-04-17 15:25:57 -07:00
TreeHugger Robot
ff7f14a966 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-17 21:34:14 +00:00
TreeHugger Robot
f90c24d194 Merge "Updated ConfirmDeviceCredential strings" into qt-dev 2019-04-17 21:13:41 +00:00
Kevin Chyn
6deedd0bf3 Tweak enrollment intro layout
Bug: 130740447

Test: Builds
Change-Id: If3b4ad795588586dcd6fb848bee213df0ae1095e
2019-04-17 13:44:03 -07:00
Alex Salo
63c393c907 Add correct animation
Bug: 129352433
Test: manually
Change-Id: I381059203c477407297765936e48271519852f56
2019-04-17 12:29:33 -07:00
Selim Cinek
3561c3f2b8 Updated strings for dynamic privacy
In the new world redacted content is also
revealed with smart lock.

Bug: 130227087
Test: observe strings
Change-Id: I69ad8fab65dde5be405d47c4426bee52b0911383
2019-04-17 11:45:02 -07:00
Maurice Lam
54c153f786 Merge "Update strings for the title of lock screen skip dialog" into qt-dev am: 47bea2d483
am: 2cc2b29b3e

Change-Id: Ia890c0d00cb5c3b1dea848f60a651a529d6753fa
2019-04-17 11:41:05 -07:00
Yanting Yang
7202145b25 Merge "Update summary lines of half condition card" into qt-dev am: 06ada5b1b1
am: fba33258a2

Change-Id: If68a30ccbaa523f24927dd9e5de6e21cea6a543f
2019-04-17 11:30:29 -07:00
Maurice Lam
2cc2b29b3e Merge "Update strings for the title of lock screen skip dialog" into qt-dev
am: 47bea2d483

Change-Id: Ib994b45088365d8304af4d78ee53c0dce4c643b1
2019-04-17 10:46:35 -07:00
Yanting Yang
fba33258a2 Merge "Update summary lines of half condition card" into qt-dev
am: 06ada5b1b1

Change-Id: I999f104cef24b2801e07c9379fdc1dd0e9e3fd63
2019-04-17 10:36:52 -07:00
Maurice Lam
47bea2d483 Merge "Update strings for the title of lock screen skip dialog" into qt-dev 2019-04-17 17:29:49 +00:00
Yanting Yang
14a3a117be Update summary lines of half condition card
To optimize the visual design for regular font size in summary field.

Fixes: 130588679
Test: visual

Change-Id: I89142f403646139b150f38b70b52b0d7b36fed9e
2019-04-17 19:55:43 +08:00
cosmohsieh
e6e4b4d78d [PasspointV2] Set summary of saved networks preference
Summary text of "saved networks" preference has number of both normal
networks and subscriptions

Bug: 130259573
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.WifiSettingsTest
Change-Id: I8bdf41c1a85165298a2ccd9e688c30b0bd593bfa
2019-04-17 18:21:09 +08:00
Mill Chen
5d0f4efcfa Merge "Add subtitle for Do not disturb" into qt-dev am: cf9b3d2e87
am: 8350576f01

Change-Id: I1f62873cb3c07a01399548ed2351ca14c889669b
2019-04-17 02:21:51 -07:00
Mill Chen
8350576f01 Merge "Add subtitle for Do not disturb" into qt-dev
am: cf9b3d2e87

Change-Id: I60ec7bc78b4cf6a429c6e0ccdb3b092431e0a72b
2019-04-17 02:16:51 -07:00
TreeHugger Robot
cf9b3d2e87 Merge "Add subtitle for Do not disturb" into qt-dev 2019-04-17 09:08:17 +00:00
Mill Chen
de836c1383 Merge "Fix wrong color for rippleColor" into qt-dev am: 7cc1469bb6
am: 5d5a65ab5b

Change-Id: Id25d365a653ac3f2783d957910de69194d63a3e9
2019-04-17 01:56:44 -07:00
Mill Chen
5d5a65ab5b Merge "Fix wrong color for rippleColor" into qt-dev
am: 7cc1469bb6

Change-Id: I62a21a22ddd5a3778607a012213bdc923e1fee72
2019-04-17 01:51:43 -07:00
TreeHugger Robot
7cc1469bb6 Merge "Fix wrong color for rippleColor" into qt-dev 2019-04-17 08:46:46 +00:00
Kevin Chyn
302fb5ac70 Merge "Fix string comment" into qt-dev am: f93ca46ea7
am: 1dd4eb81c6

Change-Id: If13ce98f471912e3d444a6462733bc5e62687c32
2019-04-16 23:03:31 -07:00
Cyril Lee
0e19b3aac0 Merge "The labels of button in Wi-Fi input and "skip screen lock" dialog doesn't apply GlifV3 style" into qt-dev am: a60def7db7
am: e40d4097a0

Change-Id: I2f3eb7addaa929837cfb2d27b58f417441cac53d
2019-04-16 22:54:25 -07:00
Bill Yi
482e8d91f9 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I83441773fc8063c0488fe90230b39ad0ff01f0d5
2019-04-16 22:49:49 -07:00
Kevin Chyn
1dd4eb81c6 Merge "Fix string comment" into qt-dev
am: f93ca46ea7

Change-Id: Ieaa2e8600b3272e733e7ba68ee1c109c7d9e63d1
2019-04-16 21:27:05 -07:00
Pasty Chang
ee38c9bc1c Update strings for the title of lock screen skip dialog
First letter should be lowercase

Bug: 129870122
Test: Manual
Change-Id: If6ed383cccf56007691ca24d02919b41f1c69281
2019-04-17 04:16:24 +00:00
Cyril Lee
e40d4097a0 Merge "The labels of button in Wi-Fi input and "skip screen lock" dialog doesn't apply GlifV3 style" into qt-dev
am: a60def7db7

Change-Id: I4fd7a6fd6c52fad63c9ddf1bfb5f6f57f047f510
2019-04-16 21:06:42 -07:00
TreeHugger Robot
f93ca46ea7 Merge "Fix string comment" into qt-dev 2019-04-17 03:36:26 +00:00
Cyril Lee
a60def7db7 Merge "The labels of button in Wi-Fi input and "skip screen lock" dialog doesn't apply GlifV3 style" into qt-dev 2019-04-17 03:20:29 +00:00
Kevin Chyn
bf121dd46b Fix string comment
Bug: 130642861

Test: Builds
Change-Id: Ib889b1a69b5225579ffad6f63b0d98ded9841614
2019-04-16 17:02:17 -07:00
Linda Tseng
f99fb5cf55 Merge "Add entry animation to Settings Panels." into qt-dev am: 71df263db9
am: 668055d8e5

Change-Id: I3b5a8ce057489f04e8d31e0c36f2a09ee4e5e51b
2019-04-16 15:19:56 -07:00
joshmccloskey
a104d290de Updated ConfirmDeviceCredential strings
Test: Verified with BiometricPromptdemo that pin/pattern/pass
show up correctly.
Fixes: 129797243
Change-Id: Ib075d6742f7e2ad03e491132ae9506dce67558fc
2019-04-16 14:19:29 -07:00
Linda Tseng
668055d8e5 Merge "Add entry animation to Settings Panels." into qt-dev
am: 71df263db9

Change-Id: I29a61b38bb5cebcb5b481f5a3df0ac627765666b
2019-04-16 13:51:55 -07:00
Salvador Martinez
1a9366230e Merge "Change dark theme screen to toggle" into qt-dev am: 3b8a0b82bf
am: 5e44955e57

Change-Id: Idb758684de33442e61dc36b78a5e0fc6677a5973
2019-04-16 13:31:50 -07:00
Fan Zhang
d0bcf2b452 Merge "Revert "Fix voice access issue on home page"" into qt-dev am: b298e2ae6c
am: ca374718ca

Change-Id: I353c12575f01657f6c11471aecf3850f061d5585
2019-04-16 12:55:11 -07:00
Salvador Martinez
5e44955e57 Merge "Change dark theme screen to toggle" into qt-dev
am: 3b8a0b82bf

Change-Id: I5d13eac9e99d47cc591eed30de6e739a826d4a54
2019-04-16 12:15:34 -07:00
Fan Zhang
ca374718ca Merge "Revert "Fix voice access issue on home page"" into qt-dev
am: b298e2ae6c

Change-Id: Id63b69f12332ec096058c8e2fa29de8b90a406ac
2019-04-16 11:59:52 -07:00
Linda Tseng
71df263db9 Merge "Add entry animation to Settings Panels." into qt-dev 2019-04-16 18:57:47 +00:00
Fan Zhang
d88b0be3da Merge "Use android:attr for display font preview layout background" into qt-dev am: 75691d29ef
am: 9a5481d749

Change-Id: I9c92e25466c8e63c0665daa92f39f14861e3f749
2019-04-16 11:29:35 -07:00
TreeHugger Robot
3b8a0b82bf Merge "Change dark theme screen to toggle" into qt-dev 2019-04-16 18:16:54 +00:00
TreeHugger Robot
b298e2ae6c Merge "Revert "Fix voice access issue on home page"" into qt-dev 2019-04-16 18:02:26 +00:00
Fan Zhang
9a5481d749 Merge "Use android:attr for display font preview layout background" into qt-dev
am: 75691d29ef

Change-Id: Ia1f82405eb25ce5149401a0f5999d8f298ae97ad
2019-04-16 10:48:48 -07:00
TreeHugger Robot
75691d29ef Merge "Use android:attr for display font preview layout background" into qt-dev 2019-04-16 17:05:43 +00:00
Matthew Fritze
b6fdd25c23 Add entry animation to Settings Panels.
Settings Panels as a dialog have a default animation for entering the
screen, but Slices complicate the animation. While the dialog enters the
screen, Slices begin to bind, thus changing the height of the dialog as
it enters, causing perceived bounce / jank in the animation.

This CL is cherry-picked/based on ag/6671083 but do the following modification:
(See the original commit message for the whole concept)

When trying to load all the Slices, there are few possible situations:
1. Slice starts loading slowly, starting at state LOADED_NONE
2. Slice is loading in progress, having state LOADED_PARTIAL
3. Slice is loaded, but there's error return from the Slice data (We don't
need to show the Slice in this case)
4. Slice is loaded, progress to state LOADED_ALL
5. Slice starts from state LOADED_NONE, but never progress to the next state
because it crashes at setting backend.

Notice that there are two cases that the state will stay at LOADED_NONE and
we can't distinguish them.

Hence, we decide to do the following:

If Slice is with error (case 3) we remove the slice from the list and mark it
loaded.

If Slice is loaded with LOADED_ALL (case 4, which is the ideal case), we mark
it as loaded.

In the other cases, we fire a handler to mark the slice loaded anyway after
250ms timeout.

When all the slices are marked loaded (which should happen after 250ms timeout,
we will animate the panel out.  Although there might be slices which are still
partial loaded, we can still have the slice in the panel once it is ready.
The panel might bounce/jank in this case, but at least it will still showing
correctly, and should show up smoothly in most cases.

The solution to this problem is twofold:
1. Load all Slices first
2. Create a custom animation to draw the panel once the recyclerview has
been laid out.

Test: Manual/Visual inspection
Test: make -j40 RunSettingsRobotests
Bug: 123942159

Change-Id: I639a707aa4ba3f906bd6f9752c92727aaba28142
2019-04-16 16:29:04 +00:00
Fan Zhang
22f3944432 Revert "Fix voice access issue on home page"
This reverts commit 0f3049d4b7.

Reason for revert: b/129456622
Fixes: 129456622
Test: rebuild

Change-Id: Ic883722a9ebe6a2905067dc9cc503c9878acd2fc
2019-04-16 09:27:49 -07:00
Fan Zhang
2be848029b Merge "Update switchbar background color in disabled state." into qt-dev am: cae16fa07b
am: 60fd2efb96

Change-Id: Id0808d7abfc2923d6d95894ecd780022d691d76b
2019-04-16 08:43:59 -07:00