summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recents
Commit message (Collapse)AuthorAgeFilesLines
* SystemUI: Fix possible NPEMichael W2016-11-041-2/+3
| | | | | | | | | isTaskAboveTask() results in an NPE if the caller is null. Wrap with null checks on lauchTargetTask and launchTargetTask.group to prevent this Change-Id: I372ea7744c67ddd11d9731e6bee1858d4dd3318c Reference: BugDumps 20161021-27 L#77
* SystemUI: bail out of recents-to-home animation when losing focusRoman Birg2016-05-051-2/+28
| | | | | | | | | | | | | | | In the case when recents is animating out, and an application happens to immediately add a view to the window manager, the recents view would lose its focus, but the animations would continue to run, breaking the behavior in certain cases. Bail out of the recents activity and override the pending transition to be disabled to not distrubt the newly added window. Ref: CYNGNOS-1136 Change-Id: I5998a9dcf21b1369473f04ea4d867c5f2543d6df Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: add closed all tasks event logRoman Birg2016-04-111-0/+1
| | | | | | | Ticket: CYNGNOS-2391 Change-Id: I9966121a11969455d51699bbbdc7138d5411292a Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: add RecentsView EventLogsRoman Birg2016-04-111-0/+8
| | | | | | Ticket: CYNGNOS-2391 Change-Id: Iec202e9f764fce85eaa4ddff7c8f311146b00229 Signed-off-by: Roman Birg <roman@cyngn.com>
* SystemUI: Prevent search bar flicker between recents and launchercretin452016-02-181-4/+10
| | | | | | Issue-id: CYNGNOS-1892 Change-Id: I200ccc319e81762c0485f405279bcc9880f07b71
* Recents : Don't show clear all if no tasksDanesh M2016-02-151-3/+1
| | | | | | | | | | There is a race condition where if the user clears the last remaining task, and re-opens the switcher before its cleaned up, they see the clear all icon even with no tasks. OPO-432 Change-Id: I5d7c04000e7d42d68fae9379075f9da318afd31f
* SystemUI: handle hiding recents search bar dynamicallyRoman Birg2016-02-084-6/+56
| | | | | | | | | | | | If the "Show recents search bar" is toggled inside Settings, we need to catch that and reload the header bar as needed. Otherwise, having the setting disabled would still include search bar bounds while the view was hidden, causing some jarring animation jumps. Ref: CYNGNOS-342 Change-Id: I74597d6d225af0395da6cb7a611bd230fc9e0675 Signed-off-by: Roman Birg <roman@cyngn.com>
* Revert "SystemUI: Add option to disable search bar in recents (2/2)"Roman Birg2016-02-081-25/+5
| | | | | | | | Ref: CYNGNOS-342 This reverts commit 7ae677fc69783c665d690c4c56848ba4882382b9. Change-Id: I3a83ffc4698621481249605cd43b1199caaa1f0a
* Merge tag 'android-6.0.1_r13' into HEADJessica Wagantall2016-02-011-0/+45
|\ | | | | | | | | | | | | Android 6.0.1 release 13 Ticket: CYNGNOS-1522 Change-Id: Ie3e371fbd0ad24e99bba8512080b5238eeacb95e
| * DO NOT MERGE Ensure that the device is provisioned before showing Recents.Winson2015-12-101-0/+45
| | | | | | | | | | | | Bug: 25476219 Change-Id: Ibbe621748f7275f8c1ccded84612ca16292559eb
* | Improve Recents-ViewBadDaemon2016-01-191-0/+7
| | | | | | | | | | | | | | When no tasks are in recents, allow pressing once on view to close it Change-Id: I017510e8faeb871cd50173fd7d445e51ba55b8ae
* | Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-071-0/+22
|\ \ | |/ | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 3 Change-Id: I59b9e5a943e0860d43bcfb36ee0e8b8b072412ea
| * Ensure we update the active pointer id on pointer up/down.Winson2015-10-121-0/+22
| | | | | | | | | | Bug: 24841350 Change-Id: Id5d91ee8adbb638caf66976d701cfbc0befaca04
* | Allow screen unpinning on devices without navbarUtkarsh Gupta2015-12-041-6/+24
| | | | | | | | Change-Id: Iedfc08f4d95bbee3c8578c0d2450b90739e63603
* | fw: Move RECENTS_SHOW_SEARCH_BAR to CMSettings.Adnan Begovic2015-11-111-2/+3
| | | | | | | | Change-Id: Id601b183eb5ef2595d33130b0af52607df0b9a11
* | Recents: Port "Development shortcut" (2/3)Diogo Ferreira2015-11-072-1/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch includes the equivalent of our Development Shortcuts in CM11 recents. Recents is very different now and this is mostly a rewrite. The semantics changed a bit as well. The current code already has special developer behavior when long-pressing the app icon and that is also where the developer shortcuts are hooked. If the app icon is long-pressed and developer shortcuts are active, a menu will be shown with the several available options. Fixes CML-61 Change-Id: Ifdeaf83cf8db0f41ea38a9e8e926109c569b091a
* | Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-053-8/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: cmds/bootanimation/BootAnimation.cpp core/java/android/accounts/AccountManager.java core/java/android/app/AppOpsManager.java core/java/android/os/PowerManagerInternal.java core/java/android/os/storage/IMountService.java core/java/android/provider/Settings.java core/java/com/android/internal/widget/ILockSettings.aidl core/res/res/values-mcc204-mnc12/config.xml core/res/res/values-mcc219-mnc02/config.xml core/res/res/values-mcc730-mnc07/config.xml core/res/res/values/config.xml core/res/res/values/symbols.xml packages/SystemUI/res/values/config.xml packages/SystemUI/src/com/android/systemui/doze/DozeService.java packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java packages/SystemUI/src/com/android/systemui/statusbar/ExpandableOutlineView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java services/core/java/com/android/server/LocationManagerService.java services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/pm/PackageManagerService.java services/core/java/com/android/server/power/PowerManagerService.java telecomm/java/android/telecom/Phone.java telephony/java/android/telephony/CarrierConfigManager.java telephony/java/android/telephony/RadioAccessFamily.java telephony/java/android/telephony/ServiceState.java telephony/java/android/telephony/SignalStrength.java telephony/java/android/telephony/TelephonyManager.java telephony/java/com/android/ims/ImsCallProfile.java telephony/java/com/android/ims/ImsReasonInfo.java telephony/java/com/android/ims/ImsSuppServiceNotification.aidl telephony/java/com/android/ims/ImsSuppServiceNotification.java telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl telephony/java/com/android/internal/telephony/RILConstants.java Change-Id: I99c6edb8e25a77145b5adef97d0d55bfbe676959
| * Require strong authentication after a timeoutJorim Jaggi2015-08-123-8/+0
| | | | | | | | | | Bug: 21594472 Change-Id: Iab169d4fa2e4ad134f8c8579654b28e96b5b1385
* | SystemUI: Fix NPEBadDaemon2015-10-282-1/+9
| | | | | | | | | | | | | | | | | | Should fix "Attempt to read from field 'int com.android.systemui.recents.RecentsConfiguration.maxNumTasksToLoad' on a null object reference" Change-Id: I05e36b64db610249dc2be55a95d1bd8dae7bfb9c
* | SystemUI: Add option to disable search bar in recents (2/2)Yashar Ahmedizadeh2015-10-261-5/+25
| | | | | | | | | | | | | | | | Coded from scratch by yashade2001. Firstly written for Project D.I.S.C.O. ROM. Thanks to TheMrcool212 for his help. Change-Id: I3f985aab873d05350c8301bdedae5eeee49f70c7
* | base: enable clear all recents buttonAlex Cruz2015-10-251-1/+1
|/ | | | Change-Id: Iff582425613b6562c9fb1ca05d2138d3a62eb027
* Pushing the startActivity before the calls to remove task.Winson2015-08-101-3/+5
| | | | | | | | | | | | - It appears that there is contention between startActivityAsUser() and removeTask() (called on two separate threads) which can cause jank when a user removes all the tasks from their recents list. This CL ensures that startActivityAsUser() is always run first so it is not blocked by the other call (which should be able to run in the background uninterrupted). Bug: 22760556 Change-Id: I7564a2f0e43414686419d3657379bbd0ca6b4152
* Fixing issue with empty Recents screen.Winson2015-08-061-2/+14
| | | | | | | | | | | | | | - We did not expect RecentsActivity to be launched without going through the normal SystemUI controls, but when the home activity is in the foreground and killed (via a normal apk update), the RecentsActivity stores the old launch configuration and believes that it was launched from home and awaits the animation-complete callback to animate the tasks in. - This CL adds a workaround where the configuration is reset whenever RecentsActivity is stopped, which allows the tasks to be shown immediately if the User is kicked back into Recents due to an update. Bug: 22542869 Change-Id: I2b4168ccecfbf868fa6d544fe89109dfa74f51df
* Moving removeTask to separate thread.Winson Chung2015-07-311-23/+21
| | | | | Bug: 22760556 Change-Id: Iac6eef77e3ba5432ac1cd4aa792e7b2aadc27c01
* Ensuring that we don't try to use and propagate null activity labels.Winson Chung2015-07-312-3/+14
| | | | | | | | - Also fixes issue with tapping outside bounds not working to dismiss recents Bug: 21774486 Bug: 22241587 Change-Id: Ib50f6fece8fb150929a1f8cdb01b8e8fe7b665cd
* Fix assist for hardware long-pressJorim Jaggi2015-07-081-6/+7
| | | | | | | | | 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
* Adding metrics to overview.Winson Chung2015-07-067-0/+78
| | | | | Bug: 21528167 Change-Id: Ice1ce892682aa4599b9a689b47af373780897548
* Refactoring recents search bar widget logic.Winson Chung2015-06-247-199/+127
| | | | | | Bug: 19062975 Change-Id: I303710598675aeebca8f34ac57de6249462ec033
* Catching launch errors when trying to go Home while Home is updating.Winson Chung2015-06-241-4/+10
| | | | | | Bug: 21442898 Change-Id: I7fc74422b220cb02acb195b5c9121ff72bc16dbe
* Merge "Fixing issue with recents not being hidden for translucent apps." ↵Winson Chung2015-06-173-10/+9
|\ | | | | | | into mnc-dev
| * Fixing issue with recents not being hidden for translucent apps.Winson Chung2015-06-173-10/+9
| | | | | | | | | | | | | | | | | | | | - When tapping home, we can't depend on the stack state to determine whether or not hide recents since there can be translucent windows above it. In this case, we just dismiss recents directly since the receiver will only be registered while recents is visible. Bug: 20110140 Change-Id: I6b796cc4cbd790aac9a0857549e34117adb808d8
* | Fixing a few accessibility issues.Winson Chung2015-06-172-40/+96
|/ | | | | | | | | | - Fixing issue with accessibility focus being incorrect when animating from home - Fixing issue with accessibility focus being reset too aggressively when the list is scrolled - Ensuring that recents handles forward/backwards scrolling Bug: 19997561 Change-Id: I042666775862f4a20e8f22960e1f34e45fc5664e
* Skip recents preloading when there is no task to animate to.Winson Chung2015-06-091-3/+5
| | | Bug: 21696081
* Hide View.getBackgroundColor() prior to removalChet Haase2015-06-051-1/+3
| | | | | | Issue #21572678 API Review: android.view.View.getBackgroundColor() Change-Id: Ia4fa9e207db3af6e076581bf23747eba6e56bb69
* Merge "Speed up recents -> app #2" into mnc-devJorim Jaggi2015-06-042-28/+87
|\
| * Speed up recents -> app #2Jorim Jaggi2015-06-042-28/+87
| | | | | | | | | | | | | | | | Creating the thumbnail of the header for the transition was on the critical path for starting the activity. This moves it off this path by doing it after onPause(). Change-Id: Ic54a104d5ad4c40e88638566a3a69cc265a0a0fe
* | Merge "Speed up recents -> app" into mnc-devJorim Jaggi2015-06-044-5/+8
|\ \ | |/
| * Speed up recents -> appJorim Jaggi2015-06-044-5/+8
| | | | | | | | | | | | | | | | Because we created a bunch of layers, this delayed calling start activity in the window manager. Disable these layers, as they are not really needed. Change-Id: I59343a92726665f72215a0699c52ead76e78a4b3
* | Merge "Make entering recents a lot faster" into mnc-devJorim Jaggi2015-06-046-40/+167
|\ \ | |/
| * Make entering recents a lot fasterJorim Jaggi2015-06-046-40/+167
| | | | | | | | | | | | | | | | | | | | | | | | - Precache the bitmap for the window animation in the preload phase - Remove some post's so we have a faster path from UP -> startActivity - Don't dim the headers in the first frame drawn, because layer creation is slow. Instead, do it in the second frame, when the window animation is already running. All these changes combined make going to recents about 40-50ms faster. Change-Id: I3e4060af1ac57b3f359fe7f86f9e3814c6490323
* | Merge "Processing non-long clicks on application icon." into mnc-devVadim Tryshev2015-06-042-5/+19
|\ \ | |/ |/|
| * Processing non-long clicks on application icon.Vadim Tryshev2015-06-042-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL alone doens't fix the whole bug, see the bug for the AI list. In normal mode, clicking at application icon on a task view is ignored to avoid accidental clicks. To open app properties, we need a long click. In accessibility mode, we want to make it easier to open app properties, and accidental clicks are less likely. Hence, allowing "simple" clicks. Bug: 20945599 Change-Id: Iec3f911dced1eda09175500fc1e798dd09b6f9e2
* | Merge "Fixing case where we were not preloading tasks correctly." into mnc-devWinson Chung2015-06-034-21/+21
|\ \ | |/ |/|
| * Fixing case where we were not preloading tasks correctly.Winson Chung2015-06-034-21/+21
| | | | | | | | | | | | | | | | - Should use the actual isTopTaskHome check when preloading. Bug: 21516523 Bug: 20882957 Change-Id: I60cf1e97f7704828426f72a45329c8c7b962a78c
* | Merge "Don't focus view for invalid task index." into mnc-devWinson Chung2015-06-011-2/+4
|\ \ | |/
| * Don't focus view for invalid task index.Winson Chung2015-06-011-2/+4
| | | | | | | | | | Bug: 21322861 Change-Id: I7b8397d18b488bd8f459e578b64d6e82e4f1437d
* | Allow long-pressing task icon to show app-info.Winson Chung2015-06-012-10/+2
|/ | | Bug: 17369696
* Adding NPE check when the system has no tasks.Winson Chung2015-05-271-1/+1
| | | | | Bug: 20640135 Change-Id: Ifb62d18dbf2125bc33325b7c2f2a44da51309325
* Make recents use immutable ashmem bitmaps for things it frequently passes ↵Riley Andrews2015-05-182-2/+4
| | | | | | | across binder. Bug 21037890 Change-Id: Ieb29be3ff68f3db3f07df02f171325ed77915fdf
* Cleanup propertiesChris Craik2015-05-052-32/+0
| | | | | | | | | | | | bug:19967854 Separate properties from Caches, into static, RenderThread-only class. Also rewrites the means for java to set properties to correctly handle threading, and adds an override for profile bars so that SysUi doesn't clutter the screen with them. Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9