Lines Matching refs:DataKind
63 DataKind mKind;
178 public enum DataKind { enum in Element
190 DataKind(int id) { in DataKind() method in Element.DataKind
302 public DataKind getDataKind() { in getDataKind()
584 rs.mElement_A_8 = createPixel(rs, DataType.UNSIGNED_8, DataKind.PIXEL_A); in A_8()
595 … rs.mElement_RGB_565 = createPixel(rs, DataType.UNSIGNED_5_6_5, DataKind.PIXEL_RGB); in RGB_565()
606 rs.mElement_RGB_888 = createPixel(rs, DataType.UNSIGNED_8, DataKind.PIXEL_RGB); in RGB_888()
617 … rs.mElement_RGBA_5551 = createPixel(rs, DataType.UNSIGNED_5_5_5_1, DataKind.PIXEL_RGBA); in RGBA_5551()
628 … rs.mElement_RGBA_4444 = createPixel(rs, DataType.UNSIGNED_4_4_4_4, DataKind.PIXEL_RGBA); in RGBA_4444()
639 … rs.mElement_RGBA_8888 = createPixel(rs, DataType.UNSIGNED_8, DataKind.PIXEL_RGBA); in RGBA_8888()
1013 rs.mElement_YUV = createPixel(rs, DataType.UNSIGNED_8, DataKind.PIXEL_YUV); in YUV()
1067 mKind = DataKind.USER; in Element()
1076 Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) { in Element()
1116 for (DataKind dk: DataKind.values()) { in updateFromNative()
1150 DataKind dk = DataKind.USER; in createUser()
1189 DataKind dk = DataKind.USER; in createVector()
1214 public static Element createPixel(RenderScript rs, DataType dt, DataKind dk) { in createPixel()
1215 if (!(dk == DataKind.PIXEL_L || in createPixel()
1216 dk == DataKind.PIXEL_A || in createPixel()
1217 dk == DataKind.PIXEL_LA || in createPixel()
1218 dk == DataKind.PIXEL_RGB || in createPixel()
1219 dk == DataKind.PIXEL_RGBA || in createPixel()
1220 dk == DataKind.PIXEL_DEPTH || in createPixel()
1221 dk == DataKind.PIXEL_YUV)) { in createPixel()
1231 if (dt == DataType.UNSIGNED_5_6_5 && dk != DataKind.PIXEL_RGB) { in createPixel()
1234 if (dt == DataType.UNSIGNED_5_5_5_1 && dk != DataKind.PIXEL_RGBA) { in createPixel()
1237 if (dt == DataType.UNSIGNED_4_4_4_4 && dk != DataKind.PIXEL_RGBA) { in createPixel()
1241 dk != DataKind.PIXEL_DEPTH) { in createPixel()