Merge branch 'readonly-p4-donut' into donut
This commit is contained in:
committed by
The Android Open Source Project
commit
d4ed049672
@@ -225,10 +225,12 @@ public final class MotionEvent implements Parcelable {
|
|||||||
mSize *= scale;
|
mSize *= scale;
|
||||||
mXPrecision *= scale;
|
mXPrecision *= scale;
|
||||||
mYPrecision *= scale;
|
mYPrecision *= scale;
|
||||||
float[] history = mHistory;
|
if (mHistory != null) {
|
||||||
int length = history.length;
|
float[] history = mHistory;
|
||||||
for (int i = 0; i < length; i++) {
|
int length = history.length;
|
||||||
history[i] *= scale;
|
for (int i = 0; i < length; i++) {
|
||||||
|
history[i] *= scale;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user