Commit Graph

3433 Commits

Author SHA1 Message Date
TreeHugger Robot
c50014a1cd Merge "Modify PIP to use the magnetic target from Bubbles." into rvc-dev am: 1ff0d350eb am: 9db0c0662e am: 8e0b79bf77 am: 69fa150e4a
Change-Id: Ia4c5ae4d59f147329b97b383d0547a2101f38c23
2020-04-08 01:07:34 +00:00
Joshua Tsuji
f39539d077 Modify PIP to use the magnetic target from Bubbles.
This is the first CL to add base functionality. A follow-up will make the circular target envelop the PIP window when it's in the target.

Test: manual
Bug: 138116784
Change-Id: Icdc2c76e2d731ac1ec263bbdc681e8859281d846
2020-04-07 17:44:54 -04:00
András Klöczl
ecf2e152a1 Merge "Redesign user switcher" into rvc-dev am: 46b8dc5f20 am: 5412d05d3c am: 63e67d729c am: 9b4bab0c72
Change-Id: I916056c60c3761070662a468e80d719d64b1e3fe
2020-04-07 14:25:11 +00:00
András Klöczl
46b8dc5f20 Merge "Redesign user switcher" into rvc-dev 2020-04-07 13:42:13 +00:00
Sergey Nikolaienkov
c5c397d95d Merge changes from topic "mic-disclosure" into rvc-dev am: 19984f1a56 am: 5bfea43f55 am: b3413a077d am: 1207882b95
Change-Id: I2dd8cf57c7c3b4ea4948c5beeebe3383b0abdf7e
2020-04-06 21:43:44 +00:00
Sergey Nikolaienkov
19984f1a56 Merge changes from topic "mic-disclosure" into rvc-dev
* changes:
  Empty audio_recording_disclosure_exempt_apps list
  Account for mic fgs in AudioRecordingDisclosureBar
2020-04-06 20:41:15 +00:00
Curtis Belmonte
f55b49e2e1 Merge "Improve a11y for BiometricPrompt credential view" into rvc-dev am: fc294e8603 am: 955ae4b9c6 am: 5c7abed946 am: 06a1e76376
Change-Id: I518cb6c3ca651f978e529606b86acc422abc0fd8
2020-04-06 17:50:36 +00:00
Automerger Merge Worker
fc3d3f4db5 Merge "Merge "Controls UI - Rename 'quick controls'" into rvc-dev am: bc445710f5 am: 07d27761e3" into rvc-d1-dev-plus-aosp am: de64ad30e1 am: beb3995a24
Change-Id: I2cd78dbf30a62a3a492356341eec27b3889ca281
2020-04-06 17:50:13 +00:00
Sergey Nikolaienkov
3d51a3a8e9 Empty audio_recording_disclosure_exempt_apps list
Empty audio_recording_disclosure_exempt list (moving content to an
overlay)

Bug: 152559914
Test: make
Change-Id: I0d165ce2b96c9e71b8ca0587f5917cfd9cc29649
2020-04-06 19:46:26 +02:00
Curtis Belmonte
fc294e8603 Merge "Improve a11y for BiometricPrompt credential view" into rvc-dev 2020-04-06 17:06:09 +00:00
TreeHugger Robot
bc445710f5 Merge "Controls UI - Rename 'quick controls'" into rvc-dev 2020-04-06 16:57:32 +00:00
TreeHugger Robot
43e353e14b Merge "Controls UI - Marquee + dynamic column count" into rvc-dev am: f241f95205 am: 05aa82a9f8 am: 4e39f65c6c am: c535e33542 am: 195c360bf4
Change-Id: I09d3c283aa267da101495213482c31c5e53898b8
2020-04-06 15:19:01 +00:00
TreeHugger Robot
f241f95205 Merge "Controls UI - Marquee + dynamic column count" into rvc-dev 2020-04-06 13:35:40 +00:00
Matt Pietal
54170e0757 Controls UI - Rename 'quick controls'
Per feedback, changing name to 'device controls' from 'quick controls'

Bug: 153200907
Test: manual
Change-Id: I0b570469979dbe10d08d803c9f45b6b547611115
2020-04-06 09:23:09 -04:00
Matt Pietal
5f478c7f39 Controls UI - Marquee + dynamic column count
Make the controls more legible across different displays.

