-Add new group components in xml layout and assets
-Adjust view objects in adapter for new layout
-Add aboveStatusbar in MediaOutputControllter to keep the dialog style
when switching
-Add getGroupMediaDevices() in MediaOutputController to provide available
device list for group operation
-Update test cases
Bug: 155822415
Test: atest MediaOutputAdapterTest MediaOutputControllerTest MediaOutputBaseDialogTest MediaOutputDialogTest
Merged-In: If74bf2efb89a8ece61f4e0cf13e4dcfa30cb0a8a
Change-Id: If74bf2efb89a8ece61f4e0cf13e4dcfa30cb0a8a
-Add "Stop" to stop remote media session
-Refine UI layout
1. Adjust size of head icon and apply defined dimen value
2. Move list padding inside the list to prevent truncating the list
3. Remove group-related view(I will add it in recycle view when the group feature is ready.)
-Add MediaOutputDialogTest
-Rename PAIR_NEW to CUSTOMIZED_ITEM_PAIR_NEW
-Integrate more UI view in setTwoLineLayout()
Bug: 155822415
Test: atest MediaOutputAdapterTest MediaOutputBaseDialogTest MediaOutputControllerTest MediaOutputDialogTest
Merged-In: Ie6a917c56a0ef97f772a8f43742afd2ee61e407f
Change-Id: Ie6a917c56a0ef97f772a8f43742afd2ee61e407f
-Add MediaOutputBaseDialog to provide common method for different media operations UI
-Add MediaOutputDialog for showing Bluetooth device
-Add resources for background image, style and layout
-Add MediaOutputBaseDialogTest for unit test
Bug: 155822415
Test: atest MediaOutputBaseDialogTest
Merged-In: I3086a4049f240870ca1ad870946d6848e500b561
Change-Id: I3086a4049f240870ca1ad870946d6848e500b561
-Build device item layout by different cases
-Provide UI component for different operations
-Add MediaOutputBaseAdapter for common method
-Add MediaOutputAdapterTest for unit test
Bug: 155822415
Test: atest MediaOutputAdapterTest
Merged-In: Ida509ed401320b3665d7a5f29f4df5db096ff29c
Change-Id: Ida509ed401320b3665d7a5f29f4df5db096ff29c
Make sure the EditText input and hint are properly aligned for the
locale
Fixes: 158202169
Test: manual, force RTL
Change-Id: I3bce141d1a6767e4ccb73cbe533bcbd1ab253a73
Reduce the vertical padding of the seekbar when it's enabled by 2dp to
account for the extra height in the track. That way the height of the
SeekBar view is always 33dp.
This has a nice side effect of properly setting the height of the track
when resuming.
Bug: 160242262
Test: manual
Change-Id: I9b6888f2a6bf5fb118075dea3f849618350ec18b
(cherry picked from commit b84e6ba27f)
This makes it so we can have at least one entire control tile visible
when scrolling.
Test: manual
Bug: 166166119
Change-Id: I7514cf8af69b4ba1d6c0bf76cdc21cd3c0719bd2
(cherry picked from commit a3a7c45f36)
Bug: 162377061
Fix: 162377061
Test: manual (tested in light/dark modes, ensured that smart
screenshot actions are not tinted)
Change-Id: I00b2cb91af1df057501d35394f1c6ab63990f8d5
Adds the following:
* Button for accessing settings
* Button for dismissing player (similar path to when a package is
uninstalled)
Guts will close automatically if:
* QS is collapsed
* Media carousel changes pages
Also, flattened the view hierarchy to support animations between states.
Test: manual
Test: atest com.android.systemui.media
Bug: 156036025
Change-Id: I340e0b37393573f81a3bf12d5e453eccf5982473
Merged-In: I340e0b37393573f81a3bf12d5e453eccf5982473
(cherry picked from commit 429360fb39)
This adds back the privacy chip classes (Controller and view).
Change to using Executors and DeviceConfigProxy, also fix tests that
were flaky before.
Test: SystemUITests
Bug: 160966908
Change-Id: Id3e5981a87c33a8cabe7ce348f9512d81ad2b1d8
Merged-In: Id3e5981a87c33a8cabe7ce348f9512d81ad2b1d8
The text marquees only when visible.
Test: manual
Test: manual check that it's not announced prematurely
Fixes: 158410766
Change-Id: Iede2b8d20de4f87f6bbc95f228376bb5bf488a9e
It was showing up as an unlabeled element, but can't usually
be scrolled anyway. And when it's scrolled it can still be performed
using talkback.
Fixes: 160329869
Test: enable talkback, drag down notification panel
Change-Id: Iaf4785213c58cb9efeb19aff4c164f78cdacfdab
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
Bug: 159990829
Test: manual - Change text size to smallest and look at output switcher
ship. Verify that text is aligned to center of device icon.
Test: manual - Change text size to largest and look at output switcher
chip. Verify that icon is aligned to center of device name text.
Change-Id: Ie1303c003afce190013aa78295e9d2b8425301f9
Set a different height for landscape to fit in all devices
Fixes: 159906363
Test: manual, set largest display/font
Change-Id: Ie4ab49fca4691ff377af0f5df329c6b97343d604
The transition previously wasn't aligned with the
content at all and the landscape transition was
broken as the content appeared out of no-where.
The main reason was that we were still changing
the bounds of the player to the invisible player
when not in a guided transition.
This also fixes issues where we were not caching
aggressively enough, because only a subset of the
state is actually relevant for the measurement
Bug: 159834486
Test: have resumable player, drag down both in landscape and portrait
Change-Id: I1671c9d48e7f1b1166e4505e90785bc699528d1c
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
Fix AudioRecordingDisclosureBar's layout and animations in RTL mode.
Bug: 159145397
Test: manually on TV, with "Force RTL" enabled
Change-Id: I494381d6c25658fb95d6d69482661e76501f8500