summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/Paint.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/java/android/graphics/Paint.java b/graphics/java/android/graphics/Paint.java
index 3d6d273..3e3f87b 100644
--- a/graphics/java/android/graphics/Paint.java
+++ b/graphics/java/android/graphics/Paint.java
@@ -1102,8 +1102,8 @@ public class Paint {
return res;
}
- public native int native_breakText(char[] text, int index, int count,
- float maxWidth, float[] measuredWidth);
+ private native int native_breakText(char[] text, int index, int count,
+ float maxWidth, float[] measuredWidth);
/**
* Measure the text, stopping early if the measured width exceeds maxWidth.
@@ -1174,8 +1174,8 @@ public class Paint {
return res;
}
- public native int native_breakText(String text, boolean measureForwards,
- float maxWidth, float[] measuredWidth);
+ private native int native_breakText(String text, boolean measureForwards,
+ float maxWidth, float[] measuredWidth);
/**
* Return the advance widths for the characters in the string.