Commit Graph

32489 Commits

Author SHA1 Message Date
Doris Ling
4245ad4771 Ensure that the gesture animation video is paused properly.
Add the handling to pause the animation video when user navigates away
from the gesture settings.

Test: Manual - play gesture animation videos, then switch to another app
in recents. Verifies from logcat that NuPlayerDriver is not active.
Fix: 32064123

Change-Id: I3d0fb3946e4d0d77a686aa97cfabe667862cac17
2016-10-21 14:28:54 -07:00
Lei Yu
751e0b0f20 Merge "Elicit ItemsData class and add DiffUtil.Callback" 2016-10-21 20:52:18 +00:00
Fan Zhang
cdacd1df9a Add initial preferences to App&Notification screen.
Bug: 31799948
Test: manual
Change-Id: I93f9d6562f51d37fcd78bada2f7c37d6b16daabb
2016-10-21 12:57:48 -07:00
jackqdyulei
0b818b79db Elicit ItemsData class and add DiffUtil.Callback
In the previous version, when there is a minor change in data, we
will refresh the whole screen(and data) by invoking "recountItems"
and "notifyDataSetChanged", which did lots of unnecessary works.

In this new cl, I elicit ItemsData class, which encapsulates the list
data used in adapter. When data changed, I build another ItemsData and
use the DiffUtil.Callback to calculate diffs between ItemsDatas. In
this way we can only refresh the items that changed in adapter.

Since I cannot find usage of see_all.xml anymore, I delete the relevant
code as well as the resource files.

Bug: 30319913
Test: make RunSettingsRoboTests
Change-Id: I4f753a26f624affea6c6c35d49cfb9c43fb74fe6
2016-10-21 11:02:29 -07:00
Matthew Fritze
7dde4cce0c Merge "Support tile title text line wraps" into nyc-mr1-dev am: f5cd60372c am: 2da1ca120f
am: 1f8073efb9

Change-Id: I91e3c33f75a3879eb8b6832bd871909969538c1b
2016-10-21 16:54:09 +00:00
Matthew Fritze
78e5162dcb Support tile title text line wraps am: 0f813d668d am: 0e0e6c5544
am: 86c8b2a1a5

Change-Id: I37e3c11aaa2f8fdd59b3f6e9a963c55661b81849
2016-10-21 16:53:52 +00:00
Matthew Fritze
1f8073efb9 Merge "Support tile title text line wraps" into nyc-mr1-dev am: f5cd60372c
am: 2da1ca120f

Change-Id: Ic447e8fbf664140f2580c4898e2a0b6618585543
2016-10-21 16:46:00 +00:00
Matthew Fritze
86c8b2a1a5 Support tile title text line wraps am: 0f813d668d
am: 0e0e6c5544

Change-Id: I81fa4356f76b2693eca95ff5c79c6168a68ffd64
2016-10-21 16:45:40 +00:00
Matthew Fritze
2da1ca120f Merge "Support tile title text line wraps" into nyc-mr1-dev
am: f5cd60372c

Change-Id: Ie0d699bcc355519060df04b46b213ce368e47e6a
2016-10-21 16:36:20 +00:00
Matthew Fritze
0e0e6c5544 Support tile title text line wraps
am: 0f813d668d

Change-Id: I47a4f7f95f0bce43a55e661209d48142f82e5b42
2016-10-21 16:36:19 +00:00
TreeHugger Robot
f5cd60372c Merge "Support tile title text line wraps" into nyc-mr1-dev 2016-10-21 16:30:50 +00:00
TreeHugger Robot
b52d376859 Merge "Add preupload to Settings." 2016-10-21 02:41:19 +00:00
Matthew Fritze
0f813d668d Support tile title text line wraps
Change-Id: Ice430d03877618aacad21e5ee6167516f60f02fd
Fixes: 32239411
Test: Manual
2016-10-20 17:50:11 -07:00
Philip P. Moltmann
50b3488d0d Add preupload to Settings.
Test: Uploaded
Change-Id: I454df2797ac7314060646c66c6caf2538d36b1d0
2016-10-20 17:22:33 -07:00
Maurice Lam
67df126291 [Fingerprint] Make enroll progress bar scalable
Make the fingerprint enroll progress bar scalable by moving it to a
single FingerprintProgressBar view and make it fill the remaining
space.

- The background fingerprint icon was changed to include the padding
internally so it can be added as the background directly onto the
progress bar view.
- The icon in landscape mode is also fixed to use the fingerprint
icon rather than the lock icon.

