Commit Graph

8519 Commits

Author SHA1 Message Date
Ahan Wu
67e7f1054f Render ImageWallpaper with OpenGL ES and apply visual effects. (Fix bug)
We have to render image wallpaper with OpenGL ES to apply some amazing
visual effects.

Bug: 122803209
Bug: 124073420
Bug: 123616712
Bug: 123615467
Test: Manually.
Change-Id: I0123d4ba2acb5a84b709c0468910e006c8e49563
2019-02-16 16:19:33 +08:00
TreeHugger Robot
bad6832623 Merge "Add char limits to block helper button labels" 2019-02-15 06:38:31 +00:00
Ned Burns
7553215949 Add char limits to block helper button labels
With text size turned up, things weren't fitting.

Test: none
Bug: 123643210
Change-Id: I9c064e1e40b0a1f2d021ac5edda1e483bbfe1400
2019-02-14 18:00:39 -05:00
Beth Thibodeau
b45f78f1ab Merge "Use theme corner radius in volume and power dialog" 2019-02-14 20:33:11 +00:00
Beth Thibodeau
8faa0af23b Use theme corner radius in volume and power dialog
Fixes: 124383060
Test: Visually verified that radius changes with theme
Change-Id: I07d77b1cde8bfd23ce20ba552581835d7734857a
2019-02-14 13:25:11 -05:00
Aaron Heuckroth
43c1d4d038 Merge "Add rotation support to grid-based global actions menu." 2019-02-14 15:59:45 +00:00
Amin Shaikh
116fa334ea Update systemui qs icons to gm2.
Bug: 116357908
Test: mp res sysuig
Change-Id: Ibba0d717042e77287b7067d14a9bec615fd929a8
2019-02-13 16:21:05 -05:00
Aaron Heuckroth
75e249f637 Add rotation support to grid-based global actions menu.
Test: All automated tests should pass. Rotating the phone with the GAM displayed should result in both the container and icon views staying in the same physical position relative to the device.
Change-Id: Ia1ba6265fb954ea9908ddb618569ca018297c82d
2019-02-13 16:08:14 -05:00
Fabian Kozynski
d008b76c4f Merge "Changes char limit for Privacy Settings string" 2019-02-13 20:20:45 +00:00
Fabian Kozynski
b3aee9ceff Changes char limit for Privacy Settings string
Test: manual, use large font and size
Change-Id: Ida7d7aa5ed934dcbcbc2b033a8437faba6b9d763
Fixes: 124094783
2019-02-13 11:22:44 -05:00
Beverly
7d7f699f4a Update keyguard charging text to indicate wireless
- Keyguard charging text indicates the device is wirelessly charging

Test: manual
Change-Id: I9cce8ecaf07f8870164d9ef8a569fcf30db69d85
Fixes: 124084552
2019-02-11 15:19:51 -05:00
Nadia Benbernou
c3a11501a5 Merge "Style changes to blocking helper for Q. Bug:123900539 Test: Manual testing on device and unit tests." 2019-02-11 19:15:15 +00:00
Fabian Kozynski
48af91961c Merge "Change Chip between QS and QQS" 2019-02-11 15:37:00 +00:00
Bill Yi
162275dbf0 Import translations. DO NOT MERGE
Change-Id: Ibcfb75e86fea0c2036f63c59ea3f95b24b6e40d5
Auto-generated-cl: translation import
2019-02-08 15:00:23 -08:00
Nadia Benbernou
3b4a93a38e Style changes to blocking helper for Q.
Bug:123900539
Test: Manual testing on device and unit tests.

Change-Id: I56951b65139b3bc3ba0118972ba2b1dc09cdeba7
2019-02-08 15:18:57 -05:00
Fabian Kozynski
216812e981 Change Chip between QS and QQS
Chip animates via fade out and fade in. No redlines for margins and
padding.

Test: manual

Change-Id: I10f024eb06f88b6493687febdbb0d5ccbba450b8
2019-02-07 11:20:34 -05:00
TreeHugger Robot
a42845b025 Merge "Revert "Render ImageWallpaper with OpenGL ES and apply visual effects."" 2019-02-07 02:02:34 +00:00
Lucas Dupin
98897ce6c5 Revert "Render ImageWallpaper with OpenGL ES and apply visual effects."
This reverts commit 9a8e260af1.
Bug: 118658627

Reason for revert:
I've received a few bug reports indicating that images were getting stretched, animations were gone and sometimes nothing would be rendered.

I'll revert the CL to have something for stable for Beta 1. We can then work on the fixes after the Taiwan team is back from vacation.

