From c20a9608f379b23aee473f992a327ac26a31ba17 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Tue, 29 Sep 2009 11:38:01 -0700 Subject: Whoops, these shouldn't be public. Change-Id: I66057b1fb63b97ad79cea7056849274c6a7b3ed4 --- graphics/java/android/graphics/Paint.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics/java') 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. -- cgit v1.1