summaryrefslogtreecommitdiffstats
path: root/libs/hwui
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2013-06-17 22:50:39 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-06-17 22:50:39 +0000
commit49cc5d71192cbd776e237488218aea18a3ed14b1 (patch)
treed2594687291550519aa6088b55e73400060ff377 /libs/hwui
parent3e0a4633c34aaffffbf0cc63257dd40eb19a80d3 (diff)
parentf09b746acb266a849f3421df1604ebec161bb93d (diff)
downloadframeworks_base-49cc5d71192cbd776e237488218aea18a3ed14b1.zip
frameworks_base-49cc5d71192cbd776e237488218aea18a3ed14b1.tar.gz
frameworks_base-49cc5d71192cbd776e237488218aea18a3ed14b1.tar.bz2
Merge "Handle all text bounds as post-translated"
Diffstat (limited to 'libs/hwui')
-rw-r--r--libs/hwui/DisplayListOp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/hwui/DisplayListOp.h b/libs/hwui/DisplayListOp.h
index 6b7bac0..f678bfd 100644
--- a/libs/hwui/DisplayListOp.h
+++ b/libs/hwui/DisplayListOp.h
@@ -1295,7 +1295,6 @@ public:
const float* positions, SkPaint* paint, float totalAdvance, const Rect& bounds)
: DrawBoundedOp(bounds, paint), mText(text), mBytesCount(bytesCount), mCount(count),
mX(x), mY(y), mPositions(positions), mTotalAdvance(totalAdvance) {
- mLocalBounds.translate(x,y);
memset(&mPrecacheTransform.data[0], 0xff, 16 * sizeof(float));
}