| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Move bubbles package and related resources to shell package,
also copied some used codes and resources.
Bug: 161980186
Test: atest SystemUITests
Test: atest WMShellUnitTests
Change-Id: Ia108bd4149b3c3bf86631ba1a7a6bce0e76af78f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Move BubbleController sysui dependent code to new class
BubblesManager and remove using of Dependency of Bubbles.
TODO: Tests still need to be remain on sysui, find suitable
method to test both classes independently.
Bug: 161980186
Test: atest SystemUITests
Change-Id: I7be1dfb81f7ddfb5fc20b180fc5affb7a1d8e93c
|
| |
|
|
|
|
|
|
|
|
| |
The handler is only available when the view has been attached to the
window, so set it on TaskView in there instead of passing through
constructor.
Test: expand a bubble, nothing crashes
Bug: none
Change-Id: If1638aeef73c8a7c5585f4afc602c619ce67a0bb
|
| |
|
|
|
|
|
|
|
| |
Allows for managing specific task regardless of windowing mode.
Converted TaskView which to use the new API.
Bug: 170153209
Test: All tests pass and bubbles works!
Change-Id: Ic5281bc9dd9124841834c88f2b85545107567417
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Test: manual with test app now that it does shortcuts too
Fixes: 170976167
Change-Id: I923b82e62e7a1247a9b4c073a8e4bf00ebb02b48
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- in landscape the bubbles now show on left/right side & layout vertically
instead of remaining at the top and being horizontal
- introduces BubblePositioner to track the config changes and available
screen rect for bubbles based on insets / cutouts
- pointer can now go left or right
- fixes issue where overflow could be past screen height in landscape
Test: manual - bubbles at the top in portrait, bubbles on left / right side
in landscape, bubbles at the top with notch, bubbles on left
/ right side in landscape with notch, with/without gesture nav
Bug: 167413172
Change-Id: I4528035fd03d17d11865ddcdddc4732f5a8e616a
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move bubbles off of ActivityView & onto TaskOrganizer. This
mostly impacts BubbleExpandedView, there are a couple of
differences spawning from that:
* taskId is the new thing, displayId's are old news
* No longer need to send back events to the bubble (we can
set the bubble'd task to intercept now).
* Now we have to subtract the touch region of the activity
content
* IME insets don't work the "normal" way (?) instead we're
now using PinnedStackListener for all our IME needs
BubbleTaskView is the ActivityView replacement & it uses
BubbleTaskManager internally to deal with the tasks.
Test: atest BubbleControllerTest BubbleDataTest (existing)
Test: atest MultiWindowTaskListenerTest TaskViewTest
Bug: 148977538
Change-Id: Id6e3bf4950218036b1626481c846ffe57b9ef857
|
| |
|
|
|
|
|
|
| |
Bug: 161980186
Test: atest BubbleControllerTest BubbleDataTest
manual - check bubbles appear in overflow & can be promoted
Change-Id: I1edf1ed14d48c5a4dfeb23c92cb7d952d50ca0ce
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Create Bubbles interface and optional mechanism
The Dependency using still remain in some class will remove or
refactor in follow-up CL.
Bug: 161980186
Test: atest SystemUITests
Test: manual
Change-Id: I88e5cc6ead1c56985aac07fe8eac39f08f114248
|
| |
|
|
|
|
|
|
|
|
| |
This CL also refines the color view logic which checks the system bar
appearance instead of system UI flags.
Bug: 149813814
Test: atest InsetsAnimationControlImplTest InsetsControllerTest
InsetsStateTest InsetsPolicyTest InsetsStateControllerTest
Change-Id: I26d93b3508c84e436133085bd316ade54d00d76a
|
| |
|
|
|
|
| |
fixes: 162901735
Test: touched tests
Change-Id: I230d65d76b1bc8dfbae304b33579e7eb96d0593d
|
| |
|
|
|
|
| |
Bug: 165710928
Test: Launch a bubble and verify it shows
Change-Id: I59b96d31d541aaeab52e44bcc8e30ba2154872d4
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Bug: 162627132
Test: atest VirtualDisplayTest#testTrustedVirtualDisplay
Test: atest
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles
Test: atest DisplayTest
Test: atest VirtualDisplayTest#testTrustedVirtualDisplay
Test: atest VirtualDisplayTest#testUntrustedSysDecorVirtualDisplay
Change-Id: Id06b2013ef5fdeadf321f14f8b611c733031d54d
|
| |\
| |
| |
| | |
dark mode."
|
| | |
| |
| |
| |
| |
| | |
Bug: 159654050
Test: manual
Change-Id: Iecd94cb96ffceff4cea8f5bf5f6ea32a2bf64cfa
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| | |
Fixes: 159994627
Test: treehugger
Change-Id: I8fe254db178eb3fc6def26cb4e32c2f3ce7a8e72
|
| |/
|
|
|
|
|
|
|
| |
Bug: 161939484
Test: tap manage menu app settings => stack collapses so fast that
there is no discernable difference between waiting and not waiting for
collapse animation to finish before starting the settings activity
Change-Id: I87b8c4418bd8f99821a2f6221fd35f651a98a748
|
| |\
| |
| |
| |
| |
| |
| |
| | |
am: 0e3d9d31a2 am: 8c7fa9de80 am: 6f9511d8a4 am: 44f7c4e1d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12037679
Change-Id: Ibe38cf1c37027025c36411119b49b38e18082589
|
| | |
| |
| |
| |
| |
| |
| | |
Test: manual
Fixes: 160177818
Fixes: 149918957
Change-Id: I429fc3bcd409cf57276617bd8c9aab26194d3af9
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
am: 1e4f4aec95 am: 047d1e5cb7 am: 79ed761e3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12010086
Change-Id: I90efd719d9626a84210094d39c059a6ef11aad75
|
| | |
| |
| |
| |
| |
| | |
Bug: 159769573
Test: no crashing
Change-Id: I139091a1b4689e13b2b3337ee2988df662798204
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
issues." into rvc-dev am: d65287ec7b am: 7c8b242780 am: 2d79d7f263 am: 41ece504f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12000522
Change-Id: I515a8fa1727fcaa0577938a61d28f906eb504c91
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds the following to the stack state:
expandedContainerVis: 0
expandedContainerAlpha: 1.0
expandedContainerMatrix: Matrix{[1.0, 0.0, 0.0][0.0, 1.0, 0.0][0.0, 0.0, 1.0]}
As well as a new 'expanded bubble state':
Expanded bubble state:
expandedBubbleKey: 0|com.facebook.orca|10000|ONE_TO_ONE:903330182:1183835847|10375
expandedViewVis: 0
expandedViewAlpha: 1.0
expandedViewTaskId: 27543
activityViewVis: 0
activityViewAlpha: 1.0
Test: dumpsys
Bug: 159861400
Change-Id: I964803b77ad5a0b3780c219ac919d6bd4316c53f
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
way actually works." into rvc-dev am: 88e88190eb am: 644d1add13 am: 5648d9349e am: d32a0e7a8a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11948939
Change-Id: I3760639b9ffb949ce9770333fe12e803e76ad3b4
|
| | |\
| | |
| | |
| | | |
way actually works." into rvc-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
actually works.
This technique is also used by the Recents animation to hide the IME. It replaces the AV back press workaround entirely, which fixes the IME hanging around issue (and by extension, the weirdness around the insets).
Test: open a bubble (go/use-bubbles), focus an input field, then tap outside the bubbles UI to close the stack, observe that the IME hides
Test: open a bubble, focus an input field, switch to another bubble, observe IME hides
Test: open bubble, focus input field, switch to another bubble, focus input field, switch to the original bubble, focus input field, collapse stack, observe IME hides (previously the IME would remain visible)
Bug: 159369847
Bug: 159561847
Change-Id: I09f27b3c187a7bcfbef663cd3101a74ad8ab95ab
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
into rvc-dev am: a5ac201acd am: 87ee1802a7 am: 23c2510f0f" into rvc-qpr-dev-plus-aosp am: aec62ad88e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11976562
Change-Id: I29e8068a2683449b2ad168c99169ef7f52e8c124
|
| | |/
| |
| |
| |
| |
| |
| | |
Fixes: 159540176
Test: overflow labels set to chat name instead of app name
Test: only bubbles with metadata shortcut persist after phone reboot
Change-Id: Ia102f257953c7ba09cacb37aa1915f1dd1798d5f
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
into rvc-dev am: c74779746e am: b0682c456f am: e5062ff26c am: fcf885f21a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11932514
Change-Id: Ica68b7aa3e0420a482b9bbf07ec239c036befbb7
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This usually happens via onSingleTaskDisplayDrawn but this is occassionally not called despite the display drawiing just fine.
Bug: 158787329
Test: open like 200 bubbles
Change-Id: I704f8e4246eb96cac5a62803f4e4b7c11f01b046
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
b5a4639c36 am: c1a9c426ef am: 2936598044
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11925297
Change-Id: I76904ab23d20f53232978824c95e8f1de125d189
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bubble position is calculated w.r.t left screen edge.
Pointer position is set w.r.t right end of expanded view left padding.
Add missing correction for expanded view left padding.
Fixes: 158621663
Test: pointer points to bubble center
Change-Id: I94d320b0b599865378d8297d50f555d5edd07203
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
7ea1586752 am: d0e74868ab am: 3e401ce43d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11848935
Change-Id: Ieb39bf1750345f1c9776e9c9f2bcbf0e13d065a9
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 158675544
Bug: 158675318
Test: manual - rotate phone to landscape, with stack expanded /
collapsed-then-expanded, select bubbles and overflow, see that
Overflow height matches normal bubble activity
Expanded view at correct location and size
Pointer still points to correct bubble
Bubble spacing is wider as intended
Change-Id: I32bf1cdeaa4bade4d806e04b423f56991b41c3be
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: ef27095582 am: afc476e35d am: cbec8ce283
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11873745
Change-Id: I33f1050269c83bb7bbfac163dc384ecf865eca48
|
| | |\ \ |
|
| | | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. decouple Bubble from NotificationEntry
2. save title from Bubble into BubbleEntity
3. copied boolean values from NotificationEntry into Bubble for UI
variants (e.g. isVisuallyInterruptive, isClearable,
shouldSuppressNotificationDot... e.t.c)
Bug: 151474524, 159061670
Change-Id: I606c6ff93b3dc3867b4d0a6129d7117d9999c170
Test: atest android.app.cts.NotificationManagerTest
This reverts commit 2e73117c0e71554de126c75ee4135c89852bdb90.
Reason for revert: issue fixed, rolling forward again
Change-Id: I1180954a76bee9782df46de0f202c614f05d560f
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
5ee6fd6f43 am: 943d53ddd3 am: bddb8105f9 am: 2701a3fb07
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11833785
Change-Id: I77ea8c39101e9684fa39ddb70441747f68b419d3
|
| | |\ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add moveTaskToFront call to ensure activity resume when bubbles
expanded which means activityView status is activity started.
Bug: 152416787
Test: Check event log
Test: Open FB messengers, expand FB messengers bubbles and click back
Change-Id: I9f95e42a4573185df83c0e7438972fea84bbb176
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
TaskEmbedder" into rvc-dev am: 1c2e8eafff am: 3983dda63e am: a221212709 am: afa2d8c4d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11862402
Change-Id: I30ae73cfa7129bb5fd1863c96d4788e349420e09
|
| | |\ \ \
| | |_|/
| |/| |
| | | | |
TaskEmbedder" into rvc-dev
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There is a case in Bubble that we might release a un-initialized
TaskEmbedder while calling ActivityView.release() (ex. create a bubble
and don't expand it and then dismiss it) which will cause an exception.
Allow ActivityView.release() to be called at anytime and check the
initialization state before calling TaskEmbedder.release().
Bug: 155417004
Test: 1. Add bubbles and don't expands them then dimiss them
2. Check logs.
Change-Id: I583ddd36f407c908cb63c109834940fc91c8d130
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
8f8af41376 am: 6756cf6956 am: 905ddb8fab am: 834b207364
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11872875
Change-Id: Id8d4b4e39f183593276ffa5615acc5dca402df40
|
| | |\ \ \
| | |/ /
| |/| | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit d07c2deaf035e8aae86fa5f0b11ef36d237d653a.
Reason for revert: debug test failure in b/158986168
Bug: 158986168
Change-Id: I10cb613e4f160561c06944aebccaf16c090bcd9e
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 2aab9277e0 am: 5b24703e52 am: 7f0c392328
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11668704
Change-Id: Id474023d2a0299f5e84f7b8be42719a70adfed50
|