• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/view/animation/
History log of /frameworks/base/core/java/android/view/animation/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9d9ece3c1e16001b63244459cdf4b428f4272d2e 11-Sep-2012 Dianne Hackborn <hackbod@google.com> Animations for user switching.

The window manager now has a facility to provide a full-screen
animation, which the activity manager uses every time a user
switch happens.

The current animation is just a simple dumb slide until we get
a design from UX.

Also some cleanup: moved the portrait task animations to the
default config so we always have an animation for them, and finally
got the java symbol stuff out of public.xml.

Change-Id: I726f77422b2ef5f2d98f961f8da003e045f0ebe8
otateAnimation.java
393a52c9f628bbf2ab68508913177650f9183ee4 23-May-2012 Romain Guy <romainguy@google.com> Make it harder for apps to mess up ViewGroup's internal state
Bug #6421288

Change-Id: I8c2c597f45391d3c1ae40c8341a68bb25d8ad4d9
nimation.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
nimation.java
ransformation.java
e6c118b5d049ee163df40e33df98a98aa4acebe6 29-Feb-2012 Robert Ly <robertly@google.com> am 61a9a83a: am 40226da7: am f4994b3e: Merge "fix bug 5911175" into ics-mr1

* commit '61a9a83ac09246f815806fa4f64cc65a7e876f96':
fix bug 5911175
5c4d41ecb3282fcd5798dd848b3e4d0cb2d2eccc 22-Feb-2012 Robert Ly <robertly@google.com> fix bug 5911175

Change-Id: I528e7c30e81c85ec31a5abbd74e85cc364a8362f
nimation.java
0041861a0433402b789d6530eb0ed52a1c2b4ff1 21-Dec-2011 Chet Haase <chet@google.com> Fix behavior of AnimationSet and fillBefore

The previous logic in AnimationSet when starting an animation
ignored the fillBefore behavior of its child animations. This caused
a bug where a delayed AlphaAnimation would automatically cause the
target view to become transparent, even though it was supposed to wait
until after some delay to do so.
The fix checks the fillBefore behavior of each child animation before
concatenating its transform with the transform of the AnimationSet.

Change-Id: I76a2dafbe6dd338dc5281b17612eae87af168d86
nimationSet.java
7d4045b3f2c520ffb9db2b6562c9e04fa234407f 20-Dec-2011 Chet Haase <chet@google.com> Merge "Make behavior of ABSOLUTE pivot values more intuitive"
84c949f3b130c9f375203cdb4a3cc4af6b38a4f3 20-Dec-2011 Chet Haase <chet@google.com> Make behavior of ABSOLUTE pivot values more intuitive

Currently, you must call initialize() on RotateAnimation or
ScaleAnimation prior to calling start(). The reason is that the
actual pivot point used in calculating the transform is not set
until that method is called. This makes sense in the typical case
where the animation is running on a View and is using values relative
to the size of the View or of its parent. But if the caller sets the
values to be ABSOLUTE types instead, the sizes of the view and the parent
are irrelevant and the call to initialize() should not be needed (and
is not intuitive).

This fix automatically sets the internal pivot values in the case where
the value types are ABSOLUTE.

Change-Id: I74a0e462486efae08aa76e72c0d19d82f2a2677e
nimation.java
otateAnimation.java
caleAnimation.java
2d46fcc669ff5efe365e9be435ab9e5c5a304939 20-Dec-2011 Chet Haase <chet@google.com> Minor small fixes to old Animation code and docs.

Change-Id: Ib8a1ba2d12e26cc42a2cec48312a5229bb6d4e8a
nimationSet.java
nimationUtils.java
ab0f485e64418eb22f0a1d89d7064902b381e9c2 13-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix problems where we were allocating TypedArray when not needed.

Fixes up some recycling of TypedArray objects to reduce the
number we need to allocate during inflation etc.

Change-Id: I948dccc052997779001eaa99db2a710b04be01ae
nimation.java
8962028b6e2f4176e6ceded281e584d223e44982 11-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix inflating of animations.

Need to define attributes for animation set, to have correct indices.

Also small fixes elsewhere.

Change-Id: If596147e8aee4ebffe4e184872070341eff6df73
nimationSet.java
c861bd778b1b96aa12d3400ec799d80ba38c1f38 06-Sep-2011 Chet Haase <chet@google.com> Clarify AnimationSet docs and behavior

Two problems fixed here:
- The docs for AnimationSet were too vague and incorrect: some properties of
Animation (such as duration) are pushed from the AnimationSet down to its children, as
the current docs say. Some other properties (such as repeatCount) are ignored. Other
properties (such as startOffset) apply to the Set itself, but not to the children.
Fix: clarify this behavior for each of the properties.
- The behavior for XML resources was just busted. We would set the various properties
(e.g., duration) and then forget that we did so, since we reset the flags that marked
their existence after we loaded the resource. In fact, the duration property was
always being reset to 0, regardless of what it was set to in the xml resource.
Fix: Make it work they way it always should have: respect the values read from the XML
resource and make them behave the same way they do when set at runtime.