1. Support marquee in the status field to support long strings
2. Adjust margins for different dp devices
3. Dynamically adjust the max number of columns based on fontScale and
screen width in dp

Bug: 152765942
Test: visual, use different display/font sizes

Change-Id: I72665f1164ff30e0a5746adb9fdc89f00edd35d4
2020-04-06 08:06:51 -04:00
TreeHugger Robot
3fe211e684 Merge "Illustrations for empty overflow (light/dark modes)" into rvc-dev am: 07e5cc0878 am: b6540ce774 am: 63480c9c14 am: f319577863
Change-Id: Iadcf580ee61e483159658f420b8a81c90f1b6a89
2020-04-04 00:39:31 +00:00
Lyn Han
e1cf3b2d9c Illustrations for empty overflow (light/dark modes)
onResume, BubbleOverflowActivity lazy-updates UI theming

The stack has to collapse for the user to make theming changes, so
onResume is guaranteed to run before the user sees the overflow again.

Fixes: 148879187
Fixes: 149711636
Test: manual: toggle light/dark mode -> illustration updates

Change-Id: Iaad6c92d140e141ca9203990efc07df16cc7edf8
2020-04-03 15:00:47 -07:00
Automerger Merge Worker
5c1d9979a6 Merge "Merge "Overflow height and spacing polish" into rvc-dev am: be0fae1122 am: 90a02b3bed" into rvc-d1-dev-plus-aosp am: da8c8b9d81 am: 6658a897e9
Change-Id: I0b411c4218722e8e0c6c3524322db6a0cb77a9b4
2020-04-03 20:21:40 +00:00
Curtis Belmonte
da9204a96b Improve a11y for BiometricPrompt credential view
Ensures text that is important for accessibility in the auth prompt
credential view is read aloud by TalkBack.

Test: Manual:
1. Set PIN/pattern/password as screen unlock method
3. Enable Talkback in settings
4. Launch the CtsVerifier-v2 test app
5. Open SECURITY > Biometric Tests > BIOMETRIC+CREDENTIAL TESTS
6. Tap 4a: SetUserAuthParams: Credential, Cipher
7. Tap Choose Unlock time-based key with credential
8. Enter an incorrect PIN/pattern/password

Fixes: 151389440
Fixes: 151390960
Change-Id: I95c38cb678b0ae46988539b167c48fe9572677bc
2020-04-03 12:38:01 -07:00
Lyn Han
be0fae1122 Merge "Overflow height and spacing polish" into rvc-dev 2020-04-03 18:58:50 +00:00
Andras Kloczl
42c9f51be2 Redesign user switcher
- Change user, guest and add user icons.
- Add light and dark theme support for both quicksettings and keyguard
user switcher.

