Merge "Fix scaled-view droppings artifact" into jb-mr2-dev

This commit is contained in:
Chet Haase
2013-05-04 01:35:23 +00:00
committed by Android (Google) Code Review

View File

@ -299,8 +299,8 @@ void DisplayList::updateMatrix() {
if (mWidth != mPrevWidth || mHeight != mPrevHeight) { if (mWidth != mPrevWidth || mHeight != mPrevHeight) {
mPrevWidth = mWidth; mPrevWidth = mWidth;
mPrevHeight = mHeight; mPrevHeight = mHeight;
mPivotX = mPrevWidth / 2; mPivotX = mPrevWidth / 2.0f;
mPivotY = mPrevHeight / 2; mPivotY = mPrevHeight / 2.0f;
} }
} }
if ((mMatrixFlags & ROTATION_3D) == 0) { if ((mMatrixFlags & ROTATION_3D) == 0) {