Lines Matching refs:dk

1083     Element(long id, RenderScript rs, DataType dt, DataKind dk, boolean norm, int size) {  in Element()  argument
1097 mKind = dk; in Element()
1123 for (DataKind dk: DataKind.values()) { in updateFromNative()
1124 if(dk.mID == dataBuffer[1]){ in updateFromNative()
1125 mKind = dk; in updateFromNative()
1158 DataKind dk = DataKind.USER; in createUser() local
1161 long id = rs.nElementCreate(dt.mID, dk.mID, norm, vecSize); in createUser()
1162 return new Element(id, rs, dt, dk, norm, vecSize); in createUser()
1197 DataKind dk = DataKind.USER; in createVector() local
1199 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createVector()
1200 return new Element(id, rs, dt, dk, norm, size); in createVector()
1222 public static Element createPixel(RenderScript rs, DataType dt, DataKind dk) { in createPixel() argument
1223 if (!(dk == DataKind.PIXEL_L || in createPixel()
1224 dk == DataKind.PIXEL_A || in createPixel()
1225 dk == DataKind.PIXEL_LA || in createPixel()
1226 dk == DataKind.PIXEL_RGB || in createPixel()
1227 dk == DataKind.PIXEL_RGBA || in createPixel()
1228 dk == DataKind.PIXEL_DEPTH || in createPixel()
1229 dk == DataKind.PIXEL_YUV)) { in createPixel()
1239 if (dt == DataType.UNSIGNED_5_6_5 && dk != DataKind.PIXEL_RGB) { in createPixel()
1242 if (dt == DataType.UNSIGNED_5_5_5_1 && dk != DataKind.PIXEL_RGBA) { in createPixel()
1245 if (dt == DataType.UNSIGNED_4_4_4_4 && dk != DataKind.PIXEL_RGBA) { in createPixel()
1249 dk != DataKind.PIXEL_DEPTH) { in createPixel()
1254 switch (dk) { in createPixel()
1270 long id = rs.nElementCreate(dt.mID, dk.mID, norm, size); in createPixel()
1271 return new Element(id, rs, dt, dk, norm, size); in createPixel()