[Android] Fix pull-to-refresh animation for RTL layouts
commit793efc62d525292270206a31fbbd2ab35c4ea7ca
authorjdduke <jdduke@chromium.org>
Tue, 2 Jun 2015 20:06:00 +0000 (2 13:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 2 Jun 2015 20:07:42 +0000 (2 20:07 +0000)
tree433735c54ac9d38cdcdd9cb09b46e64b5ecbceff
parentadbea494f6ffefe506c7067cbd5c96d46e0e6a32
[Android] Fix pull-to-refresh animation for RTL layouts

For RTL layouts, anchor the canvas scale to the image center when
drawing the pull-to-refresh animation.

BUG=495757
NOTRY=true

Review URL: https://codereview.chromium.org/1165793004

Cr-Commit-Position: refs/heads/master@{#332457}
third_party/android_swipe_refresh/java/src/org/chromium/third_party/android/swiperefresh/MaterialProgressDrawable.java