Skip to content

Commit 2b20212

Browse files
Fabrice Di MeglioAndroid (Google) Code Review
authored andcommitted
Merge "Hide Paint textLocale APIs - DO NOT MERGE" into jb-dev
2 parents c9c199a + b0aa2f5 commit 2b20212

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/current.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8614,7 +8614,6 @@ package android.graphics {
86148614
method public android.graphics.Paint.Align getTextAlign();
86158615
method public void getTextBounds(java.lang.String, int, int, android.graphics.Rect);
86168616
method public void getTextBounds(char[], int, int, android.graphics.Rect);
8617-
method public java.util.Locale getTextLocale();
86188617
method public void getTextPath(char[], int, int, float, float, android.graphics.Path);
86198618
method public void getTextPath(java.lang.String, int, int, float, float, android.graphics.Path);
86208619
method public float getTextScaleX();
@@ -8664,7 +8663,6 @@ package android.graphics {
86648663
method public void setStyle(android.graphics.Paint.Style);
86658664
method public void setSubpixelText(boolean);
86668665
method public void setTextAlign(android.graphics.Paint.Align);
8667-
method public void setTextLocale(java.util.Locale);
86688666
method public void setTextScaleX(float);
86698667
method public void setTextSize(float);
86708668
method public void setTextSkewX(float);

graphics/java/android/graphics/Paint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,7 @@ public void setTextAlign(Align align) {
10551055
* Get the text Locale.
10561056
*
10571057
* @return the paint's Locale used for drawing text, never null.
1058+
* @hide
10581059
*/
10591060
public Locale getTextLocale() {
10601061
return mLocale;
@@ -1085,6 +1086,7 @@ public Locale getTextLocale() {
10851086
* job in certain ambiguous cases
10861087
*
10871088
* @param locale the paint's locale value for drawing text, must not be null.
1089+
* @hide
10881090
*/
10891091
public void setTextLocale(Locale locale) {
10901092
if (locale == null) {

0 commit comments

Comments
 (0)