Commit Graph

17240 Commits

Author SHA1 Message Date
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
Amin Shaikh
f1cf5a684f Merge "Create TintDrawable in Settings." into qt-dev am: c4e7cf594c
am: 900d8c9e12

Change-Id: Ia7d264a229cf2d0d8e65091e604bb24680676857
2019-04-16 08:38:38 -07:00
Fan Zhang
60fd2efb96 Merge "Update switchbar background color in disabled state." into qt-dev
am: cae16fa07b

Change-Id: I36d4bbb7b4538271f25d374572094c877a200174
2019-04-16 08:32:38 -07:00
Amin Shaikh
900d8c9e12 Merge "Create TintDrawable in Settings." into qt-dev
am: c4e7cf594c

Change-Id: I8a04a3924d17712b17798109b418c0d4748cf737
2019-04-16 08:28:24 -07:00
Fan Zhang
cae16fa07b Merge "Update switchbar background color in disabled state." into qt-dev 2019-04-16 15:19:25 +00:00
TreeHugger Robot
c4e7cf594c Merge "Create TintDrawable in Settings." into qt-dev 2019-04-16 15:16:26 +00:00
Cyril Lee
80d2a3274c The labels of button in Wi-Fi input and "skip screen lock" dialog doesn't apply GlifV3 style
Wi-Fi dialog
https://hsv.googleplex.com/6008335912402944

"Skip screen lock?" dialog
https://hsv.googleplex.com/6299831188324352

Bug: b/112707845
Test: manual test
Change-Id: I27f747268991240faa0970ca4be4ca472f24338f
2019-04-16 11:51:02 +00:00
Felipe Leme
8987213cfc Merge "Change Content Capture strings." into qt-dev am: d51e020cc6
am: aba152b7ef

Change-Id: I88dc9a29f69ced429ff83396200e28c7c730fe4c
2019-04-15 22:51:45 -07:00
Alex Salo
27fe74d87b Merge "Rename screen aware into screen attention" into qt-dev am: ad4483c2a2
am: 6f0624a025

Change-Id: I7fb0b4d01eb2f5d67ee4eabd47fe31d6ac10bd13
2019-04-15 22:38:40 -07:00
Pasty Chang
88569d3469 Merge "Set WifiDialog to light theme in setup flow" into qt-dev am: 997128ee91
am: 686fe46e78

Change-Id: If4070e54092b8e122f937676af39d8dc4dcf4aa6
2019-04-15 22:36:41 -07:00
Felipe Leme
aba152b7ef Merge "Change Content Capture strings." into qt-dev
am: d51e020cc6

Change-Id: I56610c79cc69f2064e231ffdbbe5d5fa50cc4ed8
2019-04-15 22:08:33 -07:00
Fan Zhang
5a9173f5ca Merge "Clean up DND slice in search." into qt-dev am: 12ee53f122
am: e2a3670672

Change-Id: I15691e0657ef0e7f54f7b3bce35aeff3dd8f4a9e
2019-04-15 21:56:52 -07:00
Felipe Leme
d51e020cc6 Merge "Change Content Capture strings." into qt-dev 2019-04-16 04:51:24 +00:00
Alex Salo
6f0624a025 Merge "Rename screen aware into screen attention" into qt-dev
am: ad4483c2a2

Change-Id: I2f20adc1ecfec076a82c5d3f110986a9812ccc7d
2019-04-15 20:56:13 -07:00
Pasty Chang
686fe46e78 Merge "Set WifiDialog to light theme in setup flow" into qt-dev
am: 997128ee91

Change-Id: Idef21e3f81305fc79de860836d617f041e6353e0
2019-04-15 20:45:25 -07:00
Fan Zhang
e2a3670672 Merge "Clean up DND slice in search." into qt-dev
am: 12ee53f122

Change-Id: Idfa60999ed1202bab9f6f9a737f461f0bbb2e39f
2019-04-15 20:43:50 -07:00
TreeHugger Robot
ad4483c2a2 Merge "Rename screen aware into screen attention" into qt-dev 2019-04-16 03:17:50 +00:00
Pasty Chang
997128ee91 Merge "Set WifiDialog to light theme in setup flow" into qt-dev 2019-04-16 02:53:29 +00:00
Salvador Martinez
ef7ce46657 Change dark theme screen to toggle
The dark theme screen has been removed in favor of a simple
toggle with a dialog that shows up the first time a user
tries to enable dark theme when in light theme.

Test: robotests pass
Bug: 130251804
Change-Id: I48f8e24a2b2a117e5a8054c5bc0b240ba68fe1ad
2019-04-15 19:52:49 -07:00
Fan Zhang
12ee53f122 Merge "Clean up DND slice in search." into qt-dev 2019-04-16 02:50:10 +00:00
Mill Chen
13568b6301 Fix wrong color for rippleColor
Fixes: 130328361
Test: visual
Change-Id: Ia72387d3208f3884af229b5de33d0ca675db0213
2019-04-15 15:18:39 -07:00