Commit Graph

3555 Commits

Author SHA1 Message Date
TreeHugger Robot
44d6bc8594 Merge "Make icon sizes consistent" into rvc-dev 2020-06-29 17:14:35 +00:00
Robert Snoeberger
ec645b4c49 Make icon sizes consistent
Updating sizes of icon based on code review discussion in ag/12013470.

Bug: 159990829
Test: manual - Verify icons (app and device) are same size in media
player.
Test: manual - Verify fallback device icon and app icon are the same
size.

Change-Id: I7dd12145ecdb96bdf4a7dc4e6e095e306453633b
2020-06-29 10:04:52 -04:00
TreeHugger Robot
b56a22487f Merge "Increase pointer size, move closer to bubble" into rvc-dev 2020-06-26 23:17:03 +00:00
Fabian Kozynski
3d8df7b6c2 Merge "Media - Limit size of output switcher and app name" into rvc-dev 2020-06-26 18:37:37 +00:00
Matt Pietal
250a34cee3 Global Actions - Power menu too tall in landscape
Set a different height for landscape to fit in all devices

Fixes: 159906363
Test: manual, set largest display/font
Change-Id: Ie4ab49fca4691ff377af0f5df329c6b97343d604
2020-06-26 11:22:10 -04:00
Lyn Han
ae749fb5f3 Increase pointer size, move closer to bubble
Make selection easier to see

Bug: 158482996
Test: manual
Change-Id: I34f80d26bc30f9b46edcfad11ac655c895a58784
2020-06-25 17:27:19 -07:00
Fabian Kozynski
91280c30c5 Add string for "See more apps"
Test: manual
Fixes: 159792758
Change-Id: I9b116fef0bfaad7c40bb9a9a109e0abf1b005b4c
2020-06-24 10:57:23 -04:00
Fabian Kozynski
f2e6891752 Media - Limit size of output switcher and app name
Make sure that there is a gap at least 10dp to the left and right of center
vertical in media view, between app name and output switcher.

Test: manual
Fixes: 159708142

Change-Id: If142bd920b6921c9d82fa2d6dfb2595f123df2ac
2020-06-23 14:41:47 -04:00
Fabian Kozynski
42c541e6c7 Add divider between QS and media
Test: manual, portrait and landscape
Fixes: 159484242
Change-Id: I279ca402e7893c9213718b345cc79ecd72beb4e8
2020-06-22 16:28:10 -04:00
Fabian Kozynski
349967a098 Change color of seamless chip border
The border should be fixed at #FFFFFF @15%.

Test: manual
Fixes: 159359398
Change-Id: Ie423e1ba8b7317e167d3b498ba9112ed4cada822
2020-06-22 13:38:07 -04:00
Fabian Kozynski
6a75f1332f Merge "Make SeekBar 1dp tall when disabled" into rvc-dev 2020-06-22 16:33:04 +00:00
Fabian Kozynski
8a9516d762 Make SeekBar 1dp tall when disabled
Test: manual
Fixes: 159369236

Change-Id: If28b65b66b78595d60a67e4f4c8deadf0393c1a0
2020-06-22 09:34:02 -04:00
TreeHugger Robot
1d53e823fd Merge "Reduce device fallback to just icon" into rvc-dev 2020-06-22 05:53:52 +00:00
Robert Snoeberger
0734043a33 Reduce device fallback to just icon
Fixes: 159231146
Test: manual - Cast YouTube and look at output switcher chip in player.
Verify that there is only a Cast icon.

Change-Id: I9dcd5f642e3f7400a9442c05b5de0566704af38a
2020-06-22 00:25:55 -04:00
TreeHugger Robot
3987866cd7 Merge "Let biometric prompt button text wrap to new line" into rvc-dev 2020-06-20 02:45:17 +00:00
Curtis Belmonte
7100caa75e Let biometric prompt button text wrap to new line
Fixes an issue where the buttons on the biometric prompt would fail to
wrap to a second line in order to accommodate long label text. This
caused the buttons to be truncated in some languages (e.g. Russian).

Test: On a Pixel 4 XL:
1. Ensure a lock pattern is set and Face Unlock is enabled
2. Set the system language to Russian (Russia)
3. Open wifi settings and select a saved network
4. Tap on the "Share" button for this network
5. Wait for Face Unlock to time out for the prompt
6. Rotate the device between portrait and landscape

