summaryrefslogtreecommitdiffstats
path: root/graphics/java/android
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2010-11-11 21:11:53 -0800
committerAdam Powell <adamp@google.com>2010-11-12 19:06:40 -0800
commit6af97e1c20df4d7010fafd7059c95d9b4113e4a6 (patch)
treebc48a49d23a1441bc2687ba3ba663971a1700b41 /graphics/java/android
parent95483c92f41e9f23a049b5c34ee1a6ae0bb01bd6 (diff)
downloadframeworks_base-6af97e1c20df4d7010fafd7059c95d9b4113e4a6.zip
frameworks_base-6af97e1c20df4d7010fafd7059c95d9b4113e4a6.tar.gz
frameworks_base-6af97e1c20df4d7010fafd7059c95d9b4113e4a6.tar.bz2
Revised assets for progress bars and indeterminate progress spinners.
Add support in ActionBar for activity-wide progress APIs. Add ability for progress bars to set a target framerate rather than the 5fps previously used. Clean up some more dialog layouts using hardcoded styles rather than theme attributes. Change-Id: I8e88c7595e27c0b6f7829b598f2b084ac8501ae3
Diffstat (limited to 'graphics/java/android')
-rw-r--r--graphics/java/android/graphics/drawable/RotateDrawable.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/graphics/java/android/graphics/drawable/RotateDrawable.java b/graphics/java/android/graphics/drawable/RotateDrawable.java
index 9c47dab..f3f3653 100644
--- a/graphics/java/android/graphics/drawable/RotateDrawable.java
+++ b/graphics/java/android/graphics/drawable/RotateDrawable.java
@@ -232,8 +232,6 @@ public class RotateDrawable extends Drawable implements Drawable.Callback {
float toDegrees = a.getFloat(
com.android.internal.R.styleable.RotateDrawable_toDegrees, 360.0f);
- toDegrees = Math.max(fromDegrees, toDegrees);
-
int res = a.getResourceId(
com.android.internal.R.styleable.RotateDrawable_drawable, 0);
Drawable drawable = null;