History log of /frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fa77943ee3d8ef33abf4f8288875783de623b4d9 29-Oct-2014 Mindy Pereira <mindyp@google.com> Remove flash between finishing last swipe circle and starting progress animation

By combining the finish and regular animation into one, we avoid the extra frame
of "nothing" in between
also means we don't need to start the regular spinner animation on finishing the
completion animation, and there is no need to track if the animation was intentionally
stopped.
Fixes b/17534030 Pull to refresh spinner has a flash during the first color transition

Change-Id: I3d77bc09f2c2ea54ce1ee7ab0a65af2988f7d9f7
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
3fba72ed900aa288256bdf29427df39753964ff0 28-Oct-2014 Mindy Pereira <mindyp@google.com> Arrowhead should shrink as disc moves up for progress view

Fixes b/17374366 Synchronize pull to refresh animations

Change-Id: Ide2bef5118e8248f3fdfb31ef406df7eb304ac66
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
9a1b1c1316c08c832139a06bebce398e83263ac8 13-Oct-2014 Mindy Pereira <mindyp@google.com> If animations are stopped, animations called in onAnimationEnd shouldn't run

Fixes b/17967182 MaterialProgressDrawable (part of SwipeRefreshLayout) starts new animation even though it should be stopped

Change-Id: I1964bc71800c036c45ac2a107cf6657decc6359e
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
4221e345d86111915467679815ead8888da5e2f4 17-Sep-2014 Mindy Pereira <mindyp@google.com> Use the square instead of the butt cap on the end of the progress indicator

Fixes b/17529809 Pull to refresh indicator should not collapse to 0 length.

Change-Id: I93b72efc6b1a8cf8717b1e3d588cc5b7625506b6
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
112ae3627e7f32991822b3fd2001fe7239f1d3ea 06-Sep-2014 Mindy Pereira <mindyp@google.com> Reset the color index when the colors for the ring are reset

Fixes b/17389897 Sometimes app crashes on typing in search bar

Change-Id: I093c0f6aa7ed7c542faabedf46f0a60f4f4c3107
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
c39bdbe9d24491caf92194229393ff58c16aed7f 26-Aug-2014 Mindy Pereira <mindyp@google.com> Update the measured height/ width for pre-L SDK's to include shadows

Fixes b/17258999 pull to refresh final specs: pre L
Also, remove the arrowhead extra offset; looks bad on older platforms, useless on new ones
Change-Id: I76136d5365d99bc9b331d23a2fa8ed07c4751fbd
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
dd27d55a5152f86c07758067e587bdd5b719abaf 24-Aug-2014 Mindy Pereira <mindyp@google.com> Fixup the transition between colors in the swipe refresh progress circle

Previously, there was a jumpy looking transition because the start position/rotation
of the new arc re-wound to zero instead of starting where the last color arc ended
Makes the min amount the arc set to match the height of the arc
Updates the end cap of the progress circle to be a square instead of round
Updates the sizes of the progress circle to the final spec
Makes sure that the arrowhead does not visually overlap the arc when the progress circle is
faded
Works around skia issue on kitkat: the arrowhead was off by -0.25f radians because rotating
the path that way in a matrix failed to respect the negative offset

Fixes b/17113763 Refresh indicator: color should not change instantly in contracted state
fixes b/17203935 Pull to refresh final specs
fixes b/17212162 arrowhead trails behind arc in pre-LMP phones
fixes b/17204307 Arrow in pull-to-refresh overlaps stroke and creates opaque artifact

Change-Id: I181d909726094a338245bc70d8e827068e0c3416
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
dc943d6192dab40df68b6b583c84e64045ea1bc8 15-Aug-2014 Mindy Pereira <mindyp@google.com> Multiple visual and animation polish updates to the SwipeRefreshLayout