Fixes: 158240727
Change-Id: I51da6b124ffcd867322ee699e3908847e1df7ecd
2020-06-19 18:02:30 -07:00
Beth Thibodeau
ab9e7facdf Merge "[DO NOT MERGE] Support toggling resumption in Settings" into rvc-dev 2020-06-19 22:26:57 +00:00
TreeHugger Robot
d516053da9 Merge "Fix media artist color" into rvc-dev 2020-06-19 21:35:19 +00:00
Fabian Kozynski
2828fc61dd Fix media artist color
Set the color to #FFFFFF @60%.

Test: visual
Fixes: 159359828
Change-Id: I56877fa6a81497fccf6afbcb434da7792cb48d4a
2020-06-19 15:56:58 -04:00
Antoan Angelov
db36471478 Merge "Show disclosure for organization-owned work profile" into rvc-dev 2020-06-19 14:52:02 +00:00
Beth Thibodeau
c1bc307bce [DO NOT MERGE] Support toggling resumption in Settings
Moved setting so we can use Tunable:
adb shell settings put secure qs_media_resumption 1

If setting is changed, removes all existing resume players

Bug: 154039093
Test: manual
Test: atest SettingsProviderTest
Test: atest com.android.systemui.media

Change-Id: Iad056fbad4520cfe762d9e9f5ed62d38ea1117b1
2020-06-18 23:58:11 +00:00
Aran Ink
ee441db39f Merge "Convert PowerOptions menu into a dialog and update styling." into rvc-dev 2020-06-18 19:18:04 +00:00
Ben Lin
0ea256833b Add Accessibility Resize support.
Bug: 158662766
Test: Open a11y context menu and resize
Change-Id: Ib9704ece853fbec65f58b5cb9965937a66b6118c
2020-06-17 15:47:41 -07:00
Aran Ink
143eea4f7e Convert PowerOptions menu into a dialog and update styling.
Fixes: 158491154

Test: Manual -- dialog matching spec appears when Power option is pressed.
Test: Manual -- power dialog correctly passes through press and longpress events
Test: Manual -- poewr dialog displays correctly across relevant display sizes.
Change-Id: Id4936fa158ac2c840594a6287b729f4acc617558
2020-06-17 17:56:01 -04:00
arangelov
1b21b1cf12 Show disclosure for organization-owned work profile
Fixes: 149073538
Test: manual
Test: atest QSSecurityFooterTest
Change-Id: I5b848a2464d5b4cd394c47a211253411aa1ff930
2020-06-17 09:55:51 +00:00
Fabian Kozynski
1eb40ef103 Change error and none messages
When loading controls returns an error or no controls, show an
informative message.

Test: manual
Fixes: 156923066

Change-Id: Iae3bdb5707d5cda5d970b8a9fc439420eb4f6f8d
2020-06-15 15:43:00 -04:00
Selim Cinek
3a8b73a881 Merge changes I3b8babc2,I56ea3eee into rvc-dev
* changes:
  Changed the landscape experience of quick settings
  Fixed an issue where the media player would shift when editing QS
2020-06-13 02:01:08 +00:00
Selim Cinek
2a1cab1192 Changed the landscape experience of quick settings
When introducing Media into quick settings, the landscape
experience never really worked well. The music player
would be cut off on the bottom and users could never
reach their playback controls.
Instead of the vertical layout, we're now rendering
quick settings side by side with the player.

Using some densities, this could still be too large,
so we're also introducing a scrollview for the
expanded quick settings.
This also makes sure all the paddings and spacings
are up to spec.

This also fixes behavior where a user could still collapse
the panel while the user switcher was showing.

Bug: 154332040
Test: atest SystemUITests
Change-Id: I3b8babc2cc6a91e19824b67f043aa5044dc370b9
2020-06-12 16:26:53 -07:00
Lyn Han
79d10bfa49 Dark grey overflow in dark mode
Update overflow visibility after setup
Remove BubbleOverflow#getBtn (same as getIconView)

Bug: 158482996
Test: manual => Turn on dark mode
             => Pointer & overflow button/activity use same grey

Change-Id: I0f9c7d8e6dc1ac77e8601f42527f75b1b4e9ef1d
2020-06-12 15:42:04 -07:00
Lyn Han
1c442e559c Up char limit for dismiss option in manage menu
Requested by translators

Fixes: 158764580
Test: no effect
Change-Id: I11a4f86b70f6b524f8f6f13aceea3219e92aca8d
2020-06-12 03:25:54 -07:00
TreeHugger Robot
444d74fa39 Merge "Compress hybrid conversation layout" into rvc-dev 2020-06-11 21:04:44 +00:00
Steve Elliott
61b1185b6f Compress hybrid conversation layout
Fixes: 157056075
Test: manual, visual
Change-Id: Id6305a0d2531c16ed51cd247118beead8576700c
2020-06-11 15:51:04 -04:00
TreeHugger Robot
11b5847397 Merge "Dark pointer for dark mode" into rvc-dev 2020-06-10 23:10:43 +00:00
TreeHugger Robot
426f627b9b Merge "Fix some layout issues in notification guts" into rvc-dev 2020-06-10 22:30:50 +00:00
Lyn Han
26bb198790 Dark pointer for dark mode
Add pointer colors to resource
Fetch from resource based on dark mode config

