56c560a9dd0197d85c7ba95d5c8bb8e8fd3c3fee |
|
06-Apr-2016 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Move Animation.USE_CLOSEGUARD to inner class Move flag to inner class to isolate Animation. This allows compile- time initialization of Animation and subclasses. Bug: 27265238 Change-Id: I3d95ab77e87de0c033f97545609461bdc9bd5d61
/frameworks/base/core/java/android/view/animation/Animation.java
|
f83464ed0a1c9215f4100fa018061710ed722ef5 |
|
12-Jan-2016 |
Chet Haase <chet@google.com> |
Make Animation.cancel() actually work Cancel() has apparently never worked. Calling cancel() results in the startTime being set to Long.MIN_VALUE. In theory, this means that on the next animation frame (getTransformation()), the elapsed time (currentTime - startTime) should result in a large positive number, which is way more than needed to prove that the elapsed fraction is >1 and therefore that the animation has ended. But in practice, anything subtracting MIN_VALUE will result in a large negative number due to Long wraparound, so the end check fails and the animation continues. Forever. Moreover, event fixing the cancel issue results in a repeating animation continuing to repeat, because the logic was never there to determine whether a repeating animation was canceled. This fix addresses both issues, but in a minimal way. The risk in fixing this for real is changing the behavior of cancel in a way that existing apps would not expect. For example, it's weird that cancel causes one more frame to run. And even weirder that it does so with a negative elapsed duration (resulting in an animation fraction of 0). But I wouldn't want to change that behavior for fear that I'd break apps who rely on that weird behavior. Instead, there's a simple check for for the "expired" check and the "repeat?" check that sees whether the startTime has the magic value of MIN_VALUE, which should only happen when an animation has been canceled. If this is the case, it ensures that the animation ends. For real. Issue #24984018 canceled animation runs forever Change-Id: Ia137eb04bd7df3976a4d9cef86fd39a78dc56f39
/frameworks/base/core/java/android/view/animation/Animation.java
|
e8760544cf57a6005d7e0c9bfd3cec859902e69d |
|
19-Jun-2015 |
Tor Norbye <tnorbye@google.com> |
177611: IDE is not recognizing android.R.anim. interpolators Change-Id: I4fbbec56c4529dc311a9ffa846b11d6e17c9007f
/frameworks/base/core/java/android/view/animation/Animation.java
|
417ee5ba89f7e0fe5efd34fce74bf1ee5923d976 |
|
11-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Add resource type annotations to some APIs Change-Id: I37c8afdaea455aa92bc8270bb2dfd60616c5f9bc
/frameworks/base/core/java/android/view/animation/Animation.java
|
80756e38882720860db52f1fcc21fa1505a02abf |
|
02-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate ARGB integer parameters with @ColorInt Change-Id: I307f72a382272cf18ddb6b07d9fcb81228568d9a
/frameworks/base/core/java/android/view/animation/Animation.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
/frameworks/base/core/java/android/view/animation/Animation.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/view/animation/Animation.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
/frameworks/base/core/java/android/view/animation/Animation.java
|
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
/frameworks/base/core/java/android/view/animation/Animation.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
/frameworks/base/core/java/android/view/animation/Animation.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
/frameworks/base/core/java/android/view/animation/Animation.java
|
d8991c4ab02449e78745d7ecc521ca0b41ea4c53 |
|
24-Aug-2011 |
Chet Haase <chet@google.com> |
Fix docs for fill behavior in Animation class. Change-Id: I9230e9b9841dbecead51a6716195749b0c5a0e39
/frameworks/base/core/java/android/view/animation/Animation.java
|
d4745a689f36211afaff396874d78b1d5202762d |
|
23-Jul-2011 |
Romain Guy <romainguy@google.com> |
Nested alpha animations should cause invalidates too Bug #5041061 Change-Id: I96835449b6b5537872afda90956c5d06d826e841
/frameworks/base/core/java/android/view/animation/Animation.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
/frameworks/base/core/java/android/view/animation/Animation.java
|
877e0b99eedfd22590db4a1663ca8a3b8e6b63d2 |
|
19-Nov-2010 |
Brian Carlstrom <bdc@google.com> |
Adding CloseGuard to Animation to find forgotten animations Change-Id: I90df2c8a88dd75550431b7db63242db1a1b2f16a
/frameworks/base/core/java/android/view/animation/Animation.java
|
6908cd154c5a2ed2e3b21d40f51952d45be69184 |
|
09-Nov-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix animations to use correct interpolator. Also some fragment fixes. Change-Id: I3906199e541a86379d07c8a4e4d5f9e99830c44a
/frameworks/base/core/java/android/view/animation/Animation.java
|
49afa5bc100e5d4c069fea980dd6b09501f56397 |
|
23-Aug-2010 |
Chet Haase <chet@google.com> |
Add facilities for layout transitions Change-Id: I5c73ce6c6ba3bc9e3b57fcfbbcab37d511db6132
/frameworks/base/core/java/android/view/animation/Animation.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
/frameworks/base/core/java/android/view/animation/Animation.java
|
5180d1c52209f6cd86f2273da6105205c505510a |
|
10-Feb-2010 |
Romain Guy <romainguy@android.com> |
Prevent infinite loop in the Phone UI.
/frameworks/base/core/java/android/view/animation/Animation.java
|
b4a107d8269d1a75b8f270e0516c1fa3b517f8f9 |
|
10-Feb-2010 |
Romain Guy <romainguy@android.com> |
Fix the lock screen.
/frameworks/base/core/java/android/view/animation/Animation.java
|
305a2eb8e5957a4f3db2734a8918faf1a39fb9a4 |
|
09-Feb-2010 |
Romain Guy <romainguy@android.com> |
Properly notifies listener when an animation is cancelled. Bug: #2428005.
/frameworks/base/core/java/android/view/animation/Animation.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.
/frameworks/base/core/java/android/view/animation/Animation.java
|
9db3d07b9620b4269ab33f78604a36327e536ce1 |
|
13-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
eclair snapshot
/frameworks/base/core/java/android/view/animation/Animation.java
|
4df2423a947bcd3f024cc3d3a1a315a8dc428598 |
|
05-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@136594
/frameworks/base/core/java/android/view/animation/Animation.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/view/animation/Animation.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/view/animation/Animation.java
|
3001a035439d8134a7d70d796376d1dfbff3cdcd |
|
19-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/view/animation/Animation.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/view/animation/Animation.java
|
9266c558bf1d21ff647525ff99f7dadbca417309 |
|
16-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@126645
/frameworks/base/core/java/android/view/animation/Animation.java
|
b798689749c64baba81f02e10cf2157c747d6b46 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/frameworks/base/core/java/android/view/animation/Animation.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/view/animation/Animation.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/view/animation/Animation.java
|