Merge "Unhide FONT." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a7228c882c
@@ -18541,6 +18541,7 @@ package android.renderscript {
|
||||
method public static deprecated android.renderscript.Element F64_2(android.renderscript.RenderScript);
|
||||
method public static deprecated android.renderscript.Element F64_3(android.renderscript.RenderScript);
|
||||
method public static deprecated android.renderscript.Element F64_4(android.renderscript.RenderScript);
|
||||
method public static deprecated android.renderscript.Element FONT(android.renderscript.RenderScript);
|
||||
method public static deprecated android.renderscript.Element I16(android.renderscript.RenderScript);
|
||||
method public static deprecated android.renderscript.Element I16_2(android.renderscript.RenderScript);
|
||||
method public static deprecated android.renderscript.Element I16_3(android.renderscript.RenderScript);
|
||||
@@ -18626,6 +18627,7 @@ package android.renderscript {
|
||||
enum_constant public static final android.renderscript.Element.DataType MATRIX_4X4;
|
||||
enum_constant public static final android.renderscript.Element.DataType RS_ALLOCATION;
|
||||
enum_constant public static final android.renderscript.Element.DataType RS_ELEMENT;
|
||||
enum_constant public static final android.renderscript.Element.DataType RS_FONT;
|
||||
enum_constant public static final android.renderscript.Element.DataType RS_MESH;
|
||||
enum_constant public static final android.renderscript.Element.DataType RS_PROGRAM_FRAGMENT;
|
||||
enum_constant public static final android.renderscript.Element.DataType RS_PROGRAM_RASTER;
|
||||
|
||||
@@ -149,8 +149,6 @@ public class Element extends BaseObj {
|
||||
RS_PROGRAM_VERTEX (1007, 4),
|
||||
RS_PROGRAM_RASTER (1008, 4),
|
||||
RS_PROGRAM_STORE (1009, 4),
|
||||
/** @hide
|
||||
*/
|
||||
RS_FONT (1010, 4);
|
||||
|
||||
int mID;
|
||||
@@ -498,8 +496,8 @@ public class Element extends BaseObj {
|
||||
return rs.mElement_PROGRAM_STORE;
|
||||
}
|
||||
|
||||
/** @hide
|
||||
*/
|
||||
/** @deprecated renderscript is deprecated in J
|
||||
*/
|
||||
public static Element FONT(RenderScript rs) {
|
||||
if(rs.mElement_FONT == null) {
|
||||
rs.mElement_FONT = createUser(rs, DataType.RS_FONT);
|
||||
|
||||
Reference in New Issue
Block a user