Change-Id: I07d68876d2259105dc5a359501d5c656ecfaa8e5
nimationSet.java
a4bacb8b74adf7908ac382024dc9183144793217 25-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix animation scale to also scale start offset.

Also more better info in meminfo dump.

Change-Id: I45ab41821cd8dd81b61605de6a0cf7074e76c71a
nimation.java
d8991c4ab02449e78745d7ecc521ca0b41ea4c53 24-Aug-2011 Chet Haase <chet@google.com> Fix docs for fill behavior in Animation class.

Change-Id: I9230e9b9841dbecead51a6716195749b0c5a0e39
nimation.java
c9bcebe969fd6fac40bcef4f23dd8fe99290a90b 23-Jul-2011 Romain Guy <romainguy@google.com> Fix the build

Change-Id: Icdf7e25fff5f1dc0836e67368f6797b60164e8ae
nimationSet.java
d4745a689f36211afaff396874d78b1d5202762d 23-Jul-2011 Romain Guy <romainguy@google.com> Nested alpha animations should cause invalidates too
Bug #5041061

Change-Id: I96835449b6b5537872afda90956c5d06d826e841
lphaAnimation.java
nimation.java
nimationSet.java
de75cb4738376c4cfe15c56aba7cd78d90e3100e 03-Mar-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3400119: API to specify a black background behind a window transition

There is now an API, which is used for task switching.

Also improved how we handle rotation animation when we can't take a
screen shot, to cleanly revert to the old freeze behavior. This removes
the need to special case the emulator.

Change-Id: I7227432a2309370437ec6ac78db02c6f1e7eedd5
nimation.java
f9d0be917b6f80efad29dce88ad2d2f117986c57 24-Nov-2010 Dianne Hackborn <hackbod@google.com> Implement rotation animations.

This introduces a small new feature for ScaleAnimation allowing
the scaling factor to be expressed as a percentage of the object
(which is the same as the existing float interpretation), a
percentage of the container, or a fixed dimension. Maybe not
useful for anything else, but I needed it for this.

Also fix a bug in how transformation matrices were propagated
from the Animation to Surface Flinger, so that rotate and skew
animations will actually work. :p

Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
caleAnimation.java
877e0b99eedfd22590db4a1663ca8a3b8e6b63d2 19-Nov-2010 Brian Carlstrom <bdc@google.com> Adding CloseGuard to Animation to find forgotten animations

Change-Id: I90df2c8a88dd75550431b7db63242db1a1b2f16a
nimation.java
6908cd154c5a2ed2e3b21d40f51952d45be69184 09-Nov-2010 Dianne Hackborn <hackbod@google.com> Fix animations to use correct interpolator.

Also some fragment fixes.

Change-Id: I3906199e541a86379d07c8a4e4d5f9e99830c44a
nimation.java
ecelerateInterpolator.java
e0ee2e9f3102c3c14c873a75a7b04e49787e0fb9 07-Oct-2010 Chet Haase <chet@google.com> New TimeInterpolator interface for android.animation package.

The new animation package's reliance on the old Interpolator interface (in
android.view.animation) was an eyesore. Adding TimeInterpolator, and having the
old Interpolator interface extend it, allows the new Animator classes to break
the tie to the older animation package completely. However, developers can still
use the older Interpolator-based classes, such as AccelerateInterpolator,
because they all implicitly extend the new TimeInterpolator class.

Change-Id: I41132fa56167ba564f4839113289114d0ea31a92
nterpolator.java
a18a86b43e40e3c15dcca0ae0148d641be9b25fe 07-Sep-2010 Chet Haase <chet@google.com> Rename several animation classes

Change-Id: I6a4544875090db485163c8d56de8718f56d267c7
nimationUtils.java
d51d368f2d512ab657b8ae45780c82c0dbea94c3 12-Aug-2010 Chet Haase <chet@google.com> Change animator xml importing to use new inflater class

Change-Id: I97225ee9868f4dcce5e4c1ba55e16414eb6c0464
nimationUtils.java
49afa5bc100e5d4c069fea980dd6b09501f56397 23-Aug-2010 Chet Haase <chet@google.com> Add facilities for layout transitions

Change-Id: I5c73ce6c6ba3bc9e3b57fcfbbcab37d511db6132
nimation.java
3b69b6f0be85d1f97c1e6824cf986777ba4e5d00 29-Jul-2010 Chet Haase <chet@google.com> Make the new android.animation package public

