summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/Canvas.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/graphics/java/android/graphics/Canvas.java b/graphics/java/android/graphics/Canvas.java
index 3b2210b..1b3792d 100644
--- a/graphics/java/android/graphics/Canvas.java
+++ b/graphics/java/android/graphics/Canvas.java
@@ -1505,7 +1505,7 @@ public class Canvas {
}
native_drawTextOnPath(mNativeCanvas, text, index, count,
path.ni(), hOffset, vOffset,
- paint.mNativePaint);
+ paint.mBidiFlags, paint.mNativePaint);
}
/**
@@ -1525,7 +1525,8 @@ public class Canvas {
float vOffset, Paint paint) {
if (text.length() > 0) {
native_drawTextOnPath(mNativeCanvas, text, path.ni(),
- hOffset, vOffset, paint.mNativePaint);
+ hOffset, vOffset, paint.mBidiFlags,
+ paint.mNativePaint);
}
}
@@ -1716,11 +1717,13 @@ public class Canvas {
char[] text, int index,
int count, int path,
float hOffset,
- float vOffset, int paint);
+ float vOffset, int bidiFlags,
+ int paint);
private static native void native_drawTextOnPath(int nativeCanvas,
String text, int path,
- float hOffset,
- float vOffset, int paint);
+ float hOffset,
+ float vOffset,
+ int flags, int paint);
private static native void native_drawPicture(int nativeCanvas,
int nativePicture);
private static native void finalizer(int nativeCanvas);