summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayListRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-03-15 14:36:52 -0700
committerRomain Guy <romainguy@google.com>2012-03-15 14:36:52 -0700
commitacdd4b9c4b03bc6660274ab878731383adb5bca5 (patch)
tree41c9bbd804c64e2a29baac82f0a2168e2decb08a /libs/hwui/DisplayListRenderer.h
parenta8bfeaf4f49fa33e96f37302f9c9b99c94aa1581 (diff)
downloadframeworks_base-acdd4b9c4b03bc6660274ab878731383adb5bca5.zip
frameworks_base-acdd4b9c4b03bc6660274ab878731383adb5bca5.tar.gz
frameworks_base-acdd4b9c4b03bc6660274ab878731383adb5bca5.tar.bz2
Set the default text length to -1, not 1
Change-Id: Iccf6f8366c0b659ba7c90df99ae05ebc5d81fcbb
Diffstat (limited to 'libs/hwui/DisplayListRenderer.h')
-rw-r--r--libs/hwui/DisplayListRenderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h
index 43617e7..4bbb04f 100644
--- a/libs/hwui/DisplayListRenderer.h
+++ b/libs/hwui/DisplayListRenderer.h
@@ -574,7 +574,7 @@ public:
virtual void drawLines(float* points, int count, SkPaint* paint);
virtual void drawPoints(float* points, int count, SkPaint* paint);
virtual void drawText(const char* text, int bytesCount, int count, float x, float y,
- SkPaint* paint, float length = 1.0f);
+ SkPaint* paint, float length = -1.0f);
virtual void drawTextOnPath(const char* text, int bytesCount, int count, SkPath* path,
float hOffset, float vOffset, SkPaint* paint);
virtual void drawPosText(const char* text, int bytesCount, int count, const float* positions,