You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/
This commit is contained in:
@@ -783,7 +783,7 @@ public class OverScroller {
|
||||
}
|
||||
|
||||
void notifyEdgeReached(int start, int end, int over) {
|
||||
// mState is used to detect successive notifications
|
||||
// mState is used to detect successive notifications
|
||||
if (mState == SPLINE) {
|
||||
mOver = over;
|
||||
mStartTime = AnimationUtils.currentAnimationTimeMillis();
|
||||
@@ -882,8 +882,8 @@ public class OverScroller {
|
||||
final float t = (float) (currentTime) / mDuration;
|
||||
final float t2 = t * t;
|
||||
final float sign = Math.signum(mVelocity);
|
||||
distance = sign * mOver * (3.0f * t2 - 2.0f * t * t2);
|
||||
mCurrVelocity = sign * mOver * 6.0f * (- t + t2);
|
||||
distance = sign * mOver * (3.0f * t2 - 2.0f * t * t2);
|
||||
mCurrVelocity = sign * mOver * 6.0f * (- t + t2);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user