Skip to content

Commit a7228c8

Browse files
stephenhinesAndroid (Google) Code Review
authored andcommitted
Merge "Unhide FONT." into jb-dev
2 parents 10e3e9a + 9da1b5d commit a7228c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/current.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18541,6 +18541,7 @@ package android.renderscript {
1854118541
method public static deprecated android.renderscript.Element F64_2(android.renderscript.RenderScript);
1854218542
method public static deprecated android.renderscript.Element F64_3(android.renderscript.RenderScript);
1854318543
method public static deprecated android.renderscript.Element F64_4(android.renderscript.RenderScript);
18544+
method public static deprecated android.renderscript.Element FONT(android.renderscript.RenderScript);
1854418545
method public static deprecated android.renderscript.Element I16(android.renderscript.RenderScript);
1854518546
method public static deprecated android.renderscript.Element I16_2(android.renderscript.RenderScript);
1854618547
method public static deprecated android.renderscript.Element I16_3(android.renderscript.RenderScript);
@@ -18626,6 +18627,7 @@ package android.renderscript {
1862618627
enum_constant public static final android.renderscript.Element.DataType MATRIX_4X4;
1862718628
enum_constant public static final android.renderscript.Element.DataType RS_ALLOCATION;
1862818629
enum_constant public static final android.renderscript.Element.DataType RS_ELEMENT;
18630+
enum_constant public static final android.renderscript.Element.DataType RS_FONT;
1862918631
enum_constant public static final android.renderscript.Element.DataType RS_MESH;
1863018632
enum_constant public static final android.renderscript.Element.DataType RS_PROGRAM_FRAGMENT;
1863118633
enum_constant public static final android.renderscript.Element.DataType RS_PROGRAM_RASTER;

graphics/java/android/renderscript/Element.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ public enum DataType {
149149
RS_PROGRAM_VERTEX (1007, 4),
150150
RS_PROGRAM_RASTER (1008, 4),
151151
RS_PROGRAM_STORE (1009, 4),
152-
/** @hide
153-
*/
154152
RS_FONT (1010, 4);
155153

156154
int mID;
@@ -498,8 +496,8 @@ public static Element PROGRAM_STORE(RenderScript rs) {
498496
return rs.mElement_PROGRAM_STORE;
499497
}
500498

501-
/** @hide
502-
*/
499+
/** @deprecated renderscript is deprecated in J
500+
*/
503501
public static Element FONT(RenderScript rs) {
504502
if(rs.mElement_FONT == null) {
505503
rs.mElement_FONT = createUser(rs, DataType.RS_FONT);

0 commit comments

Comments
 (0)