Fixes: 158482996
Test: manual - toggle dark mode on/off, select different bubbles, select
overflow -> pointer updates color and position as expected

Change-Id: Ie5d2613bcceabc665106d4422a9b33402ade54b8
2020-06-10 21:47:13 +00:00
TreeHugger Robot
e20435387c Merge "Update the manage education to be a cling" into rvc-dev 2020-06-10 20:36:21 +00:00
Julia Reynolds
f870a114f0 Fix some layout issues in notification guts
Test: manual
Fixes: 158679747
Fixes: 158517790
Change-Id: I14c7630c578967130b492796275475f9bff79f9a
2020-06-10 16:23:13 -04:00
Josh Tsuji
ab0ffd1d48 Merge "ActivityView animations!" into rvc-dev 2020-06-10 13:24:37 +00:00
Alex Mang
e1448f064d Update the manage education to be a cling
Manage education is now a cling with a got it button next to it.

Bug: 158222759
Test: Manually on device
Change-Id: Id083c3d7c5d67c6914a632a586e7b826fa4431af
2020-06-09 21:07:48 -07:00
Joshua Tsuji
06785ab656 ActivityView animations!
Expand/collapse animations work by applying a matrix to the expanded view container - this is a) fast b) allows for pivot scale animation c) works around some weirdness with "actually" scaling the view, since the matrix transform is applied after the AV draws.

Switch animations work by snapshotting the current bubble's surface into graphics memory, rendering that into a SurfaceView, and animating the SurfaceView out. Memory profiler indicates this does not use additional memory (since those pixels were already in graphic memory anyway, and released as soon as the animation ends).

Test: lots and lots of manual testing
Fixes: 123306815
Fixes: 135137761
Merged-In: I0b01dab4bb0c82873afc55d054bafc672bacc8bf
Change-Id: I0b01dab4bb0c82873afc55d054bafc672bacc8bf
2020-06-10 03:59:30 +00:00
Steve Elliott
ef5a7c42c4 Rename "Incoming" section to "New"
Fixes: 158494079
Test: manual, visual
Change-Id: Iaea368d7d31905f2f179a56374360a817cc39a54
2020-06-09 15:58:03 +00:00
Lyn Han
75882e42da Merge "Update string for dismiss option in manage menu" into rvc-dev 2020-06-08 17:42:30 +00:00
Lyn Han
6e1e07eeb6 Update string for dismiss option in manage menu
Fixes: 158037450
Test: manual - manage menu shows "Dismiss bubble" instead of "Dismiss"
Change-Id: I87f4bf11272757637f99d4486a61bbefb32b53e9
2020-06-07 15:31:02 -07:00
Matt Pietal
8761fbb501 Merge "Controls UI - Handle 'not found' better" into rvc-dev 2020-06-04 23:22:54 +00:00
Beth Thibodeau
ad80df940b Merge "Adding back media resumption" into rvc-dev 2020-06-04 23:20:31 +00:00
Beth Thibodeau
f55bc6afc2 Adding back media resumption
Behind a flag for now, while we work on animation issues and settings
Enable with: adb shell settings put system qs_media_resumption 1

Bug: 156104922
Fixes: 154823185
Fixes: 156256312
Test: manual; atest com.android.systemui.media
Change-Id: I77e3706031da820ea0d49c5dfd17f89ae7fb7db4
2020-06-04 17:26:13 -04:00
Matt Pietal
370db8771d Controls UI - Handle 'not found' better
Show a more informative error to the user on touch/long press about
how to handle this situation. Properly animate status changes.

Fixes: 154737944
Test: TYPE_DISPLAY in mock app simulates not found error
Change-Id: I15ce2d2621ea29c97936f9d9022d917637693288
2020-06-04 17:20:42 -04:00
Fabian Kozynski
6a033d239e Merge "Change colors in QSSecurityFooter" into rvc-dev 2020-06-04 17:47:29 +00:00
TreeHugger Robot
a65d7258d5 Merge "Update dismiss appearance and add scrim per UX mocks." into rvc-dev 2020-06-04 15:33:11 +00:00
TreeHugger Robot
e31d68bc3b Merge "Use default sizes for global actions." into rvc-dev 2020-06-03 18:42:31 +00:00