Merge branch 'donut' of ssh://android-git.corp.google.com:29418/platform/frameworks/base into donut
This commit is contained in:
@@ -228,8 +228,10 @@ public final class MotionEvent implements Parcelable {
|
|||||||
if (mHistory != null) {
|
if (mHistory != null) {
|
||||||
float[] history = mHistory;
|
float[] history = mHistory;
|
||||||
int length = history.length;
|
int length = history.length;
|
||||||
for (int i = 0; i < length; i++) {
|
for (int i = 0; i < length; i += 4) {
|
||||||
history[i] *= scale;
|
history[i] *= scale;
|
||||||
|
history[i + 2] *= scale;
|
||||||
|
history[i + 3] *= scale;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user