summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-09-29 11:38:01 -0700
committerDianne Hackborn <hackbod@google.com>2009-09-29 11:38:01 -0700
commitc20a9608f379b23aee473f992a327ac26a31ba17 (patch)
tree77e447b374b98f7f060fc5db1717c94db4ab147e
parentfff0b4a6c22c458b6a05bc1fd8840b4bc09be38e (diff)
downloadframeworks_base-c20a9608f379b23aee473f992a327ac26a31ba17.zip
frameworks_base-c20a9608f379b23aee473f992a327ac26a31ba17.tar.gz
frameworks_base-c20a9608f379b23aee473f992a327ac26a31ba17.tar.bz2
Whoops, these shouldn't be public.
Change-Id: I66057b1fb63b97ad79cea7056849274c6a7b3ed4
-rw-r--r--api/current.xml40
-rw-r--r--graphics/java/android/graphics/Paint.java8
2 files changed, 4 insertions, 44 deletions
diff --git a/api/current.xml b/api/current.xml
index 74f04ab..7dd8b73 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -59234,46 +59234,6 @@
<parameter name="end" type="int">
</parameter>
</method>
-<method name="native_breakText"
- return="int"
- abstract="false"
- native="true"
- synchronized="false"
- static="false"
- final="false"
- deprecated="not deprecated"
- visibility="public"
->
-<parameter name="text" type="char[]">
-</parameter>
-<parameter name="index" type="int">
-</parameter>
-<parameter name="count" type="int">
-</parameter>
-<parameter name="maxWidth" type="float">
-</parameter>
-<parameter name="measuredWidth" type="float[]">
-</parameter>
-</method>
-<method name="native_breakText"
- return="int"
- abstract="false"
- native="true"
- synchronized="false"
- static="false"
- final="false"
- deprecated="not deprecated"
- visibility="public"
->
-<parameter name="text" type="java.lang.String">
-</parameter>
-<parameter name="measureForwards" type="boolean">
-</parameter>
-<parameter name="maxWidth" type="float">
-</parameter>
-<parameter name="measuredWidth" type="float[]">
-</parameter>
-</method>
<method name="reset"
return="void"
abstract="false"
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.