Change-Id: Id09ba3d7f372af9153c056a12e676c0227d19939
2019-02-06 20:43:36 +00:00
Mady Mellor
3d82e68dfd Rename: Drop 'Container' from BubbleExpandedViewContainer
Test: atest BubbleControllerTest / it compiles
Bug: 123543995
Change-Id: I4ff194966edffd7d314bd9aade1ebb2bb6d2f7d2
2019-02-05 18:26:53 -08:00
Mady Mellor
e8e07712e0 Add permission prompt to bubble expanded header view
Test: manual / coming soon
Bug: 111236845
Change-Id: Ie616d2215c495e8b30ba7fa8ebb1abdc8e5ebd7e
2019-02-05 13:08:48 -08:00
Beth Thibodeau
db4223b808 Merge "Adding seekbar to media notifications" 2019-02-05 17:32:28 +00:00
TreeHugger Robot
c5f8397f0f Merge "Implement screen edge swipe for prototype" 2019-02-04 22:44:22 +00:00
Beth Thibodeau
cb395358c5 Adding seekbar to media notifications
Test: manually tested, screenshots at https://drive.google.com/open?id=1rbiNM_2PG_Kyd4MWnDFUdQy-K3dAVKz3
Bug: 123698590

Change-Id: Ieb7bc6b379f78d1611f7a97615a13a3c0a993f9e
2019-02-04 15:42:02 -05:00
Bill Yi
469fa1ffea Import translations. DO NOT MERGE
Change-Id: I8634898190413904bb0e5d5aa93b0233f0a68c6d
Auto-generated-cl: translation import
2019-02-02 14:19:25 -08:00
Matthew Ng
b831fb4fd1 Implement screen edge swipe for prototype
Removed nav bar edge swipes and replaced for screen edge swipe. The two
new gestures always stay left and right of the screen except for
landscape where only the side opposite of the navigation bar will exist.
The gestures will only activate past a second slop or if user executes
gesture really quickly (less than a tap timeout 100ms).

Bug: 112934365
Test: atest QuickStepControllerTest

Change-Id: I8ae98bd638943d9f76e455bc000a601f96e68d2c
2019-02-01 16:47:25 -08:00
Lucas Dupin
e7ee1542ac Disable force-dark
It might invert the status bar and lock screen.

Test: visual
Change-Id: Ifbf68d7dbacb7e97ad441b90be182081619e8f18
Fixes: 123752554
2019-02-01 09:17:16 -08:00
TreeHugger Robot
c6da7a9f3d Merge "New lock iconography" 2019-02-01 03:10:29 +00:00
Lucas Dupin
c9e5d76952 New lock iconography
Change-Id: Ie8b269a2bdfa1946e0c3591717142a34c1b15c67
Fixes: 122058242
Test: visual
2019-01-31 16:43:35 -08:00
Fabian Kozynski
d419c75c20 Merge "Fixes in OngoingPrivacyDialog" 2019-01-31 22:22:45 +00:00
Fabian Kozynski
eac70d8e8e Fixes in OngoingPrivacyDialog
Changes intent and text on secondary button

Bug: 123415277
Test: manual
Change-Id: I9c55b2a36d9c35cb98c5abefaeb9f075f1f181a7
2019-01-31 15:04:56 -05:00
Mady Mellor
9801e85396 Update header to have content intent & settings buttons
* Sets notification entry on BubbleExpandedViewContainer and use that to
  to populate the contents
* Adds settings + app deeplink buttons to header
* Header will use bubble metadata text if it exists or the app name

Bug: 111236845
Test: manual - tested with notify activity view based bubble that
      (1) - tapping deep link button opens content intent
      (2) - tapping settings button opens notif settings for app
Change-Id: I07d6beced7da001e233237b91053b0fc4b18505b
2019-01-30 15:34:02 -08:00
Selim Cinek
1f4459783c Merge "Render ImageWallpaper with OpenGL ES and apply visual effects." 2019-01-30 20:56:12 +00:00
Ahan Wu
9a8e260af1 Render ImageWallpaper with OpenGL ES and apply visual effects.
We have to render image wallpaper with OpenGL ES to apply some amazing
visual effects.

Bug: 122803209
Test: Manually.
Change-Id: I8d702a59211de58f912f2a18cb54b6e807c6e457
2019-01-30 19:00:36 +08:00
TreeHugger Robot
dbdd6412e6 Merge "Import translations. DO NOT MERGE" 2019-01-30 04:45:39 +00:00
Bill Yi
934659d0b9 Import translations. DO NOT MERGE
Change-Id: Ia6420debcbae2bc9b1842ee32e301efdc629ca5d
Auto-generated-cl: translation import
2019-01-29 16:05:01 -08:00
Amin Shaikh
f3a942751a Consolidate 3 phone icons into one.
ic_bt_cellphone, ic_volume_voice, ic_phone_24dp -> ic_phone

Bug: 122263617
Test: make
Change-Id: Id3a518209e78d1f51b3cc1945bcbeba1bdcb2e23
2019-01-29 18:23:55 -05:00
TreeHugger Robot
06dc2c3c1e Merge "Remove unused systemui resources." 2019-01-29 21:23:06 +00:00
Gustav Sennton
4bf5ff5859 Add experiment flag for maximum number of smart actions per notification
We here add an experiment flag to limit the number of smart actions
shown per notification (including turning all small actions off) from
the System UI.

