4a526c124554e75dc4bc11a682645a73bd47d501 |
|
16-May-2017 |
Winson Chung <winsonc@google.com> |
Ensure that we use SF Vsync Choreographer for the PiP transition. - Move the bounds animation onto the animation thread - Remove existing code referencing the old sf-vsync choreographer - Add ability for ValueAnimator subclasses to reference a different AnimationHandler, which uses a different FrameCallbackProvider with the sf-vsync choreographer in the animations that require it - Ensure that PiP touch events are batched and sent aligned with the sf-vsync - Move GC onto its own thread to not block other BackgroundThread calls Bug: 36371375 Test: android.server.cts.ActivityManagerPinnedStackTests Test: bit FrameworksServicesTests:com.android.server.wm.BoundsAnimationControllerTests Test: go/wm-smoke Change-Id: I6a41b35a4e4d4d6dbea82c2673452825fe3ffa58
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
69a9c170b39cf26293a5b6d80e9aeed47b17b385 |
|
06-Jun-2017 |
Winson Chung <winsonc@google.com> |
Run explicit GC to clear references to bitmaps earlier. Bug: 38258699 Test: Open Recents, dump meminfo, close Recents, wait, dump meminfo Change-Id: Ibdcf94aee4fac9abcde64e30ae1f13cbb551fec0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ee69756d542c9e65389e2907c2dc7aa8cca1250d |
|
18-May-2017 |
Winson Chung <winsonc@google.com> |
Adding cached value for current user for per-SysUI process components. - Also ensuring that we don't do additional work for non-current users when the task stack changes. Bug: 38390446 Test: Launch Recents in multiple users, ensure that it works and does not make a binder call to get the current user id Change-Id: If075675edc3874d809bad30d0aa564a8e59771d3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
b114e4ff82ba0b4d2d684d8dfbcb7f7e4a1f8d8d |
|
18-May-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Optimize latency when unlocking phone" into oc-dev
|
e549a8d62108c7c7dabedbf4e77b9a653781723b |
|
15-May-2017 |
Jorim Jaggi <jjaggi@google.com> |
Optimize latency when unlocking phone Latency when unlocking the phone regressed a bit for two reasons: - For lockscreen -> app we now have to create a full starting window containing the snapshot, while previously this was just showing a surface. - For lockscreen -> home, we can't use the saved surface anymore because currently we don't support snapshotting translucent activities. However, in the long term, we want home screen to be more involved into transitions anyways, so we'll have to wait for the first frame draw anyways. However, crystal ball trainee developer Jorim added some artificial latency in this transition 3 years ago, because he knew that it is going to be an issue at some point so we have some headroom to improve! Genius! On a more serious note, it was because he didn't understand how to read systraces with binders involved (to be fair, there was also no binder tracing). Now, we can completely fix the introduces latencies above by removing this latency of 100ms, and we are 30-70ms better than before! However, this requires a lot of discipline in SystemUI. Currently, the callback to dismiss Keyguard takes around 30ms. By moving all non-essential binder calls of the main thread or to the next frame, we bring this down to 5ms, such that window animation and Keyguard animation starts about at the same time. Test: Take systrace, unlock phone...profit! Fixes: 38294347 Change-Id: I481fe4ecf358ed09f7142dd9e7ecd290b53c500c Merged-In: I3ea672bc2eca47221bc6c9f3d7c56b6899df207d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
2349481d6296da7024b097e78d1676ba0393bf8f |
|
17-May-2017 |
Winson Chung <winsonc@google.com> |
Merge "Fix call to get the current user id from a secondary SystemUI process." into oc-dev
|
d664269d58bde69b4b8cd371084dc1ed40956978 |
|
17-May-2017 |
Winson Chung <winsonc@google.com> |
Fix call to get the current user id from a secondary SystemUI process. - The secondary SystemUI process's KeyguardUpdateMonitor is not updated so we can't rely on it to get the current user id. Bug: 38372598 Test: Switch users, launch some tasks, and switch back. Ensure that original tasks still exist Change-Id: I26a7c70b5f7032a106dc1342c8b366e4797e8fa0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ef496ea80dfcc468bd051b9379f61e8fe141814d |
|
13-May-2017 |
Jorim Jaggi <jjaggi@google.com> |
Optimize App -> Recents - Use same strategy to draw thumbnail bitmap by moving startActivity off from the main thread and start caching the future when AM is busy executing startActivity. - Move some binder calls off the main thread. - Add some trace points for better analysis in the future. - Make toggleRecentApps asynchronous so we don't have to wait on the next app-vsync - it's totally not needed. Test: com.android.apptransition.tests.LatencyTests Fixes: 32668632 Change-Id: Id6483e26e9d6c1e319bceaa8268da976cedfbca3 Merged-In: I15db41f2e821779972ab3b430033c70aa1dfd907
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
0553cbcf3654734438fa8f2fc88b9c6f2578daa9 |
|
17-May-2017 |
Winson Chung <winsonc@google.com> |
Merge "Updating Overview to work with PiP" into oc-dev
|
34795e31971b5495fcf91c1063dcb689957e2c9f |
|
12-May-2017 |
Jorim Jaggi <jjaggi@google.com> |
Optimize hot launching recents Rearrange how we generate the transition specs, which involves creating a thumbnail on the mainthread (about 10ms on large devices): First, we put launching the activity onto a handler thread (with default priority), to free up the main thread. Then, we immediately start generating the thumbnail such that when the future calls us we have the generated spec already handy. For that we need to be able to supply a specs future into ActivityOptions, to avoid race conditions. Furthermore we need to make sure not to call into WM while creating specs, to avoid WM lock contention. Test: App -> Recents -> Same app, inspect app transition logs Test: Double tap recents for quick switching Bug: 32668632 Change-Id: I6001e29145f8e56deb9c4ead46c53c87c9191436 Merged-In: Ic6ec65c2560f67cade3b5ddde9f79ee13e9ba32c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ddb449efd9671f4c89470d645acd0b84e6a6ff15 |
|
12-May-2017 |
Jorim Jaggi <jjaggi@google.com> |
Get rid of a lot of binder calls Lead to delays when entering recents. Test: Open recents Bug: 32668632 Change-Id: I7b5504d0c11208d9c4d55de2eace6407d186f25c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
b502690e2d0a120993279a6fe800ad07dccc8872 |
|
03-May-2017 |
Winson Chung <winsonc@google.com> |
Updating Overview to work with PiP - Ensure that an activity that is auto-entering PiP when hitting Overview does not show up in Overview. This is done by listening for the onActivityPinned() callback from the system, and remove the pinned task. - Ensure that we show the PiP task in Overview after it is dismissed, while Overview is open. This is done by listening for the onActivityUnpinned() callback from the system and refreshing the task list similar to when the multi-window mode changes. - When launching from a PiP activity, or launching back into Overview where the next task should be PiP, then ensure that we scroll the stack to the front so that the first task is fully visible. - Fix two lingering Overview issues, when there are no handlers (ie. with dynamically registered handlers), ensure that we call pre/post dispatch callbacks (otherwise it could cause animated events not to work correctly). Also, ensure that we don't update the dummy stack view TaskStack without clearing the stack first, since we may be modifying the same stack that the activity consumed when starting. Bug: 34185886 Bug: 38207296 Test: Launch PIP activity from hitting Overview in the various ways described above Change-Id: I699e655106e6ed7206e163f9d3c15477bbfd52ef
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
e6385a23d7d7e0628544c9751c59507d1df7885c |
|
03-May-2017 |
Winson Chung <winsonc@google.com> |
Workaround launching PiP task with CLEAR_TASK & NEW_TASK flag. - When launching an activity with CLEAR_TASK and NEW_TASK, the result code of the start is START_SUCCESS, but we still need to notify SystemUI to expand the PiP. However, because the PiP transition now waits for the first draw, this can cause severe jank and delay if the original activity is a trampoline activity. As a workaround, we immediately move the task to the fullscreen stack when clearing and restarting the task to ensure that the new task shows without delay. Bug: 37501224 Test: Open YT in PIP, launch sub-shortcut from Home Change-Id: I16bebf19b082f30695e99da1d93bc4adf5e9df0c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
3b37966ae488559ca3fd1de60ec510f585da69ad |
|
24-Apr-2017 |
Jorim Jaggi <jjaggi@google.com> |
Add tracing for onTaskStackChanged Test: Capture trace Bug: 37550083 Change-Id: Iee302b189768419fe8a55d041ce65e861ef3c1f1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
f3cfa89d0960e2a450b25ca7c9196762c683dcd3 |
|
24-Apr-2017 |
Winson Chung <winsonc@google.com> |
Move RecentsImpl task stack listener to background. - In RecentsTaskLoader, synchronize on anything that might use the thumbnail cache - In RecentsLoadPlan, remove synchronization when preloading/executing since that is done in the loader now - In RecentsImpl, synchronize on anything that might use the dummy stack view Bug: 37550083 Test: Launch Overview and some other tasks, ensure everything still works Change-Id: I36d04566ebb04296f67a3233730c1dc5bc1569f4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
036e3adce72b39ac5baefcf059891d6951206d81 |
|
19-Apr-2017 |
Andrii Kulian <akulian@google.com> |
Don't put non-resizeable activities on secondary displays There is a contract that a non-resizeable activity cannot get a configuration different from the global config (or fullscreen config on primary display). This CL ensures that for launching on secondary displays and checks if target display's config matches the global config. If a forced-resizeable activity is launched to a secondary display or there was an attempt to launch a non-resizeable activity that failed, corresponding toast message will be displayed. Bug: 36777179 Test: android.server.cts.ActivityManagerDisplayTests Test: #testLaunchNonResizeableActivityOnSecondaryDisplay Test: #testLaunchNonResizeableActivityWithSplitScreen Test: #testMoveNonResizeableActivityToSecondaryDisplay Change-Id: I5346afe740e78e4e5ba9a9694e97ac60b92663e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
15b48ff4de81c60263db6f70b226a4dfe3607b05 |
|
19-Apr-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Creating a common class for loading drawables and handling various badging" into oc-dev
|
bab3075e2ee85de8b0ac6c3961eae5156a95c699 |
|
13-Apr-2017 |
Sunny Goyal <sunnygoyal@google.com> |
Creating a common class for loading drawables and handling various badging Test: Manually tested on device Bug: 36591157 Change-Id: Ic847537d416650015cecaeb68f47f7f032e0dbaa
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ed20f3a34e5539023d2f72b89a4081b20ca105c5 |
|
18-Apr-2017 |
Winson Chung <winsonc@google.com> |
Update Overview content descriptions. - If there is a task label with a provided task description, ensure that it is used instead of the activity label when generating the content description (the concatenation of the badged application name and activity label. - Also fix a case where content descriptions can go stale if they are updated between first preloaded. Just don't cache the content description if there is a task description. Bug: 37417229 Test: Launch Play store, go to Overview Change-Id: Ieeef9ecd93759c130dc66902f249783e7d218be7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
e630923b557f1ec03a95a2490bfd4d432a5295e6 |
|
14-Apr-2017 |
Jaewan Kim <jaewan@google.com> |
TV PIP: Remove onboarding activity and overlay activity Remove both activities until the new OC UX spec is finalized. Bug: 36370535 Test: Manual test (Checked that onboarding nor overlay activities aren't shown after the FDR) Change-Id: I97c4b2038aabf4f00cac957af6b79dcd874000ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
cdef591e52e691a6f57e367caa5670fdc4ee1a8a |
|
03-Apr-2017 |
Jorim Jaggi <jjaggi@google.com> |
Improve caching behavior of thumbnails Remove the retrieval cache on system_server. It's not needed at this point. Instead, we cache the low-res thumbnails on SystemUI side that will be visible when recents launches. For that, we introduce a strong thumbnail cache, which gets filled up whenever the task stack changes. Also fix a couple of issues like that the visibility report was pretty wrong as well as some tasks got unloaded because tasks were bound before layout happend. Also fix a merge issue where we didn't load the reduced resolution thumbnail :/ Test: TaskSnapshotCacheTest Test: Open a couple of apps, open recents, make sure all thumbnails are already loaded. Fixes: 36374895 Change-Id: Idbf1acd4ceab6a7c4656e9791e245a8b102017f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
30d64f3a93f5fc5aaf75eeb38d658ef04a884b41 |
|
07-Apr-2017 |
Jorim Jaggi <jjaggi@google.com> |
Revert "Revert "Handle case when snapshot dimensions don't match"" This reverts commit ba53d8ae410976709e1413b74173a791e8dead15. Also fixes that we always had a size mismatch. Test: TaskSnapshotSurfaceTest Test: Open app in different orientation than snapshot, make sure looks ok. Bug: 36991071 Change-Id: If572b68fd72cec7679984fdff0be5905caba69f4 Fixes: 36703868
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ba53d8ae410976709e1413b74173a791e8dead15 |
|
06-Apr-2017 |
Jason Monk <jmonk@google.com> |
Revert "Handle case when snapshot dimensions don't match" This reverts commit aea6b74e17a0f7b105999adad50dd20eac17df35. Bug: 36991071 Bug: 36703868 Change-Id: Ie71992144e78a6580bfce17dfdf20396af80eacd
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
aea6b74e17a0f7b105999adad50dd20eac17df35 |
|
21-Mar-2017 |
Jorim Jaggi <jjaggi@google.com> |
Handle case when snapshot dimensions don't match If the snapshot starting window has different dimensions than the snapshots we have taken, we do the following: - Create a child Surface that has exactly the dimensions of the snapshot. - We fill the parent surface with the app background color, as well as all screen background decorations (status bar background, navigation bar background). - We also clip of the status bar/navigation bar background in some cases, as it looks ugly if it's not behind the system bars. - Furthermore, we inherit all layout flags on the window and all layout relevant SystemUI flags on the window such that it's very likely that the size will match, and the system bars are drawn correctly. - In order to make the transition from the snapshot to the real window a bit more predictable/less messy, we enforce a minimum duration the snapshot is visible, which is slightly more than our app transitions. Test: TaskSnapshotSurfaceTest Test: Open app, go home, go landscape, open app again Test: Go to multi-window, open app from recents with a snapshot taken in fullscreen. Fixes: 36703868 Change-Id: Ia2d4add6971a18ab7aa2942d2b644d6e87a402af
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ac52f2892d5c72c26387d510093ddfc741a8a632 |
|
30-Mar-2017 |
Winson Chung <winsonc@google.com> |
Ensure we show the PiP menu in response to KEYCODE_WINDOW. Bug: 36687605 Test: android.server.cts.ActivityManagerPinnedStackTests Test: #testWindowButtonEntersPip Change-Id: I0bb35fd666eb6a438e4676267f6726b44bffb3db
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
a28edc946366360cfafec6f2a6b6f2b3858eaf19 |
|
23-Mar-2017 |
Sid Soundararajan <ssoundar@google.com> |
Recents: Remove TV Specific blacklist Test: Pre-submit tests should pass. BUG: 36566671 Change-Id: I39bee60bc61b501c57b3c304f86cee7fb9c0560b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
6f9dbcb742ee930151444118dd61c2239efce09d |
|
17-Mar-2017 |
Jorim Jaggi <jjaggi@google.com> |
Implement new thumbnail loading strategy - By default, we load only the reduced resolution screenshots. - As soon as the user stops scrolling fast, we also start loading full resolution screenshots. - We prefetch reduced resolution screenshots when scrolling from back to front, as the other direction is automatically prefetched because the thumbnails aren't immediately visible. Test: Open many apps, adb restart, scroll fast and slow in recents Test: runtest systemui -c com.android.systemui.recents.model.HighResThumbnailLoaderTest Bug: 34829962 Change-Id: I7f7a9842eb28a09a18573426fa9677cee2877124
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
35e3f53a30588b79e0309fdbeef29a8c18eef65d |
|
17-Mar-2017 |
Jorim Jaggi <jjaggi@google.com> |
Also store reduced resolution screenshots In order to speed up loading time when scrolling through it in recents. They will be used in recents in the next CL. Also, we use JPG instead as loading JPG is much faster than PNG. Test: TaskSnapshotPersisterLoaderTest Test: TaskSnapshotCacheTest Bug: 34829962 Change-Id: I4c74b26969ae459bd3b1a42707011a49f425abd9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
056d2201d4b86baeff57d621336e692a3b8e6c47 |
|
21-Mar-2017 |
Winson Chung <winsonc@google.com> |
Merge "Showing notification when activity is in PiP."
|
c81c0ce2e903ae469a532e0537b2f882fd81ec6c |
|
17-Mar-2017 |
Winson Chung <winsonc@google.com> |
Showing notification when activity is in PiP. - Adding callback to SystemUI to be notified which package entered PiP, and when it leaves PiP. - Showing a BTW notification on a new PiP-specific channel. Bug: 36070720 Test: Launch PiP, observe notification, leave PiP, observe no notification Change-Id: Ibe10298288fe0464d7d136f2571e855f3f5c70ea
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
547010ff863e634186fddf75890b6894f1cfa6be |
|
13-Mar-2017 |
Hyunyoung Song <hyunyoungs@google.com> |
Add LauncherIcons.AdaptiveIconDrawableWithShadow class to support shadow b/36088922 Test: Settings app This utility class can be used to bake shadow in drawable level in system ui surfaces such as Settings, Overview and ShareSheet. Change-Id: Iaec867d9ce5b949380c1e5004b68269d1bbeacd4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
aa2b620cb76cb8a710c3c4500bc5f6975ddc7a84 |
|
10-Feb-2017 |
Matthew Ng <ngmatthew@google.com> |
Fixes minimized state to match task and stack bounds for cts test Fixes minimized state for its task and stack bounds to always match inline with the cts test that was failing. This also fixes multiple state issues related to splitting home and recents into different stacks when recents incorrectly reads home stack bounds to determine bounds for recents. Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerActivityVisibilityTests or ActivityManagerDockedStackTests Fixes: 35351074, 35145587 Change-Id: I6417a567e937c647818ff26dc08df463e6ef4257
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
330757dffa8d8de106e2c073eff09bf8238549a5 |
|
28-Feb-2017 |
Matthew Ng <ngmatthew@google.com> |
Corrects the recents and home stacks position around docked state (1/2) Since splitting home stack into home and recents, some problems where the home stack would appear above when home stack is not visible. This would cause home stack to be below docked stack and think home is visible when it is not. Then docking an app would minimize the docked stack and go into a wierd state when recents is resumed/launched. When docked stack is used, it will verify that recents is created and avoids seeing home stack as visible when below docked stack with at least 1 stack in between. Whenever an app is docked, this will make sure home stack is below recents. This will fix some parts of the cts tests that use "adb shell am stack move-task <taskId> 3 true" and avoid glitches with the docked stack. The following scenarios were tested: - Boot and dock and app without starting recents - Dock after launching an app (when recents already created) - Toggle dock with "adb shell am stack move-task <taskId> 3 true" and undocking multiple times - Dock with long press recents Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerDockedStackTests Bug: 35351074, 35145587 Change-Id: I6ac25c64f7d1050ea2260631ff4c052fcca3f185
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
d95687c3efd84f34d32e3e1637bb7bd7d1a74021 |
|
03-Mar-2017 |
Winson Chung <winsonc@google.com> |
Removing check for launched-from package to expand PiP. Bug: 35946309 Bug: 35927986 Test: android.server.cts.ActivityManagerPinnedStackTests Change-Id: I71ed03dc664a080e93427c6e18a4c1e7ff99d726
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
85d3998aa39f412f269806114b3e6154ccbee73f |
|
25-Feb-2017 |
Winson Chung <winsonc@google.com> |
Prevent PiP movement while the resize animation is running. - This was causing numerous artifacts when the user starts touching while transitioning into PiP where the move rects clobber the animating rect. Bug: 35764922 Test: Try touching the PiP while it is entering or exiting PiP Change-Id: I5a72b5bea694b01aab401d2bb78a493688a9c655
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
49affea25bcb669d845672f04b1352871c8aa8f6 |
|
17-Feb-2017 |
Winson Chung <winsonc@google.com> |
Fix trampoline activities when relaunching PiP - We should be checking the actual launched-from package since that stores the source package across trampoline activities Bug: 35458117 Test: Enter PiP from a trampoline activity, launch again from Launcher and ensure that it is expanded Change-Id: Ia0e586e8b21dee63b513bd61a41a24e7da4325e1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
3c82d3d5bfea9b6483ad0264e6956eb5a00a2a4a |
|
19-Jan-2017 |
Robin Lee <rgl@google.com> |
Theme work lock activity with the task primaryColor This involves adding another system RPC, getTaskDescription(taskId) gated on MANAGE_ACTIVITY_STACKS permission. Bug: 31001762 Test: runtest -x frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/WorkLockActivityTest.java Change-Id: Ieb996f7fab5bc79737df570e35733551118118d3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
a0ad738594476bad17440a0a16ce73de24ca1edf |
|
19-Jan-2017 |
Winson Chung <winsonc@google.com> |
Merge changes Iabb33606,I3c364ebe * changes: Falling back to media session controls. Move activity to fullscreen stack when it is relaunched in PIP.
|
3535df26e36df067b8704443e4a660526fe11e22 |
|
18-Jan-2017 |
Winson Chung <winsonc@google.com> |
Move activity to fullscreen stack when it is relaunched in PIP. - Only happens when the caller is not from the same package. Bug: 33754261 Test: Open a PIP activity, try to launch it again from launcher Change-Id: I3c364ebe31a7626b9133d9c4c1fafc718c2eecf9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
fb9d78afb77b1d304b24f470a637244d52a7e1df |
|
05-Jan-2017 |
Jorim Jaggi <jjaggi@google.com> |
Add a listener when task snapshots change Since we start recents before we take the snapshot, we need to add a mechanism to inform recents about task snapshots changes. We add a new method to TaskStackChangedListener, onTaskSnapshotChanged, which gets called whenever a task snapshot changes. Then, SystemUI registers such a listener and updates the task thumbnail view for the specific task. Test: Open app, press recents, make sure thumbnail is up-to-date Bug: 31339431 Change-Id: I01e81b9cd11886da734da671c68d5732aa51009f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
e2c77f903504766102fe545af40c3e4ebcb3adc7 |
|
29-Dec-2016 |
Jorim Jaggi <jjaggi@google.com> |
Handle content insets for snapshots Pass information about content insets of a snapshotted task to SystemUI and use it there to correctly offset the snapshot when drawing. Test: Open app, go to recents, make sure app aligns before and after the animation. Bug: 31339431 Change-Id: I2ff9bd44534bd8f66b591385da1e1e3aec40b6c5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
02886a82d876aa5e31a92444fec70208599c509c |
|
06-Dec-2016 |
Jorim Jaggi <jjaggi@google.com> |
Initial implementation of snapshots All this functionality is hidden behind a flag. If this flag is active, we disable the regular screenshots. Instead, we take a screenshot when an app transition for which a task is disappearing is starting. The screenshot gets stored into a gralloc buffer. SystemUI uses a new method to retrieve a snapshot gralloc buffer and then draws it using GraphicBuffer. createHardwareBitmap(). When starting an existing activity in an existing tasks, or when bringing an existing tasks to front from recents, we add a new snapshot starting window. For that, we reuse the existing starting window, but when creating the window, we use a fake window that draws the contents of the starting window. Test: runtest frameworks-services -c com.android.server.wm.TaskSnapshotControllerTest Bug: 31339431 Change-Id: If72df07b3e56f30413db5029d0887b8c9665aaf4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
3c6f28aa5968b1edb823495efa15e7358de5261e |
|
11-Jan-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Added TaskWindowContainerController"
|
e1fe7fa288a34ecaaab390f49ef540edc4a6c52d |
|
16-Dec-2016 |
Wale Ogunwale <ogunwale@google.com> |
Added TaskWindowContainerController For linking TaskRecord in AMS to Task window container in WMS. Bug: 30060889 Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowContainerControllerTests Test: bit FrameworksServicesTests:com.android.server.wm.TaskWindowContainerControllerTests Test: Existing test pass and manual testing. Change-Id: I16248f3e96e5087ba24198a48a3bd10a12ae76a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
c41f6ec877309d9c73168ef8cdc277f82eb0d42e |
|
10-Jan-2017 |
Robin Lee <rgl@google.com> |
Lock work tasks from SystemUI instead of ActivityStarter By adding an onTaskProfileLocked(taskId, userId) RPC to TaskStackListener and routing that through to a new WorkLockController. Bug: 31001762 Test: //tests/PoApi/src/com/google/android/afwtest/poapi/WorkChallengeTest Change-Id: I3fd28e6926c3f928e78b3c6ce0fe27413617695f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
9f4ab32b1c62d16f03d14a50f13f04ddb58c541f |
|
13-Dec-2016 |
Robin Lee <rgl@google.com> |
Blank out recents for locked work tasks Bug: 31001762 Test: WIP TaskViewThumbnailTest.java Change-Id: I259fa95f642b83728904653c75efc7e417b0ab60
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ae1ff4f85ffd12ab8a14c610b1474a012536888f |
|
11-Nov-2016 |
Matthew Ng <ngmatthew@google.com> |
Split home stack into home and recents stack Refactored functionality of home stack (HOME_STACK_ID) in the code base to home stack and recents stack (RECENTS_STACK_ID). Also changed function and variable names from homeStack to homeOrRecentsStack. Differentiating home and recents stack will allow readablilty and managing logic between home and recents stacks. For example, for multi-window minimized dock state, the home and recents stacks can be set to different rects where the home stack needs to be a fixed large size while the recents stack is hidden and the dock stack is animating to be minimized. Fixes: 32839371 Test: ./run-test android.server.cts and manually tested split and rotation Change-Id: I7603359c2dc20e35924664178634eb761e0367a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
dc589ac82b5fe2063f4cfd94c8ae26d43d5420a0 |
|
11-Nov-2016 |
Sudheer Shanka <sudheersai@google.com> |
Update usage of ActivityManagerNative. - Remove references to ActivityManagerProxy. - Add isSystemReady to ActivityManager. Bug: 30977067 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts adb shell am instrument -e class com.android.server.am.ActivityManagerTest,com.android.server.am.TaskStackChangedListenerTest \ -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner Change-Id: I07390b6124fb1515821f5c0b37baf6ae74adc8fa
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
1afcea499d329f2a543fbb42a2e2251888ddc2cf |
|
18-Oct-2016 |
Manu Cornet <manucornet@google.com> |
2-dimensional Recents activity. This is a simple first version in the spirit of small, incremental CLs. It is fully functional but the following will come in later changes: * Split screen support * Potential animations * Alt-tab behavior * Relayout on orientation changes The new activity is only started when a specific system property is set. Test: Locally on Ryu device. Added tests for layout logic. Bug: 32101881 Change-Id: I550f6e7ea0de3937dbf80e5f0294676cfe567d47
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
fc46e9b643881b7b2ab76854f3a0ac077e9def8d |
|
22-Oct-2016 |
Sudheer Shanka <sudheersai@google.com> |
Move IActivityManager to aidl. Bug: 30977067 Test: Existing tests are passing, dump commands still working. Change-Id: I9cf81c4d381ebce14a6c701e409cbb269f2ff1fb
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
906a3a8e8090a3e974a7d859f7151245ed80cfe4 |
|
04-Nov-2016 |
Manu Cornet <manucornet@google.com> |
Slightly better encapsulation for the set of recent activities Bug: 32101881 Test: Locally on Ryu device Change-Id: Ibf2f5af268ec00abc8caa6232fb517b60545ad46
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
bd54c2aab6acc50ac415dfc4a7462d12826e8223 |
|
25-Oct-2016 |
Yorke Lee <yorkelee@google.com> |
Add new methods to ITaskStackListener Refactor task change notification logic into a separate class TaskChangeNotificationController. Add ActivityManagerService.unregisterTaskStackChangedListener Add a no-op implementation that clients can subclass to avoid having to reimplement all new methods when they are added. Add new methods: onTaskAdded onTaskRemoved onTaskMovedToFront onTaskDescriptionChanged onActivityRequestedOrientationChanged onTaskFinishing Design doc: https://docs.google.com/document/d/1IgWZ44rKe9k1CzkjP2Mohv12OgRD1FxH8oLAyzhvCY4/edit#heading=h.yhzl6os0dbo5 Cherry-picked from I8302d6d3baf1ac1ca928765fe203091b9fab4070 Bug: 32277482 Test: Verify that callbacks are called in dummy implementations Change-Id: I2ac2b870147ef049f3ee05fc5916c99332334526
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
303c6b78b645a9a655e09677e4856269d278a85d |
|
25-Oct-2016 |
Winson Chung <winsonc@google.com> |
Fix wrong bounds being used in landscape. - Ensure we use the right display size when calculating PIP bounds. - Also update interface to take the display id. Test: android.server.cts.ActivityManagerPinnedStackTests Test: #testPinnedStackDefaultBounds Test: #testPinnedStackMovementBounds Change-Id: I01fd8ba6dee212c29a9a092673ee8f7843e41af6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
bf8c2c0f99e70514a37da85b1f31d91964daa0c4 |
|
19-Oct-2016 |
Winson <winsonc@google.com> |
Moving TV PIP logic to the PIP sub package. Test: Existing tests pass. Change-Id: I4ca1f68d01206cb2fc7de27f3d445d6ac13d644a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
329011cf402666678c47cd238a5170208a5bbc27 |
|
21-Sep-2016 |
Winson <winsonc@google.com> |
Removing private system ui flags from status bar flags logic. am: ab216609f1 am: b7a673ed95 am: dccfd4394e Change-Id: Ie8bbbfb5c24957f64036e8de23d6a29e6669ea18
|
ab216609f1608e61827d955fcc9fd0560bc52e4d |
|
09-Aug-2016 |
Winson <winsonc@google.com> |
Removing private system ui flags from status bar flags logic. - Prevent third party apps from inadvertently changing internal SystemUI flags through a call to setSystemUiVisibility(). These flags are only set in the individual SystemUI components and can be updated in WMS directly. Bug: 29875297 Change-Id: I5ea238c8fb16a0eccd6e993d95a912acb359cee6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
9bf04523b49bd4493b5bb1dcdfb3bfcc60e62e41 |
|
09-Sep-2016 |
Winson <winsonc@google.com> |
Merge commit 'e0b767153ef978a4ca841c9891074717fd979400' into manual_merge_e0b7671 Change-Id: I6b6810db33e4b244cc872abd69d5b18a90547b35
|
36f3f0337de86baf8cf8a5fdd67a95e61dff4bcd |
|
09-Sep-2016 |
Winson Chung <winsonc@google.com> |
Revert "Fixing issue with old tasks being visible in Overview" Bug: 28908500 This reverts commit b258f6a4bd685e5efcb36c02d5817f659e10479b. Change-Id: I9b3c04358d6ca693ed3fdcd9220af13f81eb704e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
70f21570bfeae8ac7b6d5e670be1e20d144f7805 |
|
03-Sep-2016 |
Winson <winsonc@google.com> |
Fixing issue with old tasks being visible in Overview am: b258f6a4bd am: f4806c80ca am: 2a4cd1518e Change-Id: I8a229f3515bebca4cd8456afae963bb97dac96d6
|
b258f6a4bd685e5efcb36c02d5817f659e10479b |
|
26-Aug-2016 |
Winson <winsonc@google.com> |
Fixing issue with old tasks being visible in Overview - This CL does two things, firstly, it ensures that all first & last active times are monotonically increasing and independent of the current system time. This allows us to better keep track of which tasks are historical and should be hidden, and which are not. Secondly, this CL moves the tracking of the last visible active time into the system (per user) where it can be adjusted along with the task active times when they are loaded. - Following this CL, all active times in the future will be adjusted on boot such that old tasks are made relative to the current boot time. It’s not important exactly what time they are, only that they are adjusted along with the last visible task active time so that we always keep track of what is visible. Bug: 28908500 Change-Id: I4f789df3a6bd825517cf3a70e26fb60deff89d06
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
811983b468481e26405c40f126eb7f6c7126c6f3 |
|
03-Aug-2016 |
John Reck <jreck@google.com> |
Merge "Fix RNA crash" into nyc-mr1-dev am: f09b5d7a78 am: dac945cbaa am: 07a28dfb53 Change-Id: I8a895e2ebd3d538ab1b8b959e70faf265fb1bf92
|
fc73eec235131dbf3216891f3cb2b1407e6cc099 |
|
02-Aug-2016 |
Winson <winsonc@google.com> |
Adding support for blacklisting apps from Recents transition. Bug: 30602323 Change-Id: I2a6e75a989264ce72ac552e2c7f82225ccd68adf
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
3813fc32d3e86dacfe92ff5b14a6a9f27a55d536 |
|
29-Jun-2016 |
Sid Soundararajan <ssoundar@google.com> |
Merge \\\"Recents: Make sure blacklist checks the package name as well as activity name\\\" into nyc-dev am: 10b2fee05f am: aea3d63f85 am: df66e8e283 Change-Id: Ibbaa3f7d7e6bc6c513bc162d9270d1bbf498a474
|
10b2fee05f3704ee65cd3730c3d0e2cdb5ac26e2 |
|
29-Jun-2016 |
Sid Soundararajan <ssoundar@google.com> |
Merge "Recents: Make sure blacklist checks the package name as well as activity name" into nyc-dev
|
f838407e4ad16a918b8b4527088be573f6448d91 |
|
29-Jun-2016 |
Sid Soundararajan <ssoundar@google.com> |
Recents: Make sure blacklist checks the package name as well as activity name BUG: 28719274 BUG: 28764678 Change-Id: Ib17d3feda8997ce5b29060bff47d51f503c868dc
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
86d873d49e31ad2b0f1cd78e975f7acd0975e9a1 |
|
29-Jun-2016 |
Winson <winsonc@google.com> |
Move preloading to boot complete. am: 16ef39a7f6 am: 067d73e55b am: 93f7f196fc Change-Id: I0d91cce33589ab55b4f3a334e33367f8878851a6
|
16ef39a7f6f000af761cf2c2a3e2823a0fbd0c4c |
|
29-Jun-2016 |
Winson <winsonc@google.com> |
Move preloading to boot complete. Bug: 29320695 Change-Id: I14b5127b218597f3c32e647e0443a88b5a708ce1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
d7c3cfd5d6dff83c4d580690d9025fd1550aba0c |
|
22-Jun-2016 |
Sid Soundararajan <ssoundar@google.com> |
Merge \\\"Blacklist ATV Remote Service to never appear on Recents\\\" into nyc-dev am: 8f41c074c7 am: 542762f99d am: 0d33cd26ac Change-Id: Ib9743e5d779317dae86bdd21673d96a3b034e6ac
|
6f134fb3efb08b2e0f7db3e425e5de8f6fe36986 |
|
21-Jun-2016 |
Sid Soundararajan <ssoundar@google.com> |
Blacklist ATV Remote Service to never appear on Recents BUG: 28764678 Change-Id: I0be5f9f408f16cfb683793a84cef7a368e5fa867
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
04cbc7efc7472521345ccefd668599d4774ed1b5 |
|
23-May-2016 |
Winson <winsonc@google.com> |
Catching all exceptions when docking. am: f60a4af047 am: 5e04aeb328 am: 155ac5d024 * commit '155ac5d024d9c0d70173f57f5327a84c8fa2794e': Catching all exceptions when docking. Change-Id: Ib31b4d549f1f7724a5cc6d73b7fa7ff6b3958c51
|
f60a4af04779174b39b7d3d277de88ed1204d024 |
|
21-May-2016 |
Winson <winsonc@google.com> |
Catching all exceptions when docking. - Catch all exceptions thrown when docking an activity (similar to when we start an activity) to allow us to gracefully handle the failure and animate the task back into the stack. Bug: 28867188 Change-Id: I3f80d261343c0161c5cbfd08a05a1fc6157f653e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
81100ae084e33ec174b85afd630135eee415c9d0 |
|
19-May-2016 |
Winson <winsonc@google.com> |
Merge "Mark occluded home stack as invisible." into nyc-dev am: 32b54f2e42 am: 6e2ee9e382 am: ea9220988e * commit 'ea9220988e8c88d258a5cb99e2687ee03f90cf55': Mark occluded home stack as invisible. Change-Id: I8f9f1a92e198f7db97d7c3e1b93ff77a83fdbc5c
|
529c8e4cf24375ca21b5d61fb6b34e7010d6edad |
|
17-May-2016 |
Winson <winsonc@google.com> |
Mark occluded home stack as invisible. - The home stack is still visible when a translucent activity (like dialer) is on top, which caused us to use the logic path that just tries to launch the next task. However, that path does not reload the stack state (since the activity stack generally doesn’t change while Recents is visible) so it was always launching the already top activity. The new check ensures that we start the activity anew as if it was coming from an occluding app. Bug: 28767764 Change-Id: Iec0fdc0957e5070cec532c5de5cba3454c906a3b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
30dcaab9460975bffc7b7d06066c95102186e61f |
|
14-May-2016 |
Jae Seo <jaeseo@google.com> |
Merge "Fix regression from "PIP: Fix NPE when onboarding is shown"" into nyc-dev am: 73522651e2 am: cb1b73c84d am: 35e41618c8 * commit '35e41618c82bc8ca7d27174cbca2326a7697bbea': Fix regression from "PIP: Fix NPE when onboarding is shown" Change-Id: Ie4bd1d958f7d0207e9a70aaaae61c9c812cceedd
|
7ac26892397770a4a299e74f9bef30d5c49bf9ba |
|
13-May-2016 |
Jae Seo <jaeseo@google.com> |
Fix regression from "PIP: Fix NPE when onboarding is shown" Removed the second "continue" to allow isFirstValidTask to be set to false. This is a follow-up fix from commit 91c5066c0036b5322f53c35fcc48bbad75ef4305. Bug: 28754669 Change-Id: Ic852afaa78fc79bcd85b04e888975cd3bfc72094
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
e8349276ba5baf0edd7a367c1d818fbf9a82e742 |
|
13-May-2016 |
Jaewan Kim <jaewan@google.com> |
Merge "PIP: Fix NPE when onboarding is shown" into nyc-dev am: abe26c8d69 am: 1f1fd18f8f am: 4c349870d9 * commit '4c349870d93ed5d083ea87b9158bb7b9e3dffec5': PIP: Fix NPE when onboarding is shown Change-Id: I32e4c158876beaf98001448f250d7f6d4360018d
|
91c5066c0036b5322f53c35fcc48bbad75ef4305 |
|
13-May-2016 |
Jaewan Kim <jaewan@google.com> |
PIP: Fix NPE when onboarding is shown Bug: 28754669 Change-Id: Ifca78e111b63422c3875dc4eba48c02e11f83530
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
f14f20820caf7fb3923a7420614cba01eaee8540 |
|
13-May-2016 |
Winson <winsonc@google.com> |
Merge "Fixing issue with excluded task showing when docking." into nyc-dev am: caedd41a6a am: 60ad651c84 am: 4fc87b1dbb * commit '4fc87b1dbbdba7cd2c36139bb91b493e9d995d7a': Fixing issue with excluded task showing when docking. Change-Id: I04a51deca9418ade28cb91e6ee6470c2746e92c5
|
dfd7be012b889f92d3e7e6d80ff7fe6b55c75901 |
|
10-May-2016 |
Winson <winsonc@google.com> |
Fixing issue with excluded task showing when docking. - On multi-window state changes, we should not include the front most excluded task when fetching the task list. This CL also clarifies which tasks are included and excluded. Bug: 28452689 Change-Id: Ia30eaf75382286a9d4ee5a5b11013dddf8e4ac82
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
3f9019f5e50599e14cc9658f8012558a0531ad74 |
|
06-May-2016 |
Winson <winsonc@google.com> |
Fix exception when docking task. am: 27c28f8da2 am: 297785515b am: 6261829fea * commit '6261829feae2efe2d97fca2fc6758576f28c775d': Fix exception when docking task. Change-Id: I42168443096f9b636f56a32ec09f680e32cf33c2
|
27c28f8da2925fd6fdaa91603c1740447b8fc195 |
|
06-May-2016 |
Winson <winsonc@google.com> |
Fix exception when docking task. - If a task fails to dock, animate the stack back to original state so that the layout is not stuck in a "docked" state. Bug: 28577229 Change-Id: If927b898a48cd5949764cb3b0c0798d22efd850a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
1f6b709ca67813e04212dec6eb48485b94753dfd |
|
05-May-2016 |
Vladislav Kaznacheev <kaznacheev@google.com> |
Let the framework position a window when switching to freeform When "freeform" button is tapped, the current Recents implementation puts the window into the left top corner, and sets window size to the size of the window snapshot as it is displayed in Recents. This is confusing. This patch lets the ActivityManager decide on the window bounds. The first "freeformed" window is put at the center, and subsequent windows are nicely cascaded. Bug: 28316396 Bug: 28312983 Change-Id: I3e305df3ab1e1f715e1f4f94e0ed2a8a1bbd2f22
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
a4d92a01521e560d00616b483143f2d07ebd755b |
|
02-May-2016 |
Wale Ogunwale <ogunwale@google.com> |
Don’t relaunch activity in fullscreen stack when entering split screen mode When entering split-screen mode by long pressing the recents button, the top task in the fullscreen stack is moved to the docked stack and the new top task is the fullscreen stack is considered visible for a short amount of time until sys-ui launches the recents activity. This causes the new top activity in the fullscreen stack to be relaunched due to configuration change. To fix this sys-ui now sends an hint to activity manager to move the home stack forward so that it can be on-top of the fullscreen stack and makes it invisible before recent is launched and animated in. Bug: 28470261 Change-Id: Icfd85e932fe913dfb498752b5878cc7c690fd559
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
d46b72788e8811d2e423ea1e5b2ff104ecb7f721 |
|
20-Apr-2016 |
Winson <winsonc@google.com> |
Removing legacy calculation of Recents visibility. - This was causing us to try and launch the Recents activity again after docking because the running task was the newly docked task and not Recents. Bug: 28177001 Change-Id: I222e50f6de00a9d7881da2182eebc61564fd3266
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
25160db73f37619a26a3d87a06625925d881b0fd |
|
19-Apr-2016 |
Jorim Jaggi <jjaggi@google.com> |
Optimize some binder calls when recents configuration changes Bug: 28122871 Change-Id: I54249428792c3ad4b3b6d3dcc0f405675b3b23b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
b556811b86adf96f9dbca053c4f3b7dd55bc8851 |
|
15-Apr-2016 |
Winson <winsonc@google.com> |
Hide nav bar buttons in screen pinning dialog when appropriate. - Also fix wrong hint text to disable screen pinning Bug: 26314479 Change-Id: I7fc79c92511eba5e6d23dc307bb75c1710ff9e41
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
a5fdde9d15fbdf1aaeb61e1cf0c128af3aeb7b67 |
|
15-Apr-2016 |
Winson <winsonc@google.com> |
Take app screenshots in 565. - Or to be specific, SurfaceFlinger can’t easily take 565 screenshots, so convert them when creating the ashmem bitmap. Bug: 28151300 Change-Id: Ic7586659a41cc19c322136f77a1c52ef68c22707
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
d53f09254ed48365d3a5149d640437d76aed2e5d |
|
07-Apr-2016 |
Jorim Jaggi <jjaggi@google.com> |
Dismiss docked stack when opening non-resizable activity - Also move the toast to SysemUI as a cleanup. Bug: 27341740 Bug: 28026841 Change-Id: Ic6196ed75511751c6fadb12fa24574c881100f65
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
64ae08aa16fdf7ee33073979400afa40692342f1 |
|
28-Mar-2016 |
Wale Ogunwale <ogunwale@google.com> |
Show non-top tasks in the docked stack in recents. Allows the user to access the task through recents since it isn't currently visible on screen. Also, changed recents to launch task currently in the docked stack in the fullscreen stack when selected from recents list. Bug: 27864383 Change-Id: I58549023920d064a30b6355367c3193ce3207bbd
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
a1ededd056d51532ab18354f17f8065ec1134535 |
|
25-Mar-2016 |
Winson <winsonc@google.com> |
Launch state/config change audit. (Part 1) - Fixing issue with onResume logic being run even when the window focus is changing. This only needs to be run when we are launching into Recents again. - Removed a bunch of launch state flags that are no longer necessary because of changes to configuration handling. This reduces the work that we have to do on resize, etc. - Decoupled the resume with the stack-update, which fixes a couple issues where we were updating the layout unexpectedly. - Fixed an issue where we were not updating the nav bar scrims on configuration change - Fixing margin start/end regression in header bar - Fixing small issue with paddings being scaled beyond their base size - Fixing issue where the clip state was not properly getting reset causing lots of overdraw. Change-Id: I9aeb191a99ff23807b3f5d905f6480b10157a060
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
c69bd2246f4ec5000591fdc381f84cd90be85b7f |
|
15-Mar-2016 |
Jorim Jaggi <jjaggi@google.com> |
Implement transition for docking task in recents #6 - Use a future to provide the app thumbnail so the app can restart in parallel when recents draws the bitmap (extremely expensive). - Don't call startRecents from AM when recents is already running - this messes up the transition information. - Make sure to put the task into resizing mode if it needs to be restored from the disk. - Some minor fixes for the transition animation spec. - Add NO_MOVE_ANIMATION to recents flags to prevent wallpaper flickering. Bug: 27607141 Change-Id: I7d0c75b88775ab467927b8cf94303ddb60222e7f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
0b46f3c72c324bc9b8890ed9b81951bbeec70fdd |
|
14-Mar-2016 |
Jorim Jaggi <jjaggi@google.com> |
Implement transition for docking task in recents #2 - Put window into resizing mode when docking it from recents, so it fills the "void". - Send whole task bitmap window as the thumbnail, to make the transition smoother. Bug: 27607141 Change-Id: Ib647d44d9777f1155deab818d1fd5425c1bdd3d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
192086eb8aff3fb873a7e03ade0b81652aacf25f |
|
11-Mar-2016 |
Jorim Jaggi <jjaggi@google.com> |
Implement transition for docking task in recents #1 - When the docking transition is happening, defer updating the bounds of the home stack until the transition is done. This is to preserve the scrim which is drawn in the recents activity. - Use the PROLONG_AT_START infrastructure to hide the task in recents when starting the app transition. - When recents finally get resized at the end of the transition, reset it's draw state so we don't move the old surface around, and the new surface gets drawn at the new position, to avoid flickering. - Remove hack around not layouting docked divider if it's not visible, it's not needed anymore and resulted in a wrong initial position. - Fix animation selection for docked stack divider. - Make sure win.moved() always gets called. Bug: 27607141 Change-Id: I76c35f09461f044a90e2c88335008284b5839cc0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
2adba07d75419462873dfeef40d4c983d832ed99 |
|
03-Mar-2016 |
Jorim Jaggi <jjaggi@google.com> |
Show a scrim activity if task is not resizable Add a callback to TaskStackChangeListener which gets fired when the system might need to inform the user that a specific app might not work in multi-window. Use that callback in SysUI to show a translucent activity which scrims the activity behind to inform that it might not be resizable. Debounce the information to once per multi-window session, to not make it annoying. Introduce launchTaskId to start an activity in an existing task, and protect that with START_TASKS_FROM_RECENTS permission. Bug: 27327287 Bug: 27431869 Change-Id: I89e8d653872ab01ba3c1e252b426e5481da0e6ca
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
941a1f81b0f50ff219a38476ffdba062b81d2fc4 |
|
25-Mar-2016 |
Winson Chung <winsonc@google.com> |
Merge "Don’t scale task thumbnails." into nyc-dev
|
217009356efa2b854ab3981dff8d315a0d679c73 |
|
25-Mar-2016 |
Winson <winsonc@google.com> |
Don’t scale task thumbnails. - Changing task view thumbnail layout. In portrait, scale the thumbnail to width for portrait screenshots, and apply the same scale to landscape screenshots. In landscape, scale screenshots up to 1:1, and tweak the app transition to clip the sides instead of scaling. In both orientations, fill with the background color in the remaining space. - Moving some resources related to the title bar to be calculated programmatically so that we can have different header bar sizes which completely overlap the action bar in the screenshot in each orientation. - Constraining the task stack width in landscape to portrait Bug: 27504677 Change-Id: Ic9b6fdde6dd728d9f2d20a8b89c05b3a350edfbf
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
3e5bf786b7ca36fa0cc150fcd8d0e7a69ecb9db0 |
|
24-Mar-2016 |
Clara Bayarri <clarabayarri@google.com> |
Merge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev
|
fcd7e80b21cc9db6be00e37371401ea1d0938796 |
|
10-Mar-2016 |
Clara Bayarri <clarabayarri@google.com> |
Keyboard Shortcuts: plumb deviceId through Bug: 27673736 Change-Id: Ie72807aa8c2bfd142b081a6a915e101c16d31473
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
008ee15fe82c8216e8e4f67e3032de468cc6c92a |
|
19-Mar-2016 |
Winson <winsonc@google.com> |
Completely removing dead code related to search widget. Bug: 27742174 Change-Id: Ie478c562f6152338417aca5262b7f33ee4ca7ed5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
59924fe0d9136cf349759bea1e06b661603f95fe |
|
17-Mar-2016 |
Winson <winsonc@google.com> |
Iterating on stack layout - Tweaking initial layout to show more of the next task - Bounding the width of the stack to the smallest display edge length - Fixing issue where the screen pinning button was not shown when entering recents from home, and the task view clip state was not restored correctly for tasks in front of the launch task. - Fixing issue where there was no alpha during the transition to/from home - Refactoring and removing unused dimens, and moved remaining layout calculation logic out of RecentsConfiguration. - Fixing small regression in finding task anchor scroll points. This caused tasks to be animated strangely when swiping to dismiss and the task had an override task progress. - Fixing several regressions in drag and drop due to override progresses Change-Id: I1eac1dcea19e502bc7fe6362011b38977e3f3d6d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
938a50b424eb73ee96d34c96b5e2cbd11f733d7a |
|
14-Mar-2016 |
Jaewan Kim <jaewan@google.com> |
Refactor SystemServicesProxy to manage ITaskStackListener locally This reduces the IPC calls between system service and SystemUI app. Bug: 27635150 Change-Id: I6886edbc8e3736416af06c8de204f2a3b470ccd1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
6e54775a8d7fefe2efb8be3977234c3ecc759e8d |
|
22-Mar-2016 |
Sid Soundararajan <ssoundar@google.com> |
Merge "Add dismiss animation for Recents TV and Enable Dismiss" into nyc-dev
|
4bdb6879bd5f1b7e93e7e9ac236a073921862075 |
|
18-Mar-2016 |
Sid Soundararajan <ssoundar@google.com> |
Add dismiss animation for Recents TV and Enable Dismiss Redo rect calculations for new positions. Refactor some code to make a RecentsTvImpl. Change-Id: Ifa269fe18ea40ea9a102ec0207a6c7ab796e6f77
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
7ed7657c21e6f253afffdfbe7290157ef5db471f |
|
17-Mar-2016 |
Jaewan Kim <jaewan@google.com> |
Hide system UI activity with FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS in Recents Bug: 27319061 Change-Id: I41150137cdfac6750f74ba3a72c4872dc6816f1d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
d27dafeadeb38d451826122d0505702abf58bd1d |
|
04-Mar-2016 |
Sid Soundararajan <ssoundar@google.com> |
Merge "Add Launch Task Animation, re-do values for red-lines." into nyc-dev
|
1008cc25863be3d86e01c15eeabe9dfedb963224 |
|
01-Feb-2016 |
Sid Soundararajan <ssoundar@google.com> |
Add Launch Task Animation, re-do values for red-lines. This is a cherry-pick of https://googleplex-android-review.git.corp.google.com/#/c/859952/ Adjusted to fix merge conflicts. Change-Id: I8395a4172bd34faff88094913ee4afd97f71076a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
e4fbd328f83ea0ee086731f852cd6c56a3deb733 |
|
01-Mar-2016 |
Chong Zhang <chz@google.com> |
Don't change resize mode if AM didn't dock the task as requested AM may not docked the task as requested if the task is not resizeable. Setting resizing in this case would cause unnecessary drag-resizing, and the resize mode will go out of sync. bug: 27390258 Change-Id: I72d671ac015f93fde5aaa025fbade93acd9d9ca7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
c92a7d12e345e05272f3e84d49d75c77dc6e3edc |
|
16-Feb-2016 |
Jaewan Kim <jaewan@google.com> |
PIP: Make PIPed activity to be focused from Recents This makes PIPed activity to look like part of the Recents. Bug: 26946155 Change-Id: Ic0ac441e57af5594c06701fa9d30400f0f7cc5a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
8be1634a543022bd6ee0c1e974d3201d452981e8 |
|
09-Feb-2016 |
Winson <winsonc@google.com> |
Disallow launching third party apps in safe mode. - Also desaturates out the disabled task Bug: 25785926 Change-Id: I9fa48c062cfaf6d9cb60a9e49291ca6e15c6b343
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
1af8eda6ea1c89d44123b2bfd5fa0293bb9d68cb |
|
05-Feb-2016 |
Winson Chung <winsonc@google.com> |
Drawing thumbnail background color for empty space in view. Change-Id: I2e8dfbe9c11a61876956658eff0674adb26d855d Signed-off-by: Winson <winsonc@google.com>
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
c6c89a82144f59475242c75d67529fed943ae30b |
|
29-Jan-2016 |
Jorim Jaggi <jjaggi@google.com> |
Fix transition to recents in docked mode Transition for non-compatible apps will be handled in a separate CL. Change-Id: I9c474f7aa394e4f3eacd1845c78bee5874bd8a59
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
bbb3d3de3c058f115ab1fba0ddb7238e54745c0b |
|
30-Jan-2016 |
Winson Chung <winsonc@google.com> |
Re-enabling fade-in of header bar icons. This reverts commit 133ad44269e4b45e056793b579a7628aa4d91ccb. Change-Id: I45095211aaa63b133ad5a4076df25823fa91efa3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
133ad44269e4b45e056793b579a7628aa4d91ccb |
|
30-Jan-2016 |
Winson Chung <winsonc@google.com> |
Revert "Re-enabling fade-in of header bar icons." This reverts commit 9b5c847a19bf7dbfe3fe00f11cbbdf581794fccc. Change-Id: Ie9e6ba685654622a9a1e76a405cc4d47477d9e13
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
9b5c847a19bf7dbfe3fe00f11cbbdf581794fccc |
|
29-Jan-2016 |
Winson <winsonc@google.com> |
Re-enabling fade-in of header bar icons. - Removing extra syscall when rebinding tasks - Only bind the click listeners on the header bar after they are visible Change-Id: I6879b30a985ca8274ee77126b152daa985054371
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
c0d7058b14c24cd07912f5629c26b39b7b4673d5 |
|
29-Jan-2016 |
Winson <winsonc@google.com> |
Referencing static interpolators. Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
b58c46acec2e270f24ca587a64298f06cefb09cb |
|
27-Jan-2016 |
Sid Soundararajan <ssoundar@google.com> |
Initial Commit of a Horizontal Grid View based recents UI for TV. Change-Id: I048210e6fc91abafa41300ccb219b7bb9c84e835
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
dcf4826c522686dbccbc95e57762081c84ff1d6d |
|
26-Jan-2016 |
Winson <winsonc@google.com> |
Fixing notification of the docked stack state for the current user. - When there are multiple users, ensure that we check that there are tasks in the docked stack for each user (instead of just the presence of the docked stack) and re-notify listeners of the state of the docked stack when the user is switched. Change-Id: I911c4a32db187f9cd29d462309bd0cf7febb1993
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
6e6bd8776f850a21a3733a03dfa32b04f06163d9 |
|
25-Jan-2016 |
Winson <winsonc@google.com> |
Make mock tasks work again. - Rename it so that it’s a bit more clear that they are mock tasks. Change-Id: I53b9dab1789a208e74538cd8c3ee4ec58cfa364f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
c5ef63f4e95329158d88a6cbb05789b57098222d |
|
21-Jan-2016 |
Winson <winsonc@google.com> |
Adding reveal transition to show app-overlay. - Instead of long-pressing the icon to launch into app info directly, this will mirror notifications and reveal a space that can show the app name and a link to app info. Change-Id: I91c5839719b030a65744f5e677a436e9c719c578
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
f298e908b97a5a56ccb52d9f015e5408fe523af9 |
|
18-Jan-2016 |
Filip Gruszczynski <gruszczy@google.com> |
Enable enter animation when docking by dragging from recents. This requires further work on the sysui side (the view disappears before the animation starts), but it shows that existing infrastructure on the WMS side is sufficient. Bug: 24913915 Change-Id: I7ce20fdd21ee76db4720a3d0fefdfa221b0e96bf
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
f3918002f3f6283009b9b5b6afcc8a9ffb706171 |
|
13-Jan-2016 |
Winson <winsonc@google.com> |
Fixing issue with checking the docked stack state for the wrong user. Bug: 26256285 Change-Id: I068ee8250dc75bda984092300d75031422fbbd11
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
3e8747414520ee348cf4b9c4a6afd9ff80b5a8f8 |
|
07-Jan-2016 |
Winson <winsonc@google.com> |
Improving drag and drop animations. - Expanding drop targets to indicate the size of the to-be docked window - Fixing animation when dropping task - Fixing drag view z order - Fixes issue where the dock divider position in WM is not exact - Requiring user to move the slop distance before accepting drops Change-Id: I2f6eab504db7126c19e0c680629e89a39e7512e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
75e097965cc273d33192555b0e65de3dbc1753ce |
|
29-Jul-2015 |
Clara Bayarri <clarabayarri@google.com> |
Request Keyboard Shortcuts for SysUI Dialog via Window Keyboard shortcuts are requested via WindowManager, and the request pipes through to the view root and the window callback. Bug: 22405482 Change-Id: Ic0071e91c7b554be3ac9df71e9539ee8a60e822e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
e6309aa57ee2e33cf1aa0f177948f5b454d8bb12 |
|
08-Jan-2016 |
Winson <winsonc@google.com> |
Prevent docking via nav bar until user is set up. - Also prevents docking if screen pinning is currently active. - Fixes issue where you could go into recents when setting up a secondary user. Bug: 26438797 Bug: 26316912 Change-Id: I30576b52842b76184ef0b2252bc572f74a5d6db8
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
7db704a3b8e93a09f0cc1aaf6996a6ff86ce9043 |
|
07-Jan-2016 |
Winson <winsonc@google.com> |
Preventing crash when attempting to move un-resizeable task to FF stack. Bug: 26405612 Change-Id: I44e3472e45f8201ee0186d07bad6212916405a08
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
dc8de848201f64542ad87940cfaa7a5e3d1343ad |
|
07-Jan-2016 |
Winson <winsonc@google.com> |
Cleaning up imports and dead code. Change-Id: Ie59fa7fc7c69eb375792c9227295d75c4672e802
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
d8b1d63f96580fe961e1751e7b4f56c90c1e0a76 |
|
05-Jan-2016 |
Winson <winsonc@google.com> |
Fixing issue with exit animation due to incorrect visibility state. - This CL ensures that only Recents updates the SysUI visibility state for itself, ensuring that the visibility state reflects the state in Recents, and allows us to skip unnecessary work to close system dialogs when it is not required. Bug: 26390248 Change-Id: Ib6301a8300cc3da6da75fcbbceceb0e1da3beab4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
6f2efd3d8c114f9a4b472ef699bbd844323cd82c |
|
23-Dec-2015 |
Jorim Jaggi <jjaggi@google.com> |
Add developer option for freeform window support (1/2) Also disable default force-resizable on non-user builds. Bug: 25276672 Bug: 24815256 Bug: 26294625 Bug: 26294534 Change-Id: I5b31e494c993d2d9dad175b94b4f30637e8f3718
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
a6c934e2a3e6ddec6549cea55b7bece02348c6f8 |
|
21-Dec-2015 |
Jorim Jaggi <jjaggi@google.com> |
Use different asset when docked stack exists - Add the ability to add a listener when the existence of the docked stack changes. - Register SystemUI as such a listener and switch the recents button asset when docked stack exists. Change-Id: I05350878c5adc7ad9f0399f0c42d8d1615d44d02
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
854809c074aabebf5b6520c361d1d3c7c22066d2 |
|
28-Dec-2015 |
Wale Ogunwale <ogunwale@google.com> |
Added hidden API for specifying launch stack in ActivityOptions Bug: 26273032 Change-Id: Ifb9c70e6783b0426613709693e11742d80ba2fc3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
0583d3d18812d31d50228a6f29cb15b3219c9e94 |
|
18-Dec-2015 |
Winson Chung <winsonc@google.com> |
Hiding pinned stack tasks from overview Bug: 25381158 Change-Id: Iad442b7f5dc49109529cb5dab2168b19837af6e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
296278a0679375b8c43962a9e3c9bb4e8ab201e7 |
|
17-Dec-2015 |
Winson Chung <winsonc@google.com> |
Fixing potential issue with wrong task descriptions being loaded. - Also cleaning up the Task to remove some confusing nomenclature related to task properties. Now there is a single icon and title, and we keep a copy of the TaskDescription for future icon loading. - Also changing a few cases where we should be calling isFreeformTask() Bug: 26221779 Change-Id: Iac20cc7b4912f76c14232a323981ab2e8f62628a
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
48f2cda829ddb761697a0efb0cad42a62480c130 |
|
11-Dec-2015 |
Winson Chung <winsonc@google.com> |
Removing the debug header bar icon. - Repurposing resize button to move tasks between stacks when freeform is enabled - Enabling freeform workspaces for supported devices - Removing old debug dialog Bug: 26043230 Bug: 24815256 Change-Id: If3236999dd236de5d5bd665d69edfc17f18f74f0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
efb844da91ba679989df136fe63c1696537bb95e |
|
08-Dec-2015 |
Rubin Xu <rubinxu@google.com> |
Hide work apps from recents when profile is turned off When the user turns off profile (profile goes to quiet mode), hide all work apps from recents. They should reappear when the profile is turned back on. Bug: 22541941 Change-Id: I68119bb5a65cc2b0d9b42bd17eaccf5e55c8dd4f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
a78a8f31d2e7f00cccfbe326f03bcc3d3cb1de77 |
|
03-Dec-2015 |
Winson <winsonc@google.com> |
Freeform workspace fixes - Fixing issue with the wrong task view index being calculated for freeform workspace tasks causing them to be invisible when dragged to the stack - Reducing unnecessary detach/reattach calls for freeform tasks - Adding freeform workspace background to match exit to home animation Change-Id: I8c00aba377601da92195ef301ba5da1ffb0045c5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
9a3f84ced75249be19fe3d771cc4e59ffdc3a7cd |
|
01-Dec-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Merge "Remove dock divider surface when it's not visible."
|
64cdc1458bcf0d09781463a6e421b9b870b09687 |
|
30-Nov-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Remove dock divider surface when it's not visible. We achieve the removal by notifying System UI about the visibility of the dock divider. This way System UI can change visibility of the root view, which in turn will cause the WMS to destroy or create the surface as necessary. Bug: 25844096 Bug: 25683717 Change-Id: Idbc33368db697a059af49106dfadb80c3d7d06c1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
479f7446cf489fb99c91b3fc2bf96b1dc184f5ba |
|
26-Nov-2015 |
Winson <winsonc@google.com> |
Improving drag and drop - No longer rendering the task view to another drag view, instead we drag the task view directly. This allows us to do a smooth transition to and from the freeform workspace and the stack by animating the thumbnail scale as we clip/unclip the task view. - Removing the extra code to disable rotation while dragging since the system does that for us already Change-Id: I1e02c9319347aace9870eaa4983b3b87c5f0f58e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
9ea2f7ba3155a455724f64e2d6a964ad4e99dfa5 |
|
24-Nov-2015 |
Jorim Jaggi <jjaggi@google.com> |
Add ability to supply initial bounds when docking task Add an optional parameter in moveTaskToDockedStack to supply an initial rect to be used when creating the dockeds tack. Pass in the adjusted rect when dragging up from the navbar so it doesn't flicker anymore. Change-Id: Ieb3c8c73b9e2a769a2ec6270bd76a713201a2aed
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
8f0e3a68cdd3b2403ff8a1677f90b998f4175f40 |
|
23-Nov-2015 |
Winson <winsonc@google.com> |
Hiding the docked task from the stack. Bug: 25665312 Change-Id: I1e0deb8c3b02604ce4f21d367430d50da9d3b86b
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
030979c1e4ad269efa747eb3c03a4b0e3d820f55 |
|
21-Nov-2015 |
Jorim Jaggi <jjaggi@google.com> |
Don't play animation when docking stack with affordance Change-Id: I1bb8ae4047e3de3a4ea159e7fad718914b9b5ba7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
c742f973b1e506732911c156c5869fd377afc5bf |
|
12-Nov-2015 |
Winson <winsonc@google.com> |
Adding tuner param to enable fast-toggling. - Moving constants to a more explicit flags class, which also handles tuner changes. - Removing some unused flags Change-Id: If370581d431784f606c4b8d0c0face5b9a4b9fad
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
13d30660ef6da2d924e4fc943ccd187767ee0cd2 |
|
07-Nov-2015 |
Winson <winsonc@google.com> |
Fixing issue with canceling the thumbnail in addition to the app window. Bug: 25392381 Change-Id: Ib507f53bcd2aad4771c2546f5e8bfe771769e9a2
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
7395ef0cdb578aad27de3dbfc36dcde1e6f6a046 |
|
06-Nov-2015 |
Winson <winsonc@google.com> |
Reverting debug flag. Change-Id: I918d43827ecd7be52b41fb632850775161aa3902
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
1b58561f66a9453754b1b419296899fdc08b4c93 |
|
06-Nov-2015 |
Winson <winsonc@google.com> |
Fixing up some more focus edge cases. - Disallow touch while alt-tabbing - Allow keyboard to focus tab while scrolling - Cleaning up some old classes that aren’t really being used Change-Id: Ibabea093afb711b07f398677d25735421b7c7e53
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
986739a65d8f2ae79ab199af400a204f70f5da9e |
|
05-Nov-2015 |
Winson Chung <winsonc@google.com> |
Merge "Adding dnd to/from freeform workspaces."
|
eca4ab6e99bcb2a7b31b8b4b1c3b5474297b6b25 |
|
04-Nov-2015 |
Winson <winsonc@google.com> |
Adding dnd to/from freeform workspaces. Change-Id: I5b75fe5a942e9a2e344e62229e860b5108f9872e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
14b4e57c1ba427f07186dbff8491242162028c71 |
|
04-Nov-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Remove blink during the freeform -> recents transition. We achieve the desired result by prolonging the last frame of the animation until recents tells that it drew its content. The CL also includes cleanup that moves code that depends heavily on WindowState fields into that class. Bug: 24913782 Change-Id: I5ee5b18504dd4a86c24033d17eca21cd31936bca
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
a5e6b36034fa66549dd71601a86397381c6bf02b |
|
03-Nov-2015 |
Winson <winsonc@google.com> |
Updating freeform layout to be static at the top of recents. Change-Id: I5118d03c115080e05447d325097419b9a1c6f8b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
02a5a6bb9ba05bdf7517de90ede49fb535ea06ca |
|
02-Nov-2015 |
Wale Ogunwale <ogunwale@google.com> |
Merge "Added StackId object for checking what features a stack supports"
|
3797c22ea16e932329ebffdc7e7ce09f9ecd9545 |
|
27-Oct-2015 |
Wale Ogunwale <ogunwale@google.com> |
Added StackId object for checking what features a stack supports Helps make the code easier to follow since we are no longer checking multiple stack ids at various decision points. Bug: 25282299 Change-Id: Ifa6864a1ef56ce2eca4c94f87a4e0b993de987cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
c28098f69b8ba5d3039ecd0fa154e880f4613843 |
|
30-Oct-2015 |
Winson <winsonc@google.com> |
Add ability to cancel task window transitions. Bug: 25392381 Change-Id: I45f48edc21c058df0e4c22ceaf7e9aef5899a29c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ab253faa47de946b311522925c9875d2cccaaff5 |
|
28-Oct-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Merge "Fix wrong task bounds when docking from recents."
|
0f6cb2d7d14b980e2d820a40d3c4849a808d0da5 |
|
27-Oct-2015 |
Winson Chung <winsonc@google.com> |
Merge "Passing stack id with RunningTaskInfo."
|
5510f6c1b9c20483e1507147eed7b24ac8bb6363 |
|
27-Oct-2015 |
Winson <winsonc@google.com> |
Passing stack id with RunningTaskInfo. - This allows us to remove an extraneous system call when starting overview, and also allows us to easily check for freeform windows. Change-Id: I4449dad7bf870f528f671f6e7cb1f9b5f1bc9c1c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
90186c6d6e7589835db183f602fb48e23a759a87 |
|
26-Oct-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Fix wrong task bounds when docking from recents. When docking from recents we would move the task to the docked stack, but we wouldn't run the resizing code that forces the task to be within the stack bounds. We need to perform both operations and we can achieve that using a more general method of moving tasks. This also adds the passing of creation mode in the activity options, so the task will be docked in the right spot. Change-Id: Ia7f94a7e3677ed60ca2f4d889e548d80a3bc3df1
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
8ccdf3ac49b658737b8106bc921347a3d3e3bbbc |
|
22-Oct-2015 |
Jorim Jaggi <jjaggi@google.com> |
Add development option to force everything resizable Add a development setting to force all activites to be resizable. Currently, a restart is required after changing this setting. Also remove all the code that forced a single task to be resizable, as we have a global option now. Bug: 24815256 Change-Id: I3237c9b6ce96ff9aa9819592ab0c2807fde88dc4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
75b2597e5826662c1740d6f3b81966a9e6a9e7b4 |
|
21-Oct-2015 |
Jorim Jaggi <jjaggi@google.com> |
Add long press on recents to dock top most task - Change the gesture to unpin a locked task into long pressing the back button. - When long pressing recents, dock top most task. Change-Id: I1386151e781f4034cfb97d3c8d46c709d19fe779
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ab84fc56114c0963c6f701de9725f5413ab76da9 |
|
23-Oct-2015 |
Winson <winsonc@google.com> |
Reducing number of threads used in Recents. Change-Id: I758592600915d41103a0dfeed10c8630ecdc4593
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
190fe3bf88388fcb109af64571e3baa0d01f1c37 |
|
20-Oct-2015 |
Winson <winsonc@google.com> |
Refactoring secondary user recents logic. - Removing old broadcasts in favor of direct aidl interface between system and secondary users. Also moving user specific implementation into RecentsImpl, allowing Recents to handle proxying between users. Change-Id: I4bd5ef1d1ee47309b7c754f50a5e8b2e2aab988f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
7e8184b0ab2b04aa88eff84e5aad811b96536add |
|
05-Oct-2015 |
Wale Ogunwale <ogunwale@google.com> |
Support for specifying stack to launch an activity from recents in. Bug: 24668831 Change-Id: Iebd019d3a566a6d068253d8f566c1df88e9e64dd
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
be7607af8875236b9cf7bdb5f5aa089c207529af |
|
02-Oct-2015 |
Winson <winsonc@google.com> |
Initial changes to drag and drop to docked task. Change-Id: I5e7a435a4061d902e5de0a54cc386388bc2b565e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
289747cedb4df8a372ebf2647eb9ffb696f76ac5 |
|
03-Oct-2015 |
Winson Chung <winsonc@google.com> |
Merge "Refactoring several TaskView callbacks."
|
2536c7ed446203ea12b38cf05a88e603f8d1b768 |
|
02-Oct-2015 |
Winson <winsonc@google.com> |
Refactoring several TaskView callbacks. - Moving header bar event handling to TaskViewHeader - Removing several proxy callbacks from RecentsView Change-Id: I7dc99a7b580c1beaa93216d2b29c94246b35ec5d
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
fd04d8c8840c2a762e4f19c31310561263898621 |
|
30-Sep-2015 |
Wale Ogunwale <ogunwale@google.com> |
Initialize DisplayContent base info when object is constructed It is possible for an external process (e.g. sys-ui) to call into WM to get the bounds of a stack in between the construction of the DisplayContent object and SystemServer telling WM that the display is ready. Incorrect bounds would be returned to the caller in this case since the baseDisplayWidth/Height is only set when the displayReady call is made. We now initialize the base display information when the DisplayContent object is created so any call to get the logical display rect of the display will always return the right bounds. This should be okay as the display manager is initialized way before window manager. Bug: 24505761 Change-Id: Iebd688ad8f4c08556846fcebb543e58bd2c01414
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ec417e4cc082e1734e7184c51762d21a430c0b38 |
|
29-Sep-2015 |
Winson <winsonc@google.com> |
Update task bounds for recents enter animation. - Follow up to ag/778718, with the resources split up, we can now update the task bounds before starting recents. - Also removing the multi-window check for transitions in/out of recents Change-Id: Id4a6d4cfa9d98ca3ecf5f237573bf240f232de54
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
35f3050959e43bf378f9a0adcaef13729206c7e4 |
|
28-Sep-2015 |
Winson <winsonc@google.com> |
Moving resources out of ResourceConfiguration. - We can no longer make assumptions about the ability to get resources for the RecentsActivity before the activity is launched (the configuration of the launched activity can differ than the current configuration if a window is docked). As such, we reduce RecentsConfiguration to the set of values that are context agnostic, or can be calculated directly given an application context. This ensures that we will continue to be able to compute the target task bounds given any context. Change-Id: I423c90635eb294aa2d78a6f56771b98ee2b9d5e4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
b1bbaedb1a02fb74dd1f85977783e9cb446331e4 |
|
24-Sep-2015 |
Winson <winsonc@google.com> |
Adding debug ui to dock windows. Change-Id: I9cd51763ef6089eabba734bf3bf9f52ddf540069
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
147ecaf3ba5d72872e8ff324aa32c0d228ada7f5 |
|
17-Sep-2015 |
Winson <winsonc@google.com> |
Ensure RecentsActivity is resizeable. - Removing old code related to multi-stack layouts. Change-Id: Ib9b820d2a65ff15e9cd8e5255e3e858b611e5aa9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
0fa656b95256b7ad6d3dce287107a79ace3abdb8 |
|
01-Sep-2015 |
Chong Zhang <chz@google.com> |
Allow apps to pass in launch bounds when moving/starting a task Pass in bounds via ActivityOptions for moveTaskToFront and startActivityFromRecents. Allow bounds to be overriden by rects in starting intents. Set bounds to null in RecentsView for full screen layout. Change-Id: I0ff79fd75068f4ba82d5e2c0a21881fabebdadb8
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
559b8c5f4ef20678d40a2d4161dfa14b378d2d91 |
|
13-Aug-2015 |
Jorim Jaggi <jjaggi@google.com> |
Merge commit '80581f7a' into master Change-Id: Ifd8f9c7a854901e0a48bc8a611cfb002fa37298c
|
25b4d4b280c6aa07656328bd9dd90977781d00e1 |
|
12-Aug-2015 |
Jorim Jaggi <jjaggi@google.com> |
Require strong authentication after a timeout Bug: 21594472 Change-Id: Iab169d4fa2e4ad134f8c8579654b28e96b5b1385
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
87d0e254cdc639347b73aa5f60ec8ab6c5327c7e |
|
31-Jul-2015 |
Xiaohui Chen <xiaohuic@google.com> |
clean up UserHandle.USER_OWNER reference. Clean up system ui. As you can see, I can picking up the easy ones first. Bug: 19913735 Change-Id: I94d33b108ae8b40ec92bbfca0863e266549f9633
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
2dd8980cb3b7804a2e6f563053b8db671589bd81 |
|
01-Aug-2015 |
Winson Chung <winsonc@google.com> |
am f2792ace: am cd158b4f: am ac3a70db: am c8222f40: am c35e670d: Moving removeTask to separate thread. * commit 'f2792acee8c466b2def1776718fbfe5f94a862ba': Moving removeTask to separate thread.
|
c35e670d5386eb6388eb4e65746b950265312e7a |
|
31-Jul-2015 |
Winson Chung <winsonc@google.com> |
Moving removeTask to separate thread. Bug: 22760556 Change-Id: Iac6eef77e3ba5432ac1cd4aa792e7b2aadc27c01
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
e4a0c5722b1d8db95dfc842d716452dbbf02c86d |
|
30-Jun-2015 |
Wale Ogunwale <ogunwale@google.com> |
Allow stacks to hold tasks on various sizes. Tasks are now resizeable just like stacks. Adjusting the size of a stack will also adjust the size of all it's containing tasks. This model allows us to be more flexible in using stacks as workspaces (like you would have in a desktop environment) and tasks as the resizeable windows within the workspace. Also added "adb shell dumpsys window visible-apps" for getting the list of visible app windows. Bug: 22068114 Bug: 19182363 Change-Id: I5bf77063252a5abae4e327f6fc42e607091749f9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
165ce066b701ba0153000f0692bfc7032655d17d |
|
07-Jul-2015 |
Jorim Jaggi <jjaggi@google.com> |
Fix assist for hardware long-press Activating the assistant will now route through SysUI, so we have the logic whether to start an activity or to start a voice interaction session in one single place. Bug: 22201770 Change-Id: I0f4699533aea2a1e595ee25a844434c82f548c01
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
af3bb6936786a8c14ac01da3d81d196d17b68b96 |
|
04-Jun-2015 |
Winson Chung <winsonc@google.com> |
Refactoring recents search bar widget logic. Bug: 19062975 Change-Id: I303710598675aeebca8f34ac57de6249462ec033
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
e1e20e11a758ee82753e8052773664823ca74746 |
|
02-Jun-2015 |
Winson Chung <winsonc@google.com> |
Fixing case where we were not preloading tasks correctly. - Should use the actual isTopTaskHome check when preloading. Bug: 21516523 Bug: 20882957 Change-Id: I60cf1e97f7704828426f72a45329c8c7b962a78c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
65c294036bd3a01af0755519d37ef7e9f64b9fb9 |
|
27-May-2015 |
Winson Chung <winsonc@google.com> |
Adding NPE check when the system has no tasks. Bug: 20640135 Change-Id: Ifb62d18dbf2125bc33325b7c2f2a44da51309325
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
b7a42fda313b6e5d5e82591ea9fb5d1b30acfc55 |
|
23-Apr-2015 |
Benjamin Franz <bfranz@google.com> |
Improve Accessibility behaviour in recents Currently accessibility services use the activity label that is also displayed in recents, which can be very confusing as it does not represent necessarily represent the app that the recent item is running. To improve this we use a combination of the application label and the activity label. The application label is also badged to distinguish between different users. Bug: 19688800 Change-Id: Ibead6c87767649aa11cf2fe086924a4b69bf187c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
8aa7d161a11965cd75eace74e1bcf15421bbea18 |
|
20-Mar-2015 |
Skuhne <skuhne@google.com> |
Adding menu to arrange one or two tasks and arrange them accordingly Added dialog with buttons for task arrangement upon click on decorator icon. BUG: 19492945,19868830,19656507 Change-Id: Ie31e2788efb097db1c1f54f0ef1b2fda1ccc71ec
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ece738b5bc532d90bbdc42d0b5b63701c773a6f9 |
|
17-Mar-2015 |
Skuhne <skuhne@google.com> |
Change resize logic: Use resizeTask and remove stack resize UI/logic Change-Id: I5af8171a4ca55252c009cf80d180c5d024c0fa03
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
d16c565a607de754379fe699a4def21bd0e3de2f |
|
27-Jan-2015 |
Winson Chung <winsonc@google.com> |
Adding some debug controls to test multi-window. Adding some preliminary controls to mirror the currently exposed api to create new activity stacks, resize stacks, and to move tasks between stacks. Change-Id: I3fb51c248f53a1d4c4eb23ca9fb3a76888def1de
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
2cf8b221fca18dbee3703388ae7970491c86ec7f |
|
20-Jan-2015 |
Winson Chung <winsonc@google.com> |
Cherry picking recents fixes to screen pinning and visibility. Screen pinning fix - 98e8f7ac5e75a47abaa0061aab343b9f06770258 Visibility fix - 5675f018681faefeb50c9003bc9e02cd9ce5659d Bug 18986736, 18802531 Change-Id: Ia37dbcd4f82e80f47f9c0686ed2ad4f534f946a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
2002cf5b463737e7f615f1469cb20d324c283544 |
|
09-Dec-2014 |
Winson Chung <winsonc@google.com> |
Fixing major regressions in Recents with multi-user. (Bug 18574950) In the process of front-loading a lot of the loading work, we moved logic into AlternateRecentsComponent, which is not multi-user friendly. This CL proxies all the necessary events for non-primary users to their own SystemUI process to ensure that they handle them correctly, and proxies visibility changes back to the primary user (since that is the only process with the right callbacks). Change-Id: I9fed92214ac4d4e2309ad6ffc35d09b5726c2880
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
740c3ac782675d190941b2ab1905e56f246c1b11 |
|
13-Nov-2014 |
Winson Chung <winsonc@google.com> |
Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345) Add a listener to listen for changes in the Task stacks to preload thumbnails from the system. In addition, reduce the amount of synchronous work done in activity creation and first measure/layout passes. Change-Id: I8bd9155d7a05e89c190a20429acff69a17808208
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
147de3a9766e205af068d1462beaea7a4a9fb9bc |
|
12-Nov-2014 |
Winson Chung <winsonc@google.com> |
Merge "Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345)" into lmp-mr1-dev
|
a91c293be26b2deb5434eb827a800fa0c80dc92c |
|
08-Nov-2014 |
Winson Chung <winsonc@google.com> |
Preload only visible thumbnails and task icons. (Bug 17672056, Bug 18291345) This change ensures that only the number of visible thumbnails and task icons are loaded to minimize the delay required when initializing the stack without the cache. In addition, this change reduces the number of times that the task stack is recomposed when launching recents (in addition to the number of calls to getRecentTasks()). There is also a fix to a regression where the exit trigger is not run when the task stack view is empty. Change-Id: I75834ff3c57c0e5dad6252b982f71c6e740071f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
975590f22916e184204678758bb339c1d2b6b57f |
|
07-Nov-2014 |
Jason Monk <jmonk@google.com> |
Merge "Material design for screen pinning cling" into lmp-mr1-dev
|
18f99d91349a4f5ce55e22ed33f1f57eb1b0297b |
|
11-Sep-2014 |
Jason Monk <jmonk@google.com> |
Material design for screen pinning cling Switching from a dialog to a cling-like view to be more material. Also moving it into SysUI as it highlights the buttons in nav bar. This will be triggered directly from recents, but from apps it will be triggered by the PhoneStatusBar. In the case that apps trigger the request, there will be a 'no thanks' button so that users can refuse. Bug: 16957435 Change-Id: Ie880f82c66f4b2be98283ed3fa789703c4bd7ed5
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
044d52934e57a337665f707aa4be1d423ee3fb29 |
|
06-Nov-2014 |
Winson Chung <winsonc@google.com> |
Adding bounce animation for affiliated tasks. (Bug 16656169) Change-Id: I39e4a57c4e6b707d15513dacde2d40c23bb05058
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
d54b578e47fb410c776bb3a4272c2c523153f657 |
|
24-Oct-2014 |
Wale Ogunwale <ogunwale@google.com> |
Fix issue #17305377: Don't kill process if it still has tasks. We previously killed a process when one of its task was swiped away in the recents UI. This had negative performance implications for apps with multiple tasks in recents. Now we will only kill the process if there are no more tasks associated with it. Changed also removes the need for the ActivityManager.REMOVE_TASK_KILL_PROCESS since ActivityManager will now only kill a task process if it process has no out standing tasks. Bug: 17305377 Change-Id: Ibc39bb328d13c7eab05c04798c2f14887923d9d4
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
9cb5c4e3854aa7f2ddab707920b688c3108cbc85 |
|
29-Sep-2014 |
Winson Chung <winsonc@google.com> |
Ensure that we don't show excluded tasks when we are not in that task (Bug 17657618) - Fix regression with launching an affiliated task due to clipping changes (Bug 17755902) - Tweaking previous changes to home transition - Disable the debug mode option
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
f7dd908171a12f6a3f91575ac9fd1ef8ba7fefe6 |
|
19-Sep-2014 |
Winson Chung <winsonc@google.com> |
Merge "Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968)" into lmp-dev
|
4e96eb709d2f1b6b1cd233c8a99f6706fde70bb1 |
|
17-Sep-2014 |
Winson Chung <winsonc@google.com> |
Handling broader set of exceptions when startingActivity from Recents. (Bug 17481968) Change-Id: Ia11e0f77e6c1f28f3d6946362d5a6333b57ac80e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
4298b43592966b9b620866bb3da1ab3f9ed2e668 |
|
12-Sep-2014 |
Winson Chung <winsonc@google.com> |
Adding null check for invalid recents task list. (Bug 17476926) Change-Id: Ie12b70282bf35de5c33634012e2b2e0a9e0c6af0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ee44595bd53c4f3f6a2eeb664ea96a268636c041 |
|
09-Sep-2014 |
Winson Chung <winsonc@google.com> |
Announcing the task list as you scroll. (Bug 15699050) Change-Id: I7453f41a2c87241e538cdc7281cdc20a8710ebbb
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
fdf169cbea5c59c6f74c25c6c529d8a19c6cb78c |
|
08-Sep-2014 |
Amith Yamasani <yamasani@google.com> |
Use correct API for badging Bug: 17414778 Change-Id: I7c0321d9435b0787a90cd62be80862069ba2d790
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
c7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb |
|
05-Sep-2014 |
Svetoslav <svetoslavganov@google.com> |
Addressing API council comments for UserManager. bug:17390424 Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ee0b12161ab8563378e33e9d694d15ed1a757a26 |
|
04-Sep-2014 |
Winson Chung <winsonc@google.com> |
Generalizing Recents widget category to Search box. (Bug 17334589) Change-Id: Id62398255799844cc89affcb4bafc86b6479dad0
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
bf8871db617d76ee66c5cf803f0bafa5e93998e9 |
|
29-Aug-2014 |
Winson Chung <winsonc@google.com> |
Providing a more seamless transition to Home (Bug. 17012456) - Fixing landscape N7 transition issue Change-Id: I968d6fd4db693359d520664b1444e699d7ee30ee
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
a4ccb86ddc8f9f486aee25fb836f4aff97bf7679 |
|
23-Aug-2014 |
Winson Chung <winsonc@google.com> |
Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565) - Reverting changes to the existing thumbnail transition to prevent breaking applications that currently depend on that transition. As a result, we need to create a new, hidden, aspect-scaled thumbnail transition, and instead use that thumbnail to animate the recents header so that we don't have to wait to do that inside the Recents activity. In order for this to work, we also have to ensure that the thumbnail surface destruction is synchronized with the application that is currently closing (when going down to recents) or opening (when coming back up). The current thumbnail is destroyed when the animation ends, but that can be at least 1 frame before the surface for the animating window is destroyed. We change this by deferring destruction of this thumbnail window to the animation that is being closed. Especially on the way up, not having to wait for us to hide the header before doing the transition up can save us the duration of that first animation (> 100ms). - Other optimizations: * No longer creating a new stack view on each transition to calculate the target rect * Removing unnecessary call to get the thumbnail when transitioning up/down (the actual window does its own animation. * We reduced numerous system calls per task by adding a flag to ignore home-stack tasks and caching the activity label and icon (and task description icon). These caches follow the same eviction schemes as the thumbnail and icon cache. - Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with tapping on home (Bug 17109581) Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
aec68bb89fe614181a20eb97340149406218ce2f |
|
21-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17038762: Add API to add entries to the recents list New API Added to ActivityManager for adding an entry. See docs there. Repercussions: - I hit a bug in system UI where if the thumbnail has alpha, it tries to modify it, but thumbnails are loading immutable so crashes. Fixed this by loading the bitmaps to be mutable. - Improved dump output of recents; there was a lot of stuff missing. Also split the recents dump output from the rest of the activity output, since it can be really large. - Added tests to the lovely ActivityTest app. Bonus: new method on AppTask to control the exclude from recents flag. Change-Id: I01e543db4d15320ee1701e95872fef73c116526c
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
dcfa7976fa836ae90bb4a579892a18a0abf35b3c |
|
22-Jul-2014 |
Winson Chung <winsonc@google.com> |
Intermediate refactoring to move towards in-app view transitions. - Fixing bug where we weren't toggling to the right task when using affiliations - Refactoring task rect calculation to allow full screen task view to be laid out for transitions - Refactoring the view bounds animations into a separate class - Refactoring the footer view (for lock-to-task) out of TaskView - Refactoring some transform code out of TaskView - Removing fullscreen overlay view - Fixing case where extra invalidations and layouts were still happening in FixedSizeImageView - Adding debug overlay to replace specific debug drawing code Change-Id: Ibf98b6a0782a68cd84582203c807cece1ff3379f
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
dc00cbe2c15eef5141656311a6d05c753d7c6db6 |
|
21-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Create API for launching from recents Relaunch apps from recents using the same uid and package as was used in the original launch. Fixes bug 16358208. Change-Id: I340800bfee79926b197929360d69f1d570bbf1eb
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
56e09b42a0f1670970872bef611a8036904ad6bf |
|
18-Jul-2014 |
Jason Monk <jmonk@google.com> |
Add setting to guard the lock-to-app recents icon Lock-to-app (soon to be screen-pinning) will now only show up once it has been enabled in settings. Bug: 16378448 Change-Id: Ide333463f86310eacb7a1d8b6dc7b1aea8722713
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
85cfec811e35025dbde54f4dc09fe0e1337c36b8 |
|
14-Jul-2014 |
Winson Chung <winsonc@google.com> |
Fixing potential crash when attemping to read null thumbnail (Bug. 16289301) - Refactoring to remove unnecessary updates of RecentsConfiguration - Removing unused logs Change-Id: If427e565ab7260009ffb9be8ca45ba833c8262af
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
1f24c7e37bc794057a156a730c7e4b53b01212ed |
|
12-Jul-2014 |
Winson Chung <winsonc@google.com> |
Initial changes to support lock-to-app on the foremost task. (Bug 16221876)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|
ffa2ec664479bff6b4b61d4c349d9db2cb37ca16 |
|
04-Jul-2014 |
Winson Chung <winsonc@google.com> |
Refactoring to support groups. - Removing RecentService, determining animations just in time - Fixing a few issues with animations of newly picked up tasks from the pool - Moving helper classes into sub package Change-Id: Ie10385d1f9ca79eea918b16932f56b60e2802304
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/SystemServicesProxy.java
|