/frameworks/base/graphics/java/android/renderscript/ |
D | Element.java | 30 DataType mType; 37 public enum DataType { enum in Element 67 DataType(int id, int size) { in DataType() method in Element.DataType 96 rs.mElement_USER_U8 = createUser(rs, DataType.UNSIGNED_8); in USER_U8() 103 rs.mElement_USER_I8 = createUser(rs, DataType.SIGNED_8); in USER_I8() 110 rs.mElement_USER_U32 = createUser(rs, DataType.UNSIGNED_32); in USER_U32() 117 rs.mElement_USER_I32 = createUser(rs, DataType.SIGNED_32); in USER_I32() 124 rs.mElement_USER_F32 = createUser(rs, DataType.FLOAT_32); in USER_F32() 131 rs.mElement_A_8 = createPixel(rs, DataType.UNSIGNED_8, DataKind.PIXEL_A); in A_8() 138 rs.mElement_RGB_565 = createPixel(rs, DataType.UNSIGNED_5_6_5, DataKind.PIXEL_RGB); in RGB_565() [all …]
|
D | Type.java | 128 arTypes[ct] = Element.DataType.SIGNED_32.mID; in createFromClass() 131 arTypes[ct] = Element.DataType.SIGNED_16.mID; in createFromClass() 134 arTypes[ct] = Element.DataType.SIGNED_8.mID; in createFromClass() 137 arTypes[ct] = Element.DataType.FLOAT_32.mID; in createFromClass()
|
D | SimpleMesh.java | 317 Element.DataType.FLOAT_32, in create() 323 Element.DataType.FLOAT_32, in create() 330 Element.DataType.FLOAT_32, in create() 337 Element.DataType.FLOAT_32, in create()
|
D | ProgramVertex.java | 110 … mAlloc = Allocation.createSized(rs, Element.createUser(rs, Element.DataType.FLOAT_32), 48); in MatrixAllocation()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerIntegrationTest.java | 21 import android.app.DownloadManagerBaseTest.DataType; 133 byte[] blobData = generateData(fileSize, DataType.BINARY); in testBasicBinaryDownload() 145 byte[] blobData = generateData(fileSize, DataType.TEXT); in testBasicTextDownload() 156 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDropConnection_headers() 174 byte[] blobData = generateData(25000, DataType.TEXT); // file size = 25000 bytes in testServerDropConnection_body() 206 byte[] blobData = generateData(size, DataType.TEXT); in testMultipleDownloads() 250 File existentFile = createFileOnSD(null, 1, DataType.TEXT, null); in testDownloadToExternal_fileExists() 251 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal_fileExists() 293 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal() 325 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToProhibitedDirectory() [all …]
|
D | DownloadManagerStressTest.java | 59 byte[] blobData = generateData(size, DataType.TEXT); in testDownloadThousands() 111 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null); in testDownloadLargeFile() 139 File largeFile = createFileOnSD(null, fileSize, DataType.TEXT, null); in testInsufficientSpace()
|
D | DownloadManagerBaseTest.java | 98 protected enum DataType { enum in DownloadManagerBaseTest 300 protected byte[] generateData(int size, DataType type) { in generateData() 313 protected byte[] generateData(int size, DataType type, Random rng) { in generateData() 318 if (type == DataType.TEXT) { in generateData() 593 protected File createFileOnSD(String filename, long fileSize, DataType type, in createFileOnSD()
|
/frameworks/base/libs/rs/java/Fountain/src/com/android/fountain/ |
D | FountainRS.java | 82 eb.add(Element.createVector(mRS, Element.DataType.FLOAT_32, 2), "delta"); in initRS() 83 …eb.add(Element.createAttrib(mRS, Element.DataType.FLOAT_32, Element.DataKind.POSITION, 2), "positi… in initRS() 84 …eb.add(Element.createAttrib(mRS, Element.DataType.UNSIGNED_8, Element.DataKind.COLOR, 4), "color"); in initRS()
|
/frameworks/base/libs/rs/java/Film/src/com/android/film/ |
D | FilmRS.java | 155 Element.createUser(mRS, Element.DataType.FLOAT_32), in loadImages() 158 …Element ie = Element.createPixel(mRS, Element.DataType.UNSIGNED_5_6_5, Element.DataKind.PIXEL_RGB); in loadImages() 199 Element.createUser(mRS, Element.DataType.FLOAT_32), in initState() 243 Element.createUser(mRS, Element.DataType.SIGNED_32), mFSM.mTriangleOffsets.length); in initRS() 248 Element.createUser(mRS, Element.DataType.FLOAT_32), mFSM.mTriangleOffsetsTex.length); in initRS()
|
/frameworks/base/libs/rs/java/ImageProcessing/src/com/android/rs/image/ |
D | ImageProcessingActivity.java | 181 Element.createUser(mRS, Element.DataType.SIGNED_32), in createScript() 184 Element.createUser(mRS, Element.DataType.SIGNED_32), in createScript()
|