| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Partly includes:
commit fbbe5de6640ac0b8a52e948d246b19b4487ce521
Author: ezio84 <brabus84@gmail.com>
Date: Sat Oct 21 14:46:24 2017 +0200
Slim Recents 3.0 [1/3]
Refactored/improved everything.
Slim Recents won't never die.
http://i.imgur.com/PO3RSeg.gif
[SpiritCroc]
Bring to P
Change-Id: I9deb0412e2421df2ac2755f2111a3cec70a7d2c4
commit c14325728a9d87d35e2137bb6f0dba77769592df
Author: SpiritCroc <dev@spiritcroc.de>
Date: Tue Apr 2 11:06:14 2019 +0200
Slim recents old enter/exit animation [1/3]
Change-Id: Ib10f54d56de9c4dc6cab827c21cca9363ffaa820
Change-Id: I3c3486fa94a35f17e48c7a2943cad7fea5c69e78
|
| |
|
|
|
|
|
|
|
| |
Context is no longer passed in as a constructor arg.
Bug: 229228871
Test: manual
Change-Id: I3dd5e593f209d120eb36faf33ba629a2066ad3f5
Merged-In: I3dd5e593f209d120eb36faf33ba629a2066ad3f5
|
| |
|
|
|
|
|
|
|
|
| |
This is the first step in moving over to the new public
android.util.Dumpable api.
Bug: 217567642
Test: m SystemUI
Merged-In: Ibaebcfb2c6c5326d0c45b8c72d868c76655d89a0
Change-Id: Ibaebcfb2c6c5326d0c45b8c72d868c76655d89a0
|
| |
|
|
|
|
| |
Bug: 205725937
Test: manual
Change-Id: I045a8b4b21cae0f4a6e61502384e2b1a607bc1c6
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were some legacy ways to trigger split screen through
Recents.splitPrimaryTask. Decouples the API from Recents and migrates it
to WM Shell library.
Removes SplitScreen.onDockedTopTask and SplitScreen.onRecentsDrawn
because we have SplitScreenTaskOrg to instantiate new deivider bar and
resize primary/secondary split after entering split screen mode.
Fix: 169056724
Test: atest SystemUITests
Test: atest WMShellUnitTests
Test: manual trigger splitPrimaryTask api and check
Change-Id: I68979e2e32c7ff36d35ae451c81dcf09e2dc5ef6
|
| |
|
|
|
|
|
|
|
|
|
| |
Removes legacy recents callbacks between recents and split screen since
there's no need to interact with RecentsActivityStartingEvent and
RecentGrowingEvent after deprecated legacy recents implmentaton.
Bug: 161116823
Test: atest SystemUITests
Test: manual check recents behavior while in split screen mode
Change-Id: Iee1546d41ae2b1a8e4162cbb2fa599162a5b308f
|
| |
|
|
|
|
| |
Bug: 142537875
Test: atest SystemUITests
Change-Id: I6c48b182c1e6a1ff8b5ce352a40b5afdb5f07442
|
| |
|
|
|
|
| |
Bug: 143972303
Test: atest SystemUITests && manual
Change-Id: If430d99b2a8b8721cc3ec753a85685d2485fa16b
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makes AuthController, GlobalActionsComponent, InstantAppNotifier,
SizeCompatModeActivityController, and TvStatusBar all injectable.
Prior to this CL, CommandQueue contained within it a SystemUI object
that it used to start itself up and add itself to components. With
this change, the SystemUI object is no longer necessary, as Dagger
will ensure that a CommandQueue is available to those who need it.
Bug: 143702229
Test: atest SystemUITests
Change-Id: I2763a6d918b41fe27a2370fdd820da476654e14f
|
| |
|
|
|
|
|
|
|
| |
The next step is to remove `components` from the SystemUI objects
and replace them with Dagger injection.
Bug: 138786270
Test: atest SystemUITests
Change-Id: I27415a8fa8ba0378599356426d849c9cfb9879d2
|
| |
|
|
|
|
|
|
| |
This removes all calls except one, which is used in a View.
Bug: 136279712
Test: atest SystemUITests
Change-Id: Ibadb81a41a4d23208842a99fa89436fd34b7a8a0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By this CL, we could dispatch Callback to fragments on the specified
display. I also add some annotations for documenting.
TODO: 1. add tests for multi-display.
2. make registerStatusBar be an IStatusBar API to propagate the
information when a display is added or in the initial step.
3. Introduce AutoHideController
Test: atest SystemUiTests
Bug: 117478341
Change-Id: I864600f929c1d0c8aa39274f30c17b213b754d86
|
| |
|
|
|
|
|
| |
For consistency and future utilities
Test: existing tests pass
Change-Id: If7bc2774452b01f2b3607d559f1f57e54ec06b6c
|
| |
|
|
|
| |
Test: n/a
Change-Id: I432e11b52deb7974e50f62076af3b7aa07e364b6
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move all legacy recents code out of the core sysui code
- Add separate target for products which still depend on it
- Move overview proxy implementation into another implementation of the
recents interface
Test: atest SystemUITests
Test: Push SystemUiWithLegacyRecents to the system image
adb shell pm disable com.google.android.apps.nexuslauncher/com.android.quickstep.TouchInteractionService
and ensure that the old recents implementation still works (and split
screen)
Change-Id: Iad67218ec37c13c79b6393d87f6bdc4f3996e2c6
Signed-off-by: Winson Chung <winsonc@google.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Removing references to SystemServicesProxy (to be removed) for
AM/WMWrapper
- Removing unused code for old nav bar swiping logic, and also unused
and quickstep-incompatible code for dragging in recents
- Removing all event bus logic from outside recents subpackage
- Exposing PipUI component for bridge caller
Bug: 114137554
Test: Can still swipe up
Change-Id: Ibcfbe06acae06ea5950615cabd52243279fee16d
|
| |\
| |
| |
| | |
PIP." into pi-dev
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Bug: 77152886
Test: Lock the screen with any show-over-lockscreen activity, then press
the recents button, ensure you are prompted to unlock
Change-Id: Iaa402c8c0fbf743c3410882a888a487d45085fa5
|
| |/
|
|
|
|
|
|
|
|
| |
- Currently a workaround for accessibility use case for split screen,
this logic is not used for quickstep so just skip waiting for draw
to animate the divider.
Bug: 74531468
Test: atest CtsAccessibilityServiceTestCases:AccessibilityWindowQueryTest#testWindowDockAndUndock_dividerWindowAppearsAndDisappears
Change-Id: I4b584443d4bf6acfbda92e5a2bfcd4470636d6c5
|
| |
|
|
|
|
|
|
|
|
| |
This is the systemui side of showing launcher's overview when it decides
to allow users to trigger overview with the overview button in the
navigation bar when quickstep is enabled.
Test: manual - tap overview button in nav bar
Bug: 67957962
Change-Id: I0d59d60d4b4ce1df9dcf2a745f9a5efd415b8582
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When quickstep is enabled, ensures that the home button is gone when
locked to task without home access and prevents quickstep when overview
access is disabled. When quickstep is disabled, fixes recents visibility
according to overview access. Also prevent screen pinning after locking
task to app.
Bug: 72799389
Fixes: 73886663
Test: manual - use quickstep when locked to task
Change-Id: Iacfa0b12374217511602cee6c2ca5ceafd6e2964
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Update the minimized state when docking an app from home to ensure that
the animation of the docked task goes to the right bounds
- Temporarily block the invocation of the old recents activity when showing
recents as a part of setting the windowing mode of another task (this is
fine right now because quickstep only allows docking via the UI and not
from the nav bar while another task is open).
- Add proto field so we can determine whether to check the recents activity
from the split screen CTS tests
- Also fix issue with invisible docked task due to wrong bounds calculated
due to launcher not notifying the divider of the first docked frame
Bug: 73118672
Test: go/wm-smoke
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerSplitScreenTests
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerTransitionSelectionTests
Change-Id: Ib1208501c311de009a9e706103134865c521cb63
|
| |
|
|
|
|
| |
Bug: 70294936
Test: Ensure that launcher can check screen pinning state
Change-Id: I2951fb3605525c5cdb7b27b099c95a762322971c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove extra argument from the invocation of Recents from AM/WM, fetching
the states directly. This also fixes the issue with the docked task from
showing in Recents since the state will trigger the preloaded task stack
to be invalidated.
- Move Recents stack update to onStart() to ensure that it is updated with
the changes introduced in ag/3338461
- Fix an issue with the initial state being clobbered when entering split
screen
Bug: 70279132
Test: Long press recents button to split screen, verify task is not visible
Change-Id: If5a3ca1d86fa0025d6b1e08abf73fe80a390ef8e
|
| |
|
|
|
|
|
|
|
|
|
| |
- Make some methods public
- Allow load plan to take current user id when preloading
- Add methods to start activity from recents and get the running task
- Removing some unused methods
Bug: 67510855
Test: Launch Overview
Change-Id: Iabc45763214e82e968a4c872e22fd50ff7c2ba2e
|
| |
|
|
|
|
|
|
|
|
| |
- Move the task stack listener wrapper into the shared lib, along with some
other AM calls.
Bug: 67510855
Test: Launch recents
Change-Id: Icb5ea78ec42d4b76a1c531ce336dd9a3f07a9629
|
| |
|
|
|
|
|
|
|
|
| |
Renamed a few functions related to moveTaskToDockedStack to use the new
notion of split screen primary windows instead of docked stack. Most of
the calls that use moveTaskToDockedStack are renamed.
Test: go/wm_smoke
Bug: 68017311
Change-Id: I73df051a9261d213b3415ac132962d91ec632e0a
|
| |
|
|
|
|
|
|
|
|
|
| |
- Creating com.android.system.shared library with recents model code and
corresponding recents tests
- Removing notion of blacklisted apps since that is now obsolete.
Bug: 67510855
Test: It builds, Recents runs
Change-Id: Ib1f5eefa6e4d4964366061246002509e2e15b19e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bus event DockedFirstAnimationFrameEvent was not fired to
DividerView from secondary to system user so the last snap target for
DividerView was not recorded instead the bottom of the screen was the
last target. Since the bottom of the screen is last recorded, when
unminimizing, the dividerview goes to the bottom of the screen and
dismisses. This is fixed by piping the event from the secondary to
system user so that DividerView can get the event.
Fixes: 67326180
Test: manual - go to secondary user, drag to dock and minimize, press
recents button
Change-Id: Icd7497c49826d04dc907ef2eff3a5248e78ef67b
|
| |
|
|
|
|
| |
Bug: 67510855
Test: Code removal
Change-Id: I608eda163318acbb53c67ed96e3f81383b7c17c0
|
| |
|
|
|
|
| |
Bug: 67510855
Test: Code removal
Change-Id: Ib56cdb1153ba85dd09e815b054dc0e12d04cfd38
|
| |
|
|
|
|
|
|
|
|
| |
Replaced usages with ACTIVITY_TYPE_HOME, ACTIVITY_TYPE_ASSISTANT
and ACTIVITY_TYPE_RECENTS.
Test: go/wm-smoke
Test: Existing tests pass.
Bug: 64146578
Change-Id: I62c55c99df86dba8c9ba9d9986049de1b1083234
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a fix caused by a side affect from ag/2815906. The entrance
animation did not finish causing the incorrect animation. The flag
waitForTransition was set false too early and should have been set
to false once the entrance animation finishes not when the app
transition finishes.
Fixes: 65636735
Test: use low ram device, load apps, launch recents, continously tap
recents button
Change-Id: I8b13881082ba784c509d11e77b12c8c15739ad78
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- When a task is locked, the logic will still try to start the recents
activity (but will fail since it's a lock mode violation). Nothing
resets the state, so the button will stop responding. Instead, skip
handling of the button until the user unlocks the task. Also add a
final fallback for resetting the waiting state, whenever an app
transition completes.
Bug: 65059121
Test: Launch app after pinning app, tap the recents button, and then
un-pin and try to re-enter recents.
Change-Id: I0215957f041241b5a61d7fd5b784410368bbd996
|
| |
|
|
|
|
|
|
| |
This reverts commit 0ea67d82e39ef4a2a1dfecd4796ab3e901cbc9e1.
Bug: 64345190
Change-Id: I353c064db7bfaf91e98b5fd0d3e7180381a1b2b8
Test: n/a
|
| |\
| |
| |
| |
| |
| |
| |
| | |
into oc-dr1-dev
am: 673e3c41ec
Change-Id: Iedcf8f27eacdba8ad96a4753fb108f4539930fb9
|
| | |\
| | |
| | |
| | | |
into oc-dr1-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
From ag/2572257, this change will ensure the transition wait flag to be
false when recents runs "onStop" or when it becomes invisible. This
should fix edge cases when a user goes from Recents to somewhere that
is not a fullscreen app (like home). Resetting the state should allow
users to use the recents button without getting blocked.
There is only two locations where the flag is set to true, when user
starts recents and when an app is started from recents. When a user goes
from recents to home with the recents button (when the phone gets into a
wierd state), then the flag is true but home does not reset the flag
because the old change expects a non-home app to start. Now whenever
recents is dismissed, the flag will be reset.
Fixes: 37277853
Bug: 64098508
Test: start recents with apps in it, go to guest account, start apps in
recents, go back to main account, unlock keyguard, press recents button
to dismiss recents (do not press home or back), it will go to home,
press recents again
Change-Id: I07c292d701a621685c836a4f6040864377f0a3dd
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
from Recents.""" into oc-dr1-dev
am: c7d24aed82
Change-Id: I96ed9a5f7f295b1a3f3a9199547945e4958a34a3
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Recents.""
This reverts commit e234933fbf35080a6e82e66d4c30d33671bb06f2.
Reason for revert: Fixed the issue that needed to be reverted.
Change-Id: I6cd58338e76eb2790bd056945fc4f04b8366d441
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
Recents."" into oc-dr1-dev
am: 0151c395b5
Change-Id: I2ae775926cdd52e2e0fb00cd2c2fb2b7dc92e863
|
| | |
| |
| |
| |
| |
| |
| |
| | |
issue 64098508
This reverts commit 7b088c3e2820809437ad40e88a457c220943692e.
Change-Id: If3c1e324d231c5f29a5c68812fe93af6a7335b11
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For now the implementation is set behind the ActivityManager flag if the
device has low memory.
This implementation has a linear list of tasks and less functionality
such as removing split screen and reducing the amount of tasks shown to
9. For more information please check out the bug.
Bug: 62251652
Test: manual
Change-Id: I8e0a822a865089df1e8bef55ca61ed30978748d0
|
| |\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| | |
into oc-dr1-dev
am: aa5937a366
Change-Id: I75c7bf10c58705dbe26ba60804fc18d1e8257906
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Removing code that cleared the pending options for an activity when it
is fetched by the app.
- Only handle the first window-animation-started callback from the system
when transitioning out of Recents.
- Add logic in Recents to disable toggling Recents while an activity
transition has been requested (ie. activity started) and the transition
actually starting. This prevents some cases where interleaving of the
transition updates can occur while the app takes a long time to draw
when it is resumed which could cause animation jumps and weirdness.
Bug: 37277853
Test: Launch between apps quickly, especially those with camera.
Change-Id: I7ff8a83539334a39b0ae049d267d1ab14a38e2f6
|
| |\|
| |
| |
| |
| |
| | |
am: 84510887b0
Change-Id: I5483d77315ae0db8c35e8535ea8e754908e3d235
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Adds new mechanism for activities in sysui to be replaced by plugins
and allows that to happen for recents.
Test: runtest systemui
Change-Id: I8b570ce7c57484c58a52afe5e247d24ebfa0c57f
|
| |/
|
|
|
|
|
|
|
|
|
|
|
| |
Apps with a normal UID are typically isolated enough to not require
socket tagging; we're mostly interested in tracking down internal
UIDs that have lots of code sharing the same UID.
Also fix up everyone doing manual string checks of Build.TYPE, since
we now have first-class fields for those.
Bug: 38126076
Test: builds, boots
Change-Id: I3a40348196bd8459289f2b9355d9783a07f1e7dd
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Changes in the CommandQueue callbacks resulted in the default
implementation of preloadRecentApps() to be called instead of the
actual implementation in the Recents component.
- Removing extraneous methods in the interface called from other parts of
SystemUI.
Bug: 38390446
Test: Launch Recents, ensure that preloading is hit first on touch down on
the button
Change-Id: I28f7ac47eafa76a53343505f3352760e6510c213
|