Bug: 150286182
Test: Check both lock screen user switcher and quick settings switcher manually on tablet and phone (phone doesn't have a lock screen user switcher).
Change-Id: I18cd12e85ab236f3d541998673c375393b4ad3f4
2020-04-03 16:43:55 +01:00
Automerger Merge Worker
4d3544542d Merge "Merge "Fix layout of DoubleLineTileLayout" into rvc-dev am: 60143d4437 am: bce7811ab4" into rvc-d1-dev-plus-aosp am: cced9c3722 am: 42ea74cc4a
Change-Id: Ic94f6c9e9a402be22d2796e4d838bc1099e28450
2020-04-03 12:49:00 +00:00
TreeHugger Robot
60143d4437 Merge "Fix layout of DoubleLineTileLayout" into rvc-dev 2020-04-03 11:43:23 +00:00
Lyn Han
0b6ca739f0 Overflow height and spacing polish
Bug: 148878788
Test: manual
Change-Id: I6c8e0326500da88f849cb62b3718dfdf454227d0
2020-04-02 13:48:17 -07:00
Fabian Kozynski
6b3f02e2fe Fix layout of DoubleLineTileLayout
With this CL, the layout calculates how many columns it can safely show
given the available space and distributes the tiles accordingly. This
prevents the tiles from going out of the bounds of the container
(happening even in Default Display Size).

With the change in the minimum horizontal margin, the three lowest
Display Size will show three columns and the others will show 2. Showing
two columns has not great expansion animations.

Opening a bug to explore UI.

Fixes: 151810573
Bug: 152429614
Test: manual

Change-Id: I8e123c4497f51f0d5c83b8eb14319f488a96bc9a
2020-04-01 11:56:01 -04:00
Ben Murdoch
2f51fadc1b Merge "Add user switcher related strings to SettingsLib." into rvc-dev am: 66041721d7 am: 71a605714f am: fb79b493d6 am: 534d249544 am: a2c2e9cb7b
Change-Id: Ieb5726b650c60d0329bff35ff0bfe3f51b969905
2020-03-31 02:44:45 +00:00
Matt Pietal
75000bd8af Merge "Controls UI - Various header fixes" into rvc-dev am: c2b9794471 am: aa69895de5 am: 1934f3f2b5 am: 1812d021a2 am: f43d435c82
Change-Id: I78cbc44d9bea406323207bde6a5acace3ffc4154
2020-03-31 00:12:28 +00:00
Ben Murdoch
66041721d7 Merge "Add user switcher related strings to SettingsLib." into rvc-dev 2020-03-30 15:01:46 +00:00
Matt Pietal
c2b9794471 Merge "Controls UI - Various header fixes" into rvc-dev 2020-03-30 12:57:30 +00:00
Curtis Belmonte
8975497f26 Merge "Make BiometricPrompt credential UI closer to Settings" into rvc-dev am: c2ba1873e6 am: 650ccb5593 am: c968570e34 am: 8f268a85ec
Change-Id: Iea46fc9807fbf6e8b268781161cec9fac1e0c1d3
2020-03-27 23:28:54 +00:00
Curtis Belmonte
c2ba1873e6 Merge "Make BiometricPrompt credential UI closer to Settings" into rvc-dev 2020-03-27 22:42:35 +00:00
Fabian Kozynski
1461fc7904 Merge "Increase string char limits" into rvc-dev am: 6745b6c78b am: bdfa71bc3a am: d3d2758be0 am: 2aea3e80cf
Change-Id: I637f33c5b01d444824ab45f146c9f5c7a3f7f319
2020-03-27 20:40:35 +00:00
Fabian Kozynski
6745b6c78b Merge "Increase string char limits" into rvc-dev 2020-03-27 19:25:12 +00:00
Matt Pietal
fbe6888358 Controls UI - Various header fixes
1. Long structures no longer get too close to the menu
2. Menu needs content description
3. Menu should ripple

Bug: 152486847
Test: visual
Change-Id: If5d2198446755773e624463ca13a6569b8edf496
2020-03-27 13:30:10 -04:00
Fabian Kozynski
2de4180f45 Increase string char limits
Test: no test
Fixes: 151082675
Change-Id: I9d7c9359c6fe0fdc03c2b96aaae54bd0faabc5f1
2020-03-27 13:05:12 -04:00
TreeHugger Robot
96863fe5ac Merge changes I28153a56,I620224b9 into rvc-dev am: 56ea9e9487 am: 588d218ca2 am: b83dedc168 am: 972d6ffe37
Change-Id: Ib1644e8adef2d4b87d9faea5354195897d0609dc
2020-03-27 16:50:29 +00:00
Andras Kloczl
ababfcd4cf Add user switcher related strings to SettingsLib.
- Move guest related strings from sysui to settingslib
- Add a new string to settingslib

Test: Build, flash and check if the texts are appearing properly in keyguard and quicksettings user switcher.
Bug: 142798722
Change-Id: I5b3e13581efa274ce8ed899b8a949e5ef69c173c
2020-03-27 15:51:48 +00:00
TreeHugger Robot
56ea9e9487 Merge changes I28153a56,I620224b9 into rvc-dev
* changes:
  Remove window animations for shutdown UI on TV
  Opaque background for shutdown UI on TV
2020-03-27 15:38:22 +00:00
Robert Horvath
2f58649bff Remove window animations for shutdown UI on TV
If reboot happens too quickly, the video output freezes during the
fade in window enter animation. This leads to the text on the shutdown
UI being hard to read, as the window is still transparent and text from
underneath might shine through.
To resolve this, this change removes the window animations from the
shutdown UI for TVs, so that the UI appears instantly without a fade.

Bug: 152509487
Test: flash build and reboot / factory reset
Change-Id: I28153a56f3b5cfc4f89b06fcc8fe6fba935eb30b
2020-03-27 14:26:45 +01:00
Robert Horvath
d6ce2ccac7 Opaque background for shutdown UI on TV
The background of the shutdown UI was transparent.
This lead to the text on the shutdown UI being hard
to read, as text from  underneath might shine through.

This change makes the background of the shutdown UI opaque for TVs.

Bug: 152509487
Test: flash build and then factory reset / reboot the device
Change-Id: I620224b9c7b289fbf4db3ffec78007653bea0d71
2020-03-27 14:25:56 +01:00
Matt Pietal
89bbd23661 Merge "Controls UI - Fix routine icons" into rvc-dev am: f77d4b3d3e am: 8569d1859b am: ef18403c7a am: f1a99584d7
Change-Id: I8eb2d493dd0c80e0b3cf9166d95fac4d33dda5ef
2020-03-26 23:57:05 +00:00
Matt Pietal
f77d4b3d3e Merge "Controls UI - Fix routine icons" into rvc-dev 2020-03-26 23:05:35 +00:00
Curtis Belmonte
f952f13519 Merge "Fix display of BiometricPrompt wipe warning dialogs" into rvc-dev am: 8c28971edc am: 7fbf5e005a am: e57d2671d7 am: 35818f29ee
Change-Id: Id3e0a945c75998fcd0f78b9cdea054e495461f6d
2020-03-26 22:09:40 +00:00
Curtis Belmonte
ce03593da0 Make BiometricPrompt credential UI closer to Settings
Adjusts the fonts, sizes, and positions of the AuthCredentialView UI
invoked by BiometricPrompt to better match the UI for setting or
confirming a PIN/pattern/password in Settings.

Test: Manually, using the BiometricPrompt demo and TestDPC apps

Fixes: 152053691
Change-Id: I0d0316b2ac5bde696706e916a29021481e824509
2020-03-26 14:04:46 -07:00
Curtis Belmonte
8c28971edc Merge "Fix display of BiometricPrompt wipe warning dialogs" into rvc-dev 2020-03-26 20:47:38 +00:00
Matt Pietal
f8cc0fa2ad Controls UI - Fix routine icons
App icons may not respond well to tinting, as currently defined, and
the spec calls for them to remain untouched. Make sure to limit the
icon size.

Bug: 152397193
Test: visual

Change-Id: I36afecfc440fb82814c5bd00ca20e4d71ce40789
2020-03-26 09:28:32 -04:00
Curtis Belmonte
1e6a356911 Fix display of BiometricPrompt wipe warning dialogs
Ensure that both local wipe dialogs are shown by the BiometricPrompt
credential view as appropriate:
- A "last attempt" warning dialog when the user is one failure from a wipe
- The "now wiping" dialog shows before the prompt is dismissed

Test: Manual:
1. Create a work profile via TestDPC (go/testdpc)
2. Set a work profile lock pattern/PIN/password via Settings > Security
3. Launch the work profile instance of TestDPC
4. Scroll down to "Lock screen"
5. Tap "Lock screen restrictions"
6. Select the "Work profile" tab
7. Set "Max password failures for local wipe" to 3
8. Lock & unlock the screen
9. Launch work profile app
10. Enter the wrong pattern/PIN/password three times

Fixes: 152016710
Change-Id: I3771d222aaaacef5fa70c1246432a6fd1afdcd42
2020-03-25 13:32:49 -07:00
Automerger Merge Worker
4fc16a1897 Merge "Merge "Overflow bubble labels" into rvc-dev am: 38a520e6f5 am: 22b1d5e212" into rvc-d1-dev-plus-aosp am: b9ad22e205 am: b3e81060d1
Change-Id: If01766aa74bc7349e902eea97ee20ae8c6ab7fef
2020-03-25 00:24:38 +00:00
TreeHugger Robot
38a520e6f5 Merge "Overflow bubble labels" into rvc-dev 2020-03-24 23:33:55 +00:00
TreeHugger Robot
a3ed9415d4 Merge "Controls Ui - More string adjustments" into rvc-dev am: 294823f0cb am: 4aab2f7bce am: afd4b7e5f2 am: 9fddd2e1a0
Change-Id: I82a6b6525df47657fe262b3be32d940e49b9c59a
2020-03-24 21:27:54 +00:00