Bug: 122506860
Test: atest SystemUITests
Test: call "adb shell settings put global
    smart_replies_in_notifications_flags enabled=true,max_num_actions=X" for
    different values of X and ensure the behaviour is correct.
Change-Id: I2759f4bc297386d20f3a6d1cb2975165e5c87c38
2019-01-29 16:31:15 +00:00
Amin Shaikh
d20df8ea81 Remove unused systemui resources.
Bug: 122263617
Test: mp sysuig
Change-Id: If4681826ebe87ab193f96d90720b174a32efadca
2019-01-29 09:32:10 -05:00
TreeHugger Robot
eacd0d7ff6 Merge "Move SettingsLib icons to android." 2019-01-28 22:49:36 +00:00
Gustav Sennton
d6a69968b3 Merge "Update smart reply/action sizes to follow mocks." 2019-01-28 17:56:52 +00:00
Fabian Kozynski
0d03da3723 Added tap behavior to rows in OngoingPrivacyDialog
The rows now direct to Permission Hub information for that app.

Test: manual
Test: previous Unit tests passing
Change-Id: I09e1205ee2340f5095c9c59414ddd9db440915b7
Fixes: 123415277
2019-01-28 10:48:26 -05:00
Amin Shaikh
10f363bb18 Move SettingsLib icons to android.
Bug: 122263617
Test: make
Change-Id: I11ce02f3f65f429fd4375a5522c060c8080f4813
2019-01-25 15:26:41 -05:00
Josh Tsuji
3e6de26e7a Merge "Adds DynamicAnimation-based movement to the bubbles." 2019-01-25 16:04:51 +00:00
Aaron Heuckroth
5d1f0e0058 Merge "Creates a new grid-based global actions menu on power button hold." 2019-01-25 15:19:07 +00:00
Lucas Dupin
47904eeaad Merge "Invert custom views in dark mode" 2019-01-25 04:00:05 +00:00
TreeHugger Robot
a93cbcb6ae Merge "QSFooterImpl shows multiple carriers" 2019-01-25 02:30:51 +00:00
Lucas Dupin
e1bb998611 Invert custom views in dark mode
Invert custom view colors (in Y'UV space) if its background isn't dark,
we're in dark mode, and app doesn't target Q.

Change-Id: I74f557315c5e7e91ee7ec01d1535dac40f921524
Fixes: 112767229
Test: send custom notification from pre Q app with black background
Test: send custom notification from pre Q app with white background
Test: send custom notification from pre Q app with green background
Test: send custom notification from Q app with white background
2019-01-24 18:30:26 -08:00
Joshua Tsuji
b1a796b155 Adds DynamicAnimation-based movement to the bubbles.
See go/bubble-stack-design for a high level overview of these changes. This is a large CL, but required in order to allow continued development and team testing without breaking functionality over the course of multiple CL submissions.

To integrate the new animations, the following changes have been made to existing code:
* (BubbleStackView) The bubble container (and thus, the stack view) are MATCH_PARENT to allow the bubbles to independently translate anywhere on the screen.
* (BubbleStackView) Start position is set by the stack controller, not BubbleStackView.
* (BubbleStackView) Expand positon is set by the expansion controller, not BubbleStackView.
* (BubbleStackView/BubbleTouchHandler) Added the methods onDragStart/onDragged/onDragFinish, and onBubbleDragStart/onBubbleDragged/onBubbleDragFinish, for cleaner dispatch of touch events to the appropriate animation controller.
* (BubbleStackView/BubbleController) The stack view's getBoundsOnScreen returns the first bubble's bounds, if the stack is not expanded.
* (BubbleStackView) applyCurrentState no longer manages translation of bubbles, or the expanded view, these are controlled by animation.
* (BubbleMovementHelper) Deleted, no longer needed.
* (Everywhere) Changed uses of Point to PointF, since translation values are floats anyway.

Known issues to be fixed in subsequent, far smaller CLs:
* (b/123022862) Bubble dragging out/dismissing is not animated, and the bubbles can be deposited anywhere. Tap outside the stack to collapse them back to normal.
* (b/123023502) New bubbles added while the stack is expanded are not positioned properly.
* (b/123022982) Expanded view arrow is sometimes in the wrong position.
* (b/123023410) If the stack is expanded while animating, it collapses to its original position even if not along the edge of the screen.
* (b/123023904) The expanded view doesn't animate out, it disappears instantly.
* (b/123026584) Bounds in landscape are a bit wonky.

Bug: 111236845
Test: atest SystemUITests
Test: physics-animation-testing.md
Change-Id: Icaca09e5db89c635c9bb7ca82d7d2714362e344e
2019-01-24 19:23:17 -05:00
Fabian Kozynski
1823f11ddf QSFooterImpl shows multiple carriers
QSFooter now shows up to two subscriptions with corresponding signal
rate graphic.

Modified CarrierTextCallback to pass an info struct.

Pending design guidelines.

Test: manual using DSDS
Bug: 113343186
Change-Id: Ic98d52ae59139132533a86fcc279a4f64c98c91e
2019-01-24 17:13:55 -05:00