Updated gradient asset, spacing, and added shadow to text
Test: Manual: have a PIP, move it around, observe drag to dismiss UI
Bug: 35358628
Change-Id: I8614468edfc14d0337d69184a7bbab5419f22ec3
- Moves dismiss view out of menu container layout and manages the alpha
for it separately (i.e. when animating menu in / out or modifying the
alpha when dragging to dismiss)
- Shows the dismiss view when PIP mode is entered, fades out after
menu time out, on interaction the timeout is reset
Test: Enter PIP, note 'x' that is displayed, tap on it to dismiss the PIP
or don't tap on it and it goes away
Bug: 36900043
Change-Id: Ia596ee60cd9c0d744e459564586ba6a0a9c23d5d
- Make detail panels not close when turned off
- Add auto-rule state for DND tile
Test: manual
Change-Id: I533cf0a27c54e84cd74ede72dcf10e2e5f9a070f
Fixes: 34765805
The content description of the shelf was hiding the icons,
so we removed it again.
Also added an expand action to make it clear that you can expand it.
Also made scrolling in the normal shade better again by marking it
to hide it's children.
Test: manual, test accessibility on the lockscreen
Change-Id: If96c014609f3fa1b7eedb5e89acd8fe55d5b9c69
Fixes: 36660851
- Rather than testing how far off screen the PIP is, instead tests how far
past the nav bar / on screen bars the PIP is to determine if it is a
dismiss
- When dragging PIP around screen, display info text + scrim at bottom
these are above the PIP in z-order
- On lift up or when PIP is dismissed, info text + scrim also hide
- Alters dismiss animation to use end point on trajectory of finger and
use FlingAnimationUtils when flinging
Test: Drag PIP around screen, notice dismiss scrim + text appear, dismiss
PIP and scrim / text also disappear
Bug: 35358628
Change-Id: Ibc0f6a884903f7d1b3ca2fd5c20647b4acf15a71
They are played by the app receiving them when it receives them,
so don't send them as it will cause multiple click sounds.
Test: Auditory
Change-Id: Ib8b977bb775c86eb1fb9ec7426f7d93e399b411e
Fixes: 34099789
- Use the same string when showing incompatible apps as the string that
we show when launching an incompatible app.
Bug: 35373622
Test: Launch recents with incompatible app while docked, verify string
Change-Id: I8d9a7d6e96a384ccff80ab6ff8a5e53c13d8d420
Original mocks had the percentage on the left side of the battery... So
I made it so.
Test: visual
Bug: 32539932
Change-Id: I311255777b74c2ff74e36c78cbe1b4b9743ec337
We don't want to bake in the button into the text, so we're
switching the description to the hint text.
Test: manual
Change-Id: Ib0e4a86a11390ce5d3bcb0de9bc31861ad9ee84d
Fixes: 36557742
Remove "Open..." strings from toggles, since they don't open, and
add those strings to the labels. Also switch label accessibility types
to buttons.
Change-Id: Ic8382aaaecf74182970b5f8fdd914079f0109f0f
Fixes: 36538210
Test: Accessibility - select dual target QS tile
1) Updates the notification menu plugin to do more:
- The plugin can now supply the view it wants to display behind a
notification as the menu
- Touch interaction (i.e. notification translating on top) is piped
through to the plugin so it can update the view behind the notification
2) Makes NotificationMenuRow an implementor of the plugin which moves
a bunch of that logic out of NotificationStackScroller
Test: runtest systemui
Change-Id: I8723b96c195ff7311317d5523418cfcbe2a79b52
Based off redline spec
Support bundled notifications when long-press on summary
Hide banned text when sent from the default channel
Test: runtest systemui
Change-Id: I9315b4dc12cafbdf37ba9896879bfbe23c8d6921
Turns out QS Edit mode didn't like the changes to dual target tiles.
Clean this up a bit.
Test: visual
Change-Id: I158fe8dba6729de102cfc592314ec483a969417d
- Actions can specify whether they are enabled (default) or disabled, and
SystemUI will reflect the state in the PiP actions.
Bug: 36363677
Test: Expand pip with dismissed action
Change-Id: I36994868f82d8ba0fc87947a722d9f20b39425a1
- Adds a scrim that fades in as the PiP is dragged past the bottom movement
bounds.
- Tweaks the values for minimizing the PiP and dismissing the PiP
- Fixes an issue where the PiP could be minimized in the bottom corners
of the screen
Test: Manual - drag PiP to bottom of screen to dismiss or swipe down on
PiP when it's at the bottom of the screen
Bug: 35358768
Bug: 35358628
Change-Id: Ib4ad5ed7094fef76ea979b46ea7e03d746625d00
This washes out the network logging icon in the network monitoring
dialog, making it look strange compared to the dark VPN key.
Fix: 35620542
Test: inspection of dialog
Change-Id: I72bc6337b88b16235dab7b48d11efee4410ede5e
- Adding consistent scrim behind menu
- Tweaking icon/button sizes
- Updating the expand button depending on the current placement of the PiP
- Better centering of the expand button
Bug: 35358425
Test: Expand pip
Change-Id: I34575bb08d4815f51b6f14f8b0e25b20b9a97320
This patch will remove the Recents TV Code from SystemUI.
Test: To test this removes the Recents Feature and has no
side effects, try to launch recents with long-press HOME. This
should result in launching the phone version of recents.
BUG: 36035359
Change-Id: I9026b480968575ce08e1ce344512f168fdc5fe87
- minSize = 108dp
- defaultSmallestEdge = max(23% of screen width, minSize)
- the shortest edge of the PIP should be minSize and the rest scales
according to the aspect ratio
- rather than a default PIP size, use default aspect ratio
- adding expand button
- fitting actions to spec
Fixes: 35358504
Test: manually used test app to try different aspect ratios
Change-Id: Ib6890fb7824889b9edeea7efb5b9771e64fc1514
Signed-off-by: Winson Chung <winsonc@google.com>
- Adds footer to QS which contains the date/alarm info
and all touch targets (settings, edit, etc.)
- Swaps out emergency + carrier text on cell tile for a
standard CarrierText from lock screen in the header
to make the header only contain status info.
- Add dividing line
- Work on animations
Test: runtest systemui
Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d