a750a63d639f6936af456df904fa6b9ba941885e |
|
17-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #21814207 and issue #21814212 (alarm manager) Issue #21814207: AlarmManager.setAndAllowWhileIdle should also allow wake locks. Introduce a whole new infrastructure for providing options when sending broadcasts, much like ActivityOptions. There is a single option right now, asking the activity manager to apply a tempory whitelist to each receiver of the broadcast. Issue #21814212: Need to allow configuration of alarm manager parameters The various alarm manager timing configurations are not modifiable through settings, much like DeviceIdleController. Also did a few tweaks in the existing DeviceIdleController impl. Change-Id: Ifd01013185acc4de668617b1e46e78e30ebed041
/frameworks/base/core/java/android/app/ActivityOptions.java
|
67ba2c7fa25a635c640956ff3a5e64164cb23396 |
|
05-Jun-2015 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #21572679: API Review: ActivityOptions, usage time report Change-Id: I62751e93e39f90d5d2ec725586880724f3edbbc7
/frameworks/base/core/java/android/app/ActivityOptions.java
|
b5a380d409a1431a38db978864b9d85b689e3cce |
|
21-May-2015 |
Dianne Hackborn <hackbod@google.com> |
Add API to track usage time of apps. This adds a new ActivityOption for the caller to ask the system to track the time the user is in the app it launches, delivering the result when they are done. The time interval tracked is from when the app launches the activity until the user leaves that app's flow. They are considered to stay in the flow as long as new activities are being launched or returned to from the original flow, even if they cross package or task boundaries. For example, if the originator starts an activity to view an image, and while there the user selects to share, which launches gmail in a new task, and they complete the share, the time during that entire operation will be included. The user is considered to complete the operation once they switch to another activity that is not part of the tracked flow. For example, use the notification shade, launcher, or recents to launch or switch to another app. Simply going in to these navigation elements does not break the flow (although the launcher and recents stops time tracking of the session), it is the act of going somewhere else that completes the tracking. The data is delivered to the app through a PendingIntent, which includes the total time the app was in the flow along with a time break-down by app package. Change-Id: If1cf8892d422c52ec5042eba0e15a8e7e8f83abf
/frameworks/base/core/java/android/app/ActivityOptions.java
|
10e23ab61b820fb3149b2f89003753d98ebd6a80 |
|
12-Feb-2015 |
Chet Haase <chet@google.com> |
Add ClipReveal window transition for application launch Issue #19362772 Better material launch animations Change-Id: Ic94fde910b6b5554ee954dfbbf374949f9eb189d
/frameworks/base/core/java/android/app/ActivityOptions.java
|
e494c382c0caf35f225dfb55f0e3b992c14d79f5 |
|
17-Dec-2014 |
Winson Chung <winsonc@google.com> |
Bug 18784289: Fix issue with transition animation callback. This is a regression where we changed the source view for the transition to dummy view, but since it was not yet attached, it could not get the handler implicitly to post the onAnimationCompleted callback. This CL modifies these ActivityOption transitions to also take an explicit handler to process the callback on. Bug: 18784289 Change-Id: I73f745c33b9f8aed91f8d9cd975f37cf7e4128f1
/frameworks/base/core/java/android/app/ActivityOptions.java
|
044d52934e57a337665f707aa4be1d423ee3fb29 |
|
06-Nov-2014 |
Winson Chung <winsonc@google.com> |
Adding bounce animation for affiliated tasks. (Bug 16656169) Change-Id: I39e4a57c4e6b707d15513dacde2d40c23bb05058
/frameworks/base/core/java/android/app/ActivityOptions.java
|
9826f636ad4fe3714d60972acd918e09eb44d971 |
|
11-Sep-2014 |
George Mount <mount@google.com> |
Have Activity Transitions activited by a new window attribute. Bug 17006497 Window content transitions were being enabled by default in the Material Theme so that Activity Transitions could be enabled by default. Unfortunately, this gave the effect that many applications did not want -- the default transition between window content is a fade out/in. Here, a new attribute is added: windowActivityTransitions that is enabled by default in the Material theme and windowContentTransitions is disabled by default in all themes. Change-Id: Iab453d608f00a48ff7ab7f09ce84b52cf5f20294
/frameworks/base/core/java/android/app/ActivityOptions.java
|
345d4f4f14038c2225cd599f9c432b25e572dc2c |
|
09-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Remove deprecated (and now unused) API method." into lmp-dev
|
0321573fa7583cd2ac4ece015c2eb784e3b24eb8 |
|
09-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Remove deprecated (and now unused) API method. Removes ActivityOptions.makeLaunchTaskBehindAnimation(). Fixes bug 16958544. Change-Id: I2d58f4235994fe01d55b3309d0ec6f8449c5d5b8
/frameworks/base/core/java/android/app/ActivityOptions.java
|
2e7f3bdcc9ec0b3e95b565b943ecee2210f4b937 |
|
05-Sep-2014 |
Winson Chung <winsonc@google.com> |
Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565) Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c
/frameworks/base/core/java/android/app/ActivityOptions.java
|
5c1b42e4f5d7307ad09d0d7ad094adf34650fb62 |
|
26-Aug-2014 |
Winson Chung <winsonc@google.com> |
Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev
|
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/core/java/android/app/ActivityOptions.java
|
3b2cd1d59fd894ac67a044c6c540fa69360a34a2 |
|
25-Aug-2014 |
Craig Mautner <cmautner@google.com> |
Update API per council requests launchTaskBehindBackgroundAnimation => launchTaskBehindTargetAnimation visibilityMode => transitionVisiblityMode makeLaunchTaskBehindAnimation => makeTaskLaunchBehind launch_task_behind_background = launch_task_behind_target Fixes bug 16958544. Change-Id: I3b7c791fc0671b8071a5377cf6fa878bd5861f70
/frameworks/base/core/java/android/app/ActivityOptions.java
|
bb742462781a73bb25516067c8fe6311c1c8a93e |
|
08-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Launch activity behind launching task. Use ActivityOptions.makeLaunchTaskBehindAnimation() to launch tasks behind the current task. Includes animations for launching and launched tasks. Fixes bug 16157517. Change-Id: I0a94af70b4748592e94673b958ee824cfb3d7ec0
/frameworks/base/core/java/android/app/ActivityOptions.java
|
00dde0bd469ba7a34369dcaaa701bd06fdf6c3ad |
|
02-Jul-2014 |
George Mount <mount@google.com> |
Fix hang when there is no shared element in activity transition. Bug 15990826 Change-Id: Id494a51baf8694abd6c5207389cd8334db485d1a
/frameworks/base/core/java/android/app/ActivityOptions.java
|
0b6f3e1afa78467cfe166c222295df1f7ed7d4c0 |
|
20-Jun-2014 |
George Mount <mount@google.com> |
Don't return null from ActivityOptions.makeSceneTransitionAnimation. Change-Id: I77c331848eb5f05ac3010fa6ab85ad2a45760ebc
/frameworks/base/core/java/android/app/ActivityOptions.java
|
1fecfb2ddcdf4335ff543bdd549b8e4d36139da8 |
|
18-Jun-2014 |
George Mount <mount@google.com> |
Activity Transitions: don't require transitionName. Bug 15585623 Bug 15607591 Exit transitions now run because exit transitions are executed with startActivity. Change-Id: Ie55793a9514c64d96e2cf1abdd2d39c4d2606a23
/frameworks/base/core/java/android/app/ActivityOptions.java
|
0a2ae002e60f7ea9b6bea282086b5eb0ae3c6e51 |
|
23-Jun-2014 |
George Mount <mount@google.com> |
Revert "Revert "API Review: Change View viewName attribute to transitionName."" This reverts commit 1bdfbc68e22a64215ab8fa3e3d17676513546997. Change-Id: Ie3fdf53b33cb2f61c1878055940f52ed9dfc8b08
/frameworks/base/core/java/android/app/ActivityOptions.java
|
a3c1025b80c910fd7c0e9b1c178de32cab83f6de |
|
23-Jun-2014 |
John Reck <jreck@google.com> |
Revert "API Review: Change View viewName attribute to transitionName." This reverts commit f1b1adf51b2a84e0ac83685812c7e8d86590af12. Change-Id: I0e49aeed84f2a548e272a59f4e13c3fb74c2bfd9
/frameworks/base/core/java/android/app/ActivityOptions.java
|
125578a8637a9ad5e7430d16b9fc0096a8b596d7 |
|
18-Jun-2014 |
George Mount <mount@google.com> |
API Review: Change View viewName attribute to transitionName. Bug 15548520 Change-Id: I4009458d83dbffb20ff0100aaa42eea44d943378
/frameworks/base/core/java/android/app/ActivityOptions.java
|
d5f9d735b7e48f2ac60773c9c76b4b5f19a0cc72 |
|
06-Jun-2014 |
George Mount <mount@google.com> |
Make more descriptive exception for null viewName. Bug 15114583 Change-Id: I73db179e032947843e3f9a7f1cc5228cbf6fc22b
/frameworks/base/core/java/android/app/ActivityOptions.java
|
62ab9b78b77b7dd851c47115f4d8d7611d657585 |
|
02-May-2014 |
George Mount <mount@google.com> |
Support Activity Transitions when activity stopped. Bug 14459812 Bug 14454812 Bug 14450295 A new transport was supported for Activity Transitions in which convertToTranslucent can now take a Bundle to transport to the calling Activity. This also allows waking Activities to regain the communication between the exiting Activity and the calling Activity. Change-Id: I29aee14b7e56d9b8b9fb656f382b2c4172b02e14
/frameworks/base/core/java/android/app/ActivityOptions.java
|
5d1be5364412450afdbf7525f7431bdb4625f377 |
|
13-May-2014 |
George Mount <mount@google.com> |
Disallow makeSceneTransitionAnimation without FEATURE_CONTENT_TRANSITIONS Bug 14655908 Change-Id: I60c38aca4a00410b792e2f7ce617ea78c162db55
/frameworks/base/core/java/android/app/ActivityOptions.java
|
caa03107d4322b0e30f92e6dc1eb1ea73b1bf747 |
|
15-Apr-2014 |
George Mount <mount@google.com> |
Transfer image of shared element to launched Activity. First pass of the API will use a Bitmap. Future versions will use more efficient mechanisms. Change-Id: I111474dd031fef0b86de871017c85dc679166acf
/frameworks/base/core/java/android/app/ActivityOptions.java
|
31a217290cf376d0573fc36e21c8940987485019 |
|
25-Mar-2014 |
George Mount <mount@google.com> |
Split Activity Transitions out of PhoneWindow. Bug 13622834 Made it possible to use shared elements without making Views invisible. Change-Id: I1e85c6bc19e634a9af225ad7f0309b4f003ea462
/frameworks/base/core/java/android/app/ActivityOptions.java
|
d6107a3170df61d9e776fcd5666acfc9135c6f16 |
|
11-Mar-2014 |
George Mount <mount@google.com> |
Add Transitions useful for Activity transitions. Slide: transition in and out of the edge of the scene. Explode: transition to the scene borders Moved capability from Fade to Visibility. Change-Id: Ibeb0d8f751c990edc467570d9665fbe251af2703
/frameworks/base/core/java/android/app/ActivityOptions.java
|
cb4b7d999e7bcba608726188421772e313e67163 |
|
25-Feb-2014 |
George Mount <mount@google.com> |
Implement "Back" for Activity Transitions. Change-Id: Iceaf888f57f2c7598f9291687ac9ad76d55bd82c
/frameworks/base/core/java/android/app/ActivityOptions.java
|
e180337ee99b9155fe441ea55451f4d2167b5d9a |
|
26-Feb-2014 |
George Mount <mount@google.com> |
Change Activity Scene Transitions to be more automatic redo. This reverts commit 206e30cd93afe3eb72ec94178324417db5424ed2 along with removing the additional startActivity* methods and replaces them with ActivityOptions makeSceneTransitionAnimation methods. Change-Id: I52bec31ae3c4cea6d549810ae5a7acd8aea176d8
/frameworks/base/core/java/android/app/ActivityOptions.java
|
206e30cd93afe3eb72ec94178324417db5424ed2 |
|
26-Feb-2014 |
George Mount <mount@google.com> |
Revert "Change Activity Scene Transitions to be more automatic." This reverts commit f10587faadb9080a7bf9991cbe04bac5525da482. Change-Id: I2785a3d2d6b667cad6d61dcbbc1c624161735fa4
/frameworks/base/core/java/android/app/ActivityOptions.java
|
f10587faadb9080a7bf9991cbe04bac5525da482 |
|
06-Feb-2014 |
George Mount <mount@google.com> |
Change Activity Scene Transitions to be more automatic. Shared element transitions are enabled by default when the Window has a TransitionManager. Shared element location and size are captured and transferred to the target Activity. ActionBar is treated as a shared element. Change-Id: I0f22ea4e5cbe80254e848444e3f235cb742684f4
/frameworks/base/core/java/android/app/ActivityOptions.java
|
0a778eda690a66173733a63622886e888d405c45 |
|
13-Dec-2013 |
George Mount <mount@google.com> |
Cross-Activity Scene transition API. First pass at API for cross-Activity Scene transitions. Remaining work: Transition back Automatically capture hero element info Transfer of surface texture to synchronize between Activities Possibly use scene names to indicate preferred transition Change-Id: I59d07de1fae694a46b92b1c82525daa301ec1377
/frameworks/base/core/java/android/app/ActivityOptions.java
|
cfbe9be5b3b701d95fb24fa0f7c8d9be43eec776 |
|
06-Nov-2013 |
Adam Powell <adamp@google.com> |
Add support for cross-activity scenes and transitions * Add theme attributes for specifying a top-level TransitionManager for an activity window. * Add window feature for automatic content transitions. This automatically assigns/creates a Scene for setContentView calls. * Add named transitions. This allows apps to define APIs for handshake-agreements about which exit/entrance transitions to play. * Add new transition type for ActivityOptions. This lets the system use ActivityOptions to communicate transition specifics and arguments to the called activity. * Have ActivityManager pass appropriate ActivityOptions through to the called Activity. Have the called activity call back into the caller to let it know which transition of a possible requested set was chosen. Still to do: * Define and pass arguments for transitions. This will require defining a Parcelable version of TransitionValues and deciding how much leeway apps should have for these things. * Determine how to appropriately filter the ActivityOptions bundle so that only appropriate data reaches the target. * Determine if generalizing the auto-Scenes functionality to ViewGroups is appropriate. Change-Id: I10684b926129ab2fbc1adec9ef31767237acae79
/frameworks/base/core/java/android/app/ActivityOptions.java
|
18e905f42d017c4721d33bd25d7d39ef8d64b5d5 |
|
24-Oct-2013 |
Adam Powell <adamp@google.com> |
Make Scenes and Transitions first-class in PhoneWindow/Themes Add a window feature for content transitions. This implicitly creates a Scene for each setContentView operation and runs the appropriate transition. Applications can specify a TransitionManager XML in their theme that will apply the appropriate transitions when these implicit scene changes occur. Apps can specify a "to" with no "from" in a transition to request an entrance transition for the given content. This lays the groundwork for further full content change/activity to activity transitions. Change-Id: Ic815d9e0b9ce958152d70bf6ee01be075aa9fe88
/frameworks/base/core/java/android/app/ActivityOptions.java
|
832cb229cd748505c90f74ae8154fc3557d61a73 |
|
13-Apr-2012 |
Michael Jurka <mikejurka@google.com> |
Adding a thumbnail scale down animation Recents animation will temporarily look a bit wrong, but a subsequent change will fix this.
/frameworks/base/core/java/android/app/ActivityOptions.java
|
84375876fcef73c5fa9c3de205c7db908ee14e15 |
|
02-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #6579997: Mariner entrance animation Add a new variation of ActivityOptions that allows you to supply custom animation resources and get a callback when the animation starts. Use this in SearchPanelView to determine when to start hiding the search panel instead of having a fixed delay. Fix some issues in the activity manager where we would cancel the options in cases where we should actually keep them to give to the window manager for a transition. (Basically when the activity being started is not actually ending up launched, but just results in a shift in the activity stack.) Note that this is not quite what the design calls for -- the entire search UI is waiting and then disappearing when the animation starts, instead of the ring first disappearing while waiting for the time to fade out the circle. Change-Id: Iee9a404ba530908d73cdbd4a9d0d2907ac03428f
/frameworks/base/core/java/android/app/ActivityOptions.java
|
21385cd83d7d7938b57a4acbaa236dd4c7804ed4 |
|
03-May-2012 |
Michael Jurka <mikejurka@google.com> |
Making transition out of recents look better - Fading out recents first, then scaling up app thumbnail - Fade Recents out over 130ms - Delay the window animation for 200ms first, then animate for 200ms (previously we didn't delay and then animated for 300ms) Bug: 6390075 Change-Id: Ia8c753bf7ee03d2acef6eb2772b28d88fe10a682
/frameworks/base/core/java/android/app/ActivityOptions.java
|
d367ca88eeede24e7d9a51ae85996a9d08d734b2 |
|
08-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Tweak anim API to automatically call Intent.setSourceBounds(). Also don't retain the source bounds in recent tasks, since it has no meaning there and it would be better when relaunching an activity to have a new bounds set based on wherever it is now being launched from. Change-Id: Ia90c04ee98a888a7f725b038abe23d71e2b12800
/frameworks/base/core/java/android/app/ActivityOptions.java
|
ddc52a80b5280d4a67180a6caae8c7dead00157f |
|
04-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #6426645: API REVIEW: android.app.ActivityOptions Change-Id: If2f7b987e1825a8b0ebaf2c499924dfc1527274b
/frameworks/base/core/java/android/app/ActivityOptions.java
|
eabfb3a36e9469c5e219f92b39b7200104319185 |
|
17-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new scale-up window manager animation. Like zoom thumbnail, but without the thumbnail. Change-Id: I9486dd204398b87c9e70ff0d05d03f4a22449cd6
/frameworks/base/core/java/android/app/ActivityOptions.java
|
9944ecd28e1c56c4e9f0a50ed6e8be2110ba5c31 |
|
11-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Hide the callback for activity animation options. Not something I want to be stuck reporting forever. Change-Id: Iab13fb7abb23d466492230242bfbae29f1fd01f3
/frameworks/base/core/java/android/app/ActivityOptions.java
|
8078d8c8a282ca81344febe7256f63b1e805e3aa |
|
20-Mar-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new thumbnail animation. Use it for recent tasks switching. Not perfect yet by far, but something. Also fix issue #6186758: Twitter crashes after tapping on a tweet on JRM75D Change-Id: I49bf6c94aafde875ac652dedaf96d6c08cc9e7d2
/frameworks/base/core/java/android/app/ActivityOptions.java
|
6de01a9b03ad6f8a1af4a0d893d952caa4b69d39 |
|
20-Mar-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix build, forgot to add file. Change-Id: Ia4b632170471649d1e1eceaad8fec41729008659
/frameworks/base/core/java/android/app/ActivityOptions.java
|