summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recent
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'android-4.2.2_r1' into mr1.1-stagingRicardo Cerqueira2013-02-154-39/+32
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: core/java/android/os/Trace.java core/java/android/widget/Toast.java core/res/res/values-cs/strings.xml core/res/res/values-el/strings.xml core/res/res/values-iw/strings.xml core/res/res/values/config.xml core/res/res/values/symbols.xml media/java/android/media/AudioService.java packages/SystemUI/res/values-sv/strings.xml packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java policy/src/com/android/internal/policy/impl/keyguard/KeyguardMessageArea.java policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewMediator.java services/java/com/android/server/NotificationManagerService.java services/java/com/android/server/power/ElectronBeam.java Change-Id: I60b8ddf20a1d7bcf9dc7b1a4ed841aaa4d953294
| * Merge "Fix bug: swiped apps in Recents come back on rotate" into jb-mr1.1-devMichael Jurka2012-11-272-0/+5
| |\
| | * Fix bug: swiped apps in Recents come back on rotateMichael Jurka2012-11-262-0/+5
| | | | | | | | | | | | Bug: 7409398
| * | Fix bug where icon animation is sometimes skippedMichael Jurka2012-11-213-39/+27
| |/ | | | | | | | | | | Bug: 7406230 Bug: 7406304 Change-Id: I9058acffa6587a5f8e757f1031750a8ba578c635
* | "Clear all" button on recent appsD4rKn3sSyS2012-12-163-1/+44
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Ported from ParanoidAndroid by zigackly: https://github.com/ParanoidAndroid/android_frameworks_base/commit/f8c44e6ef667a3ebe9b658f148fa78a8d4f9a8dd Add button to tablet layout ported from Codename Android by zigackly: https://github.com/CNA/android_frameworks_base/commit/8d259fe3588c261baa5a17c361255cf28cc82bfe Patch set 2: Make the layout consistent, with the button at the top right. Patch set 3: Remove the redundant use of removeTask() Patch set 4: Top right layout does not work in tablet mode: make it top left for tablets only. Patch set 5: Different implementation (No need to keep track of views) - Danesh M Patch set 6: Top left layout no longer works for tablet mode with new implementation. Make it bottom left for tablets only. Change-Id: Iceb86eef41160f1c17e51463b37fd97e27acfb2e Conflicts: packages/SystemUI/res/layout-port/status_bar_recent_panel.xml packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java Change-Id: I5f3827299866a951e657ce64bea7c5f31c34ef9e
* Merge "Solve issue where labels in Recents were blank" into jb-mr1-devMichael Jurka2012-10-221-16/+27
|\
| * Solve issue where labels in Recents were blankMichael Jurka2012-10-221-16/+27
| | | | | | | | | | Bug: 7352816 Change-Id: Ic0d7f35191ce973a71744aa6ea81351b7bdb8d50
* | Add NPE check to fix crash in RecentsMichael Jurka2012-10-221-1/+3
|/ | | Bug: 7383315
* Fix transition into Recents with live wallpaperMichael Jurka2012-10-191-1/+5
| | | | | Fixes regression introduced by: 738cfc91053fc888397ec2d139e0798f8c95b3ca (Fixing wallpaper flash when going in/out of Recents)
* Fix recents animations for secondary usersMichael Jurka2012-10-194-63/+174
| | | | | Bug: 7361640 Change-Id: Ibd177bf01758fb8706b82dcf3bf234e052c38aa3
* Potential fix for bug 7352816Michael Jurka2012-10-171-0/+10
|
* Use black bg in recents if using live wallpaperMichael Jurka2012-10-132-1/+22
| | | | | Bug: 7282784 Change-Id: I686f8f0e36e3414ad30d23de80cbbfb2868069d4
* Fix one case where recents is sometimes not visibleMichael Jurka2012-10-092-1/+5
| | | Bug: 7299653
* Fix Recents dismiss/back button behaviorMichael Jurka2012-10-034-31/+20
| | | | Bug: 7238675 Change-Id: Ic97c38d5559b90c08a32751091d2587d4abfd534
* Merge "Fix jump cut when dismissing items in Recents" into jb-mr1-devMichael Jurka2012-10-021-3/+3
|\
| * Fix jump cut when dismissing items in RecentsMichael Jurka2012-10-021-3/+3
| | | | | | | | | | | | (fixing horizontal scroll view in this CL... whoops). Bug: 7070897 Change-Id: I3a63799ce7f3d9a50869755ee3289e641fa82fa4
* | Merge "Fix bug 7138446: Icon blips in during Recents animation" into jb-mr1-devMichael Jurka2012-10-022-4/+57
|\ \
| * | Fix bug 7138446: Icon blips in during Recents animationMichael Jurka2012-10-022-4/+57
| |/ | | | | | | | | | | | | Add animation where icon and description of the primary activity fades and translates in Change-Id: Ie21b5302ac9e58ee6af219b7cde98d12a8e82697
* | Fix jump cut when dismissing items in RecentsMichael Jurka2012-10-021-4/+3
|/ | | Bug: 7070897
* Fix 7216870: recents relaunches dismissed activityMichael Jurka2012-09-252-1/+19
|
* Fix issue #7209355, #7214271.Dianne Hackborn2012-09-231-2/+4
| | | | | | | | | | | Issue #7209355: Intent on the secondary user results in an intent picker in the Primary user. Issue #7214271: Crash in system UI Also fix a bug where I recently broke the removeTask() operation in the activity manager where it would remove the wrong task. Change-Id: I448c73a0e83a78d9d8d96b4629658c169888d275
* Don't load views before onResume called.Craig Mautner2012-09-202-9/+17
| | | | | | | | | | | | | | | Views were being kicked off when RecentsTaskLoader was being started from BaseStatusBar.toggleRecentsActivity. Then RecentTasksLoader called RecentsPanelView.onTasksLoaded which invalidated the Adapter and loaded the item views. All this before window manager had determined that the Activity should be rotated and providing a new Configuration. This fix waits for the Activity to resume before allowing the Adapter to be invalidated. Fixes bug 7138698. Change-Id: I0df67ff2e07a0e0b69cc3b52e9843f90ce763704
* Switch to showing top-most thumbnail of recent apps.Dianne Hackborn2012-09-191-4/+4
| | | | | | | | | | | | | | | | | The way it should have been, and with the new recents enter animation the way it must be. Added a new method to retrieve this thumbnail, since it would be less efficient to use the existing API (which always returns the "base" thumbnail). Probably at some point that existing API should be tweaked to always return the top thumbnail instead, but that is for a later time. Also removed code that would clear the thumbnail associated with an activity when it is resumed. I don't think there should ever be a reason to clear a thumbnail -- it's much better to have *something* for the task, even if it is a little out of date. Change-Id: I83e6ca6403eb2df5e4de3009dfe8c210e8cf8d5b
* Fix issue where recents would not show up sometimesMichael Jurka2012-09-171-2/+11
| | | Change-Id: Iea78f447b71ae23630c76c8982e69c780eef9df6
* Fix crash in recentsMichael Jurka2012-09-132-15/+16
| | | | | | Bug: 7128044 Change-Id: Icaec50ef9dfbc5da78d71925215c3363f58d7d3d
* Merge "Fixing preloading recents for all devices" into jb-mr1-devMichael Jurka2012-09-051-3/+11
|\
| * Fixing preloading recents for all devicesMichael Jurka2012-09-051-3/+11
| | | | | | | | | | | | - Fixed for tablets and phones with hard nav buttons Change-Id: I1dc2249376b3f376c283598f5cef6e326b191ace
* | Remove unneeded importsMichael Jurka2012-09-052-12/+0
|/
* Merge "Porting old code for min alpha for items in recents" into jb-mr1-devMichael Jurka2012-09-051-0/+2
|\
| * Porting old code for min alpha for items in recentsMichael Jurka2012-09-041-0/+2
| | | | | | | | Change-Id: I68dce175b3a2c0263c5df1ef787c28d6c622e879
* | Debug code for window transition crashMichael Jurka2012-09-041-7/+3
|/ | | | | | | | | | https://b.corp.google.com/7060284 - Throw exception before we try to start window transition with null thumb - also remove some old unneeded debug code Change-Id: Ic9693372724cbfaa4c4cb2594128ca10677d9d8f
* Fix recents list for multiuserAmith Yamasani2012-08-281-2/+1
| | | | | | | | | Since the Recents is now an activity running in the respective user's sandbox, it shouldn't use the special API to get the current user's recent tasks. Otherwise it causes all users to fetch the state of the current foreground user instead of their own recents. Change-Id: Ice8c2978e6a7ae71c44666c79a19ac07a2cbea1b
* Recents: apps scale down to thumbnails nowMichael Jurka2012-08-236-477/+425
| | | | | | | | | | | | | | | As a part of this change, Recents is now an activity. Known issues: * Jank: jump-cut as app icon appears suddenly after the aniamtion * Preloading recents is broken on phones without soft nav bar and on tablets * Thumbnail window from animation lingers/flashes sometimes Change-Id: Ie6f991f3c2e1e67f9ed84eb6adba9174ed957248
* Refactor for multi-display support.Jeff Brown2012-08-191-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Split WindowManagerImpl into two parts, the WindowManager interface implementation remains where it is but the global communications with the window manager are now handled by the WindowManagerGlobal class. This change greatly simplifies the challenge of having separate WindowManager instances for each Context. Removed WindowManagerImpl.getDefault(). This represents the bulk of this change. Most of the usages of this method were either to perform global functions (now handled by WindowManagerGlobal) or to obtain the default display (now handled by DisplayManager). Explicitly associate each new window with a display and make the Display object available to the View hierarchy. Add stubs for some new display manager API features. Start to split apart the concepts of display id and layer stack. since they operate at different layers of abstraction. While it's true that each logical display uniquely corresponds to a surface flinger layer stack, it is not necessarily the case that they must use the same ids. Added Display.getLayerStack() and started using it in places where it was relatively easy to do. Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
* Merge "Adding a thumbnail scale down animation" into jb-mr1-devMichael Jurka2012-08-171-1/+1
|\
| * Adding a thumbnail scale down animationMichael Jurka2012-08-161-1/+1
| | | | | | | | Recents animation will temporarily look a bit wrong, but a subsequent change will fix this.
* | Switch public APIs to use new UserHandle class for identifying users.Dianne Hackborn2012-08-171-1/+2
| | | | | | | | | | | | Gets rid of "yet another integer" confusion. Change-Id: Id07ea7307aea7c62f0087c6663a1f1c08e2e5dee
* | Rename UserId to UserHandle.Dianne Hackborn2012-08-162-4/+4
|/ | | | | | This is the start of turning this into a formal public API. Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
* User Manager service to manage users and query user detailsAmith Yamasani2012-08-111-1/+2
| | | | | | | | | | Moved a bunch of methods from PackageManager to UserManager. Fix launching of activities from recents to correct user. Guest creation APIs Change-Id: I0733405e6eb2829675665e225c759d6baa2b708f
* Start the correct settings from the status bar.Amith Yamasani2012-08-081-1/+3
| | | | | | | | | | | Added a new method to Context: startActivityAsUser() requiring the INTERACT_ACROSS_USERS_FULL permission. Show the correct Recents list, based on current user. Added a getRecentTasksForUser() in ActivityManager. Hidden and requires the INTERACT_ACROSS_USERS_FULL permission. Change-Id: If5b56465efdd3ead36601a3b51ed4af157bbf35c
* Fun with Up navigationAdam Powell2012-07-191-2/+4
| | | | | | | | | | | | | | | | For activities with a null taskAffinity, simply finish the current task. (They probably shouldn't have specified a parentActivityName anyway.) When launching into app info from ResolverActivity, launch the app info page in the current task with FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET. Back will return to the resolver, and Up will jump to Settings. When launching into app info from RecentsPanelView or BaseStatusBar, since this is a system affordance akin to notifications or widgets, build the full task stack for the app info activity with TaskStackBuilder and launch it as a new task. Change-Id: I73b1941d0f52bd8b30382b5e17edd8ceb058c70d
* Fix warnings and remove dead codeMichael Jurka2012-06-285-21/+0
| | | | Change-Id: Ifd1bcd8f5be181b115910f2f8918e1e50975a790
* Tweak recents launch app animationMichael Jurka2012-06-141-1/+1
| | | | | | - Sometimes the black background would flash; changing animation durations to make this much less likely - Fixing issue in Recents where we sometimes forgot to disable drawing caches on views after enabling them
* Tweak recents out animation a bit moreMichael Jurka2012-06-113-30/+89
| | | | | | | | | Bug: 6490204 -Fading to black in the recents layer -Tweaking duration and interpolators -Removing some unnecessary debug exceptions (Bug: 6642072) Change-Id: Iba18fade7f874078111fc1d79a81830ee07617d4
* Merge "Fix bug 6499508" into jb-devMichael Jurka2012-06-062-46/+17
|\
| * Fix bug 6499508Michael Jurka2012-06-062-49/+17
| | | | | | Using a HashSet for the recycled views, instead of an ArrayList, to ensure items are not double-added
* | Adding more logging for bug: 6499508Michael Jurka2012-06-041-4/+6
|/ | | | Change-Id: Iffc099e7de8b1d24bb33f1df6e17df7a099bfcb2
* Merge "Add more logging for bug 6499508 (getting warmer!)" into jb-devMichael Jurka2012-06-021-0/+7
|\
| * Add more logging for bug 6499508 (getting warmer!)Michael Jurka2012-06-011-0/+7
| | | | | | | | Change-Id: Id55c6e9641508804d7f4a1b83e1251ea960d4aa5
* | Reduce recents memory usageMichael Jurka2012-06-013-11/+24
|/ | | | Change-Id: I7e50bc1987dd75b1fbbe4e91d13490ae1faa6cb8