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

* commit 'd65eebf4d97dd3812f02e7755e5b399c27e49f71':
  Fix scaled-view droppings artifact
This commit is contained in:
Chet Haase
2013-05-06 11:11:09 -07:00
committed by Android Git Automerger

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) {