Test: cd tests/robotests && mm
Bug: 32123370
Change-Id: Ia5cf37d92f0af7c1cf39287f5070c44f51d44878
2016-10-20 17:20:56 -07:00
TreeHugger Robot
1589461db9 Merge "Add empty page for App & Notifications" 2016-10-21 00:20:14 +00:00
Lei Yu
2aeb28c020 Merge "Set stay awake while wireless charging." 2016-10-20 23:33:11 +00:00
Lei Yu
9d17446dd2 Merge "Move scrollview to be the parent view." 2016-10-20 23:03:15 +00:00
Fan Zhang
f37be6a859 Add empty page for App & Notifications
Bug: 31799948
Test: manual
Change-Id: Iaab1a5988af30504d4e34ff4f63ae69e86b70f27
2016-10-20 15:20:11 -07:00
Fan Zhang
6c52795691 Merge "Fix help & feedback link in data usage summary screen." into nyc-mr1-dev am: 08254e5b4f am: 723fbd06a9
am: b04bd44378

Change-Id: I433323262f8b3032a8e1588c9f032d9c005b9271
2016-10-20 20:42:12 +00:00
Fan Zhang
a321946ac8 Fix help & feedback link in data usage summary screen. am: 9b52836251 am: 7568e120cf
am: dd387b6739

Change-Id: I7e8d85bcc2c599c61b3739f445756681b22a1ea8
2016-10-20 20:41:55 +00:00
Fan Zhang
b04bd44378 Merge "Fix help & feedback link in data usage summary screen." into nyc-mr1-dev am: 08254e5b4f
am: 723fbd06a9

Change-Id: Ief7d0f6e9d90c34f8b9405d4d13c4080f669c15c
2016-10-20 20:34:04 +00:00
Fan Zhang
dd387b6739 Fix help & feedback link in data usage summary screen. am: 9b52836251
am: 7568e120cf

Change-Id: If7768bdf34204ca158dcf7e2078826a0aabc2ec7
2016-10-20 20:33:51 +00:00
jackqdyulei
13bf790604 Move scrollview to be the parent view.
In this cl, scroll view was moved to be the parent view for the
entire UI rather than only for a subset.

Bug: 32009766
Test: visual
Change-Id: I9aa8bb88cb39e1ca51737ec88640cc08910c4aef
2016-10-20 13:25:52 -07:00
Fan Zhang
723fbd06a9 Merge "Fix help & feedback link in data usage summary screen." into nyc-mr1-dev
am: 08254e5b4f

Change-Id: Ia9c30a0a03a1dcaec42573c3578f5a1ed80aa9b6
2016-10-20 20:25:38 +00:00
Fan Zhang
7568e120cf Fix help & feedback link in data usage summary screen.
am: 9b52836251

Change-Id: I1417eebbf5218baa24a79f2f1988844b8d06d674
2016-10-20 20:25:37 +00:00
TreeHugger Robot
08254e5b4f Merge "Fix help & feedback link in data usage summary screen." into nyc-mr1-dev 2016-10-20 20:18:44 +00:00
TreeHugger Robot
1ec79681de Merge "Make dashboard tile refresh more effcient." 2016-10-20 19:03:28 +00:00
jackqdyulei
4a1f8a76f3 Use layout weight attr and scrollview in lock pattern screen.
General idea is to stop UI distortion when display size set to
largest. Use layout weight to distribute space by ratio, and use
scroll view to wrap "title and summary" layout in case display
size are too large to display.

Bug: 32057149
Test: Visual

Change-Id: Ie800e4c5e98f6bbd699395168cfc228f8b65ac7f
2016-10-20 10:51:15 -07:00
Fan Zhang
a1a84e6530 Make dashboard tile refresh more effcient.
Instead of removing and re-adding all dashboard tiles, figure out a diff
and rebind/add/remove as necessary.

Bug: 32255863
Test: RunSettingsRoboTests
Change-Id: I9d87ba30ab746257d0ea71282951348ebc4e8965
2016-10-20 09:52:01 -07:00
Bill Yi
1d3085685b Import translations. DO NOT MERGE am: 4bfccb32a7 -s ours am: 4559d2bfac -s ours am: d0c5d246c8 -s ours
am: 871fd84ab3  -s ours

Change-Id: Id56b66ff193ce4a462f1e848a3ca5b5d4f8924eb
2016-10-20 16:49:59 +00:00
Bill Yi
871fd84ab3 Import translations. DO NOT MERGE am: 4bfccb32a7 -s ours am: 4559d2bfac -s ours
am: d0c5d246c8  -s ours

Change-Id: Ic8230d57c512c2ccbc54be5061caac490bcbe6d4
2016-10-20 16:41:12 +00:00
Bill Yi
a778addbc3 Import translations. DO NOT MERGE am: 7e6e9220da -s ours am: d5bc80036b -s ours
am: e41b0705ee  -s ours

