Permalink
Browse files

Smooth Spinners: Makes the loading "spinner" animation smoother in no…

…n-holo apps

The loading "spinner" animation is quite jerky by default when the progress xml's from
drawable are called in applications that don't use the holo progress animation. The holo
"spinner" animation is already smooth by default. This makes every other "spinner"
animation smooth.

We've been changing this value in all ROM's we release, both AOSP and CM based ones
as well as stock ROM's, since it gives a more polished look to the entire system. In the past
3 years we've been using this small tweak we have not noticed anything that would
adversely affect battery life or system operations as a whole.

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
(cherry picked from commit e8c3a79360a81ad71a63eafd0e2edc78b0c16d45)

Change-Id: I06573dd36130d14d8c6c99cda01540f1ec78bd95
  • Loading branch information...
sarcastillo authored and xlxfoxxlx committed Nov 18, 2012
1 parent 28ab69a commit 1e2a432864ec7fce61b476ae7057988b793d0fd1
@@ -21,5 +21,5 @@
android:drawable="@drawable/spinner_black_76"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
android:framesCount="48"
android:frameDuration="25" />
@@ -21,5 +21,5 @@
android:drawable="@drawable/spinner_white_76"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
android:framesCount="48"
android:frameDuration="25" />
@@ -21,5 +21,5 @@
android:drawable="@drawable/spinner_black_48"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
android:framesCount="48"
android:frameDuration="25" />
@@ -21,5 +21,5 @@
android:drawable="@drawable/spinner_white_48"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
android:framesCount="48"
android:frameDuration="25" />
@@ -21,5 +21,5 @@
android:drawable="@drawable/spinner_black_16"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
android:framesCount="48"
android:frameDuration="25" />
@@ -21,5 +21,5 @@
android:drawable="@drawable/spinner_white_16"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
android:framesCount="48"
android:frameDuration="25" />
@@ -21,5 +21,5 @@
android:drawable="@drawable/spinner_white_16"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
android:framesCount="48"
android:frameDuration="25" />
@@ -21,5 +21,5 @@
android:drawable="@drawable/spinner_black_20"
android:pivotX="50%"
android:pivotY="50%"
android:framesCount="12"
android:frameDuration="100" />
android:framesCount="48"
android:frameDuration="25" />

0 comments on commit 1e2a432

Please sign in to comment.