1) update default/ large circle stroke and arrow head dimensions
2) when swiping, start the progress circle/ arrow at 30% opacity and animate to
100% when the trigger pos is reached
3) add api for just sending the ending position of the progress spinner
4) update overdrag / tension when the user is past the point where they can trigger refresh to match spec

Fixes b/16984776 polish swipe to refresh motion after refresh target is reached/ color shift when target reached
Fixes b/17090709 Need to expose mCircleHeight in SwipeRefreshLayout

Change-Id: Idaa66ce91d66e6c0b919d5658a5cc747631dec5d
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
3b8d2549e1a93e640335919d2b405907283afda1 12-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Fix the weird jitter when passing the original target offset; scale down arrowhead" into lmp-dev
8a9f3cb556aec9fd912909127c3f4bbc8f35232d 08-Aug-2014 Mindy Pereira <mindyp@google.com> Fix the weird jitter when passing the original target offset; scale down arrowhead

Fixes b/16898806 swiperefreshwidget: weird jump when it hits the threshhold
Fixes b/16890278 arrowhead in swipe to refresh should shrink instead of just disappearing

Change-Id: Ifcc43f2b80c603853a0d545b0707440b70bd615e
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
d08402a890f1ac4d3de832a9a781cbc5ebde804f 08-Aug-2014 Mindy Pereira <mindyp@google.com> Fill out missing javadocs

I was asked to fix this before ship

Fixes b/16894518 MaterialProgressDrawable and SwipeRefreshLayout are missing some documentation

Change-Id: I212bafd77f274dbbc764263651fc22545d039008
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
74437a01478b39230bb5b4657b74480ede53ae94 06-Aug-2014 Mindy Pereira <mindyp@google.com> Add a triangle to the front of the spinner

Fixes b/16342364 add scaling arrow to the front of progress spinner

Change-Id: Iddafe0aa8c00bc8601aa9bc783b2af265d14eadb
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
d0b65a16762b554ee6531844b021e3e0975cbf18 29-Jul-2014 Mindy Pereira <mindyp@google.com> Make the progress circle fade out pre-HC

Fixes b/16329404 pre-HC: make the progress circle fade in instead of scale

Change-Id: I684c6f26983f51ca62d57b149bf42c58626b833c
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
689ab224266f62aefb35ef0b80af6edf66eb8972 08-Jul-2014 Mindy Pereira <mindyp@google.com> Material design style swipe to refresh

b/15672855 update swipe refresh for Quantum]

Change-Id: I692772260d31fea54a642f3020d02dcb763d1d5d
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
31cba2230f2d39d69a68c15d34ffef797afcd367 18-Jul-2014 Mindy DelliCarpini <mindyp@google.com> Revert "Material design style swipe to refresh"

This reverts commit 12ffe36178df269e0c2d3b33f7de360e74c63f71.

need to fix docs; cherry picking it back in with the fix

Change-Id: Ie386264870ba40727e83056a0f1a8cbc91aee3a2
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
12ffe36178df269e0c2d3b33f7de360e74c63f71 08-Jul-2014 Mindy Pereira <mindyp@google.com> Material design style swipe to refresh

b/15672855 update swipe refresh for Quantum

Change-Id: I533ddfbfbf1ebf03dafc86b9f913d584c863b2a2
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
b3115149a1b8bae074cbce6cb9a42da1e662d377 18-Jul-2014 Andrew Sapperstein <asapperstein@google.com> Revert "Material design style swipe to refresh"

This reverts commit 2c5b547f947f9256b991489bc7d5cbbf09f8a51d.

Change-Id: If67777aabd56565be6748cda5ac5134bf67d7385
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java
2c5b547f947f9256b991489bc7d5cbbf09f8a51d 08-Jul-2014 Mindy Pereira <mindyp@google.com> Material design style swipe to refresh

b/15672855 update swipe refresh for Quantum

Change-Id: I89df442ec3a922c950a02a60c34f75ec4fefa31f
/frameworks/support/v4/java/android/support/v4/widget/MaterialProgressDrawable.java