e5cdb6c8394e321266fb8940fdd0c97b2f87b2f3 |
|
12-Sep-2011 |
Chet Haase <chet@google.com> |
Fix wobbly spinners Some progress bars use AnimatedRotateDrawable, which suffered from the same bug as AnimationDrawable (until a recent fix). The code would not account for the left/top offset of the drawable in its view, so it would rotate the drawable around the wrong center, causing it to wobble and not get erased properly. Change-Id: I3f34f797e595973d9eb1d952d92026c769c7ec0a
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
|
0d32b317c2d1cacfa5acd34253cc626d6a776ec0 |
|
31-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Accessors for frame count and duration. Bug: 5233703 Change-Id: If6a758540248dc9bff56b64add04984ebd7b6833
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
|
6efd2bad954e0e5bd74916a32f036a0f149dcd4d |
|
13-Jan-2011 |
Christopher Lais <chris+android@zenthought.org> |
Don't drop the drawable cache completely on configuration change There was a lot of fancy code just above the clear to ensure that drawables that aren't affected by the change are kept, then the entire array was cleared. This patch removes the clear, so that the drawables that haven't changed are really kept, matching the logs, comments and larger part of the code. This patch also fixes the various constant states to return correct ChangingConfigurations. Change-Id: Ic11f6179537318d3de16dc58286989eb62a07f15 Old-Change-Id: I22495e6ed232dfe056207ce5155405af1fa82428
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
|
f2a47782f31b58d2d31bd00b50fe43604af8b9c2 |
|
15-Dec-2010 |
Romain Guy <romainguy@google.com> |
Make Drawable.mCallback a WeakReference. Many memory leaks occur because of long lived drawables. This should help. Change-Id: I2e9e8dee26579ec56e8e73f08f6b1d62be7812d9
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
|
c2974809373697147cbe5754835cc871fb93aef1 |
|
14-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2116977: buttons are huge and bent Now that we are using preloaded drawables in compatibilty mode, when constructing them from their constant state we need to set the new drawable's target density appropriately. Change-Id: I3665cbea09d38b9ac5f45f8c380dc8641f86b266
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
|
b5537c452271634b6ff3981b0624fa65384abd5b |
|
30-Jun-2009 |
Romain Guy <romainguy@android.com> |
Replace indeterminate progress animated asset with new ones
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
|
f4f7046183f0daedd17703fa16cf9026442bdaee |
|
27-Jun-2009 |
Romain Guy <romainguy@android.com> |
Update spinner's drawables. Clean up resources, pave the way for new animation.
/frameworks/base/graphics/java/android/graphics/drawable/AnimatedRotateDrawable.java
|