Change-Id: Iff31676f25fc989707a1e17fb172296014a22c27
nimationUtils.java
f54a8d7c479485174941c38f151ea7083c658da3 22-Jul-2010 Chet Haase <chet@google.com> Adding xml declarations for new animation framework

Change-Id: Ic789e47790cf24d1c4b3bcbe9048b992ab93517b
nimationUtils.java
4846032ac7be7c28c7cfeb3096b8cb656312a382 11-Jun-2010 Chet Haase <chet@google.com> Fix bug with layout animations when apps are auto-scaled.

The pivot points in RotateAnimation and ScaleAnimation are in pixel coordinates. When an app is being autoscaled, these values are incorrect and should be adjusted for the current scale factor. The fix adds API to Animation to allow ViewGroup to pass in the scaling factor.

Change-Id: I978c48f9b5aea6760148435e74e1a8d49e2f785d
nimation.java
nimationSet.java
otateAnimation.java
caleAnimation.java
52964243dc95f74ac2ab9a96d031a36931a11931 24-Feb-2010 Gilles Debunne <debunne@google.com> New OverScroller with edge bouncing effect.

OverScroller has been made a Scroller child class. Both use a physical constant deceleration
force to compute the animation. OverScroller also includes a rubber edge bounce effect.

Approved by Jim Palmer.

Change-Id: I3f43a03694b8cb6bfa0784c2663b37c9c39322cc
ecelerateInterpolator.java
5180d1c52209f6cd86f2273da6105205c505510a 10-Feb-2010 Romain Guy <romainguy@android.com> Prevent infinite loop in the Phone UI.
nimation.java
b4a107d8269d1a75b8f270e0516c1fa3b517f8f9 10-Feb-2010 Romain Guy <romainguy@android.com> Fix the lock screen.
nimation.java
305a2eb8e5957a4f3db2734a8918faf1a39fb9a4 09-Feb-2010 Romain Guy <romainguy@android.com> Properly notifies listener when an animation is cancelled.
Bug: #2428005.
nimation.java
4766defdd0778d7e0a656179d03a4865a9a40523 05-Feb-2010 Andreas Agvard <andreas.agvard@sonyericsson.com> Fixed Android animation framework, for using interpolators that do not start at 0.0f

There is a bug that affects interpolators that do not return 0.0f when given 0.0f as input. All default interpolators in Android do return 0.0f, which is why it hasn't been
noticed. Some custom interpolators can for example run backwards, returning 1.0f when given input 0.0f.
nimation.java
nimationSet.java
9db3d07b9620b4269ab33f78604a36327e536ce1 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
nimation.java
843ef36f7b96cc19ea7d2996b7c8661b41ec3452 20-May-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
ccelerateDecelerateInterpolator.java
ccelerateInterpolator.java
nimationUtils.java
nticipateInterpolator.java
nticipateOvershootInterpolator.java
ounceInterpolator.java
vershootInterpolator.java
ransformation.java
32f2ccd39334193ea4ed54cb418d8a3607e4b2ec 25-Mar-2009 Romain Guy <> Automated import from //branches/cupcake/...@141884,141884
ranslateAnimation.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
nimation.java
nimationSet.java
41df3851287361a377203fb5ad4397475831eb27 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135859
ranslateAnimation.java
bdbdc4f92951200a88d4c754448b9f91626ffc04 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135856
lphaAnimation.java
nimationSet.java
otateAnimation.java
caleAnimation.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ccelerateDecelerateInterpolator.java
ccelerateInterpolator.java
lphaAnimation.java
nimation.java
nimationSet.java
nimationUtils.java
ycleInterpolator.java
ecelerateInterpolator.java
ridLayoutAnimationController.java
nterpolator.java
ayoutAnimationController.java
inearInterpolator.java
otateAnimation.java
caleAnimation.java
ransformation.java
ranslateAnimation.java
ackage.html
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ccelerateDecelerateInterpolator.java
ccelerateInterpolator.java
lphaAnimation.java
nimation.java
nimationSet.java
nimationUtils.java
ycleInterpolator.java
ecelerateInterpolator.java
ridLayoutAnimationController.java
nterpolator.java
ayoutAnimationController.java
inearInterpolator.java
otateAnimation.java
caleAnimation.java
ransformation.java
ranslateAnimation.java
ackage.html
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
nimation.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
nimation.java
nimationSet.java
ayoutAnimationController.java
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
nimation.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
nimation.java
ackage.html
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
nimation.java
nimationSet.java
ransformation.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
ccelerateDecelerateInterpolator.java
ccelerateInterpolator.java
lphaAnimation.java
nimation.java
nimationSet.java
nimationUtils.java
ycleInterpolator.java
ecelerateInterpolator.java
ridLayoutAnimationController.java
nterpolator.java
ayoutAnimationController.java
inearInterpolator.java
otateAnimation.java
caleAnimation.java
ransformation.java
ranslateAnimation.java
ackage.html