Change-Id: I28d4997cde7ae4552ff935ff6c02b408c45b87b9
2016-10-20 16:33:26 +00:00
Bill Yi
d0c5d246c8 Import translations. DO NOT MERGE am: 4bfccb32a7 -s ours
am: 4559d2bfac  -s ours

Change-Id: Iff8ca804ae251a0462f148a236e7b4e8c9dd3e4d
2016-10-20 16:33:20 +00:00
Bill Yi
4559d2bfac Import translations. DO NOT MERGE
am: 4bfccb32a7  -s ours

Change-Id: I7c16649111b0057307773f7674c11c1aa9732c4c
2016-10-20 16:25:35 +00:00
Bill Yi
e41b0705ee Import translations. DO NOT MERGE am: 7e6e9220da -s ours
am: d5bc80036b  -s ours

Change-Id: I147e0e6546f7d367ff81d45bc66e7829bcf45267
2016-10-20 16:25:23 +00:00
Bill Yi
d5bc80036b Import translations. DO NOT MERGE
am: 7e6e9220da  -s ours

Change-Id: Ibe7e7a4797602978d09a44aab39f49045f029748
2016-10-20 16:17:21 +00:00
Fan Zhang
9b52836251 Fix help & feedback link in data usage summary screen.
The fragment was not providing the correct string for help & feedback
button, causing no result page when user navigates to help article page
from actionbar overflow menu.

Change-Id: I076846c44d4fc95efea743f019a7ad4aab47f214
Fixes: 32291069
Test: manual
2016-10-20 09:13:36 -07:00
Bill Yi
4bfccb32a7 Import translations. DO NOT MERGE
Change-Id: I2490d08d85215767e05bf193c3e352c3ab7a7ce9
Auto-generated-cl: translation import
2016-10-20 07:52:52 -07:00
Bill Yi
7e6e9220da Import translations. DO NOT MERGE
Change-Id: I60964278429db5003b317b04e53324fc312116d5
Auto-generated-cl: translation import
2016-10-20 07:48:07 -07:00
Bill Yi
1f0e87e38c Import translations. DO NOT MERGE
Change-Id: I753a2e09eb3df00ea60b8fbe761e78b407f5a043
Auto-generated-cl: translation import
2016-10-20 07:40:28 -07:00
Andrew Scull
27ca263b7f Use PasswordMetrics to remove duplicated code.
Bug: 30558331
Test: manual
Change-Id: I832a0279d39dbe9900b284abd745d4cc40946a48
2016-10-20 15:13:44 +01:00
Anna Galusza
1a0343c0b1 Merge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev am: ee502d5037 am: b104675957
am: d3bb66c47a

Change-Id: I4f998f93f2fca553656f1738f95d62ec28275b6c
2016-10-20 03:57:15 +00:00
Anna Galusza
34cebb88fd Fix insufficint contrast on Vision Settings toggles. am: e212817785 am: 5bf1f668ff
am: 0f2799799c

Change-Id: Idd8af227e76f36e6ca7fe148abba5ce065c21c38
2016-10-20 03:57:00 +00:00
Anna Galusza
d3bb66c47a Merge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev am: ee502d5037
am: b104675957

Change-Id: Id3c38bf0f288ec55bdedb2029eac7c713773c4a9
2016-10-20 03:46:56 +00:00
Anna Galusza
0f2799799c Fix insufficint contrast on Vision Settings toggles. am: e212817785
am: 5bf1f668ff

Change-Id: I0ac8ad8d8cd0091224c2bf1a76ac4845b4c6cf31
2016-10-20 03:46:42 +00:00
Anna Galusza
b104675957 Merge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev
am: ee502d5037

Change-Id: I23a6c8eb6911902fc9b9ecab8bb87e38c73371b5
2016-10-20 03:38:11 +00:00
Anna Galusza
5bf1f668ff Fix insufficint contrast on Vision Settings toggles.
am: e212817785

Change-Id: I9969b046d52d6aff86fe6b0f5d44cce2cf49e8dd
2016-10-20 03:38:11 +00:00
Anna Galusza
ee502d5037 Merge "Fix insufficint contrast on Vision Settings toggles." into nyc-mr1-dev 2016-10-20 03:32:22 +00:00
Anna Galusza
e212817785 Fix insufficint contrast on Vision Settings toggles.
Bug: 29161887
Change-Id: I633ed3cf0fa00d3b697377118580471afaf30132
2016-10-19 15:41:00 -07:00