Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 42) sorted by relevance

12

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DTypeTest.java20 import android.renderscript.Type;
24 void testBuilderSizes(Type.Builder b, int min, int max) { in testBuilderSizes()
34 Type.Builder b = new Type.Builder(mRS, e); in testTypeBuilderHelper()
85 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetCount()
93 Type t = b.create(); in testGetCount()
102 Type t = b.setX(8).setY(1).create(); in testGetCount()
127 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetElement()
133 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetX()
139 Type.Builder b = new Type.Builder(mRS, Element.F32(mRS)); in testGetY()
141 Type t = b.create(); in testGetY()
[all …]
DVoidPtr.java22 import android.renderscript.Type;
32 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupVoidPtr()
33 Type t = typeBuilder.setX(1).create(); in setupVoidPtr()
53 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testVoidOutInt()
54 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutInt()
81 Type.Builder typeBuilder = new Type.Builder(mRS, Element.U8(mRS)); in testVoidOutChar()
82 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutChar()
110 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testVoidInInt()
111 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidInInt()
141 Type.Builder typeBuilder = new Type.Builder(mRS, Element.U8(mRS)); in testVoidInChar()
[all …]
DForEachTest.java49 import android.renderscript.Type;
61 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach()
68 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach()
80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach()
82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach()
94 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach()
96 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach()
108 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach()
110 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach()
122 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach()
[all …]
DKernelTest.java49 import android.renderscript.Type;
61 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); in testForEach()
68 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); in testForEach()
80 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); in testForEach()
82 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); in testForEach()
94 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); in testForEach()
96 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); in testForEach()
108 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); in testForEach()
110 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); in testForEach()
122 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); in testForEach()
[all …]
DScriptGroupTest.java28 import android.renderscript.Type;
29 import android.renderscript.Type.Builder;
45 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupSingleKernel()
74 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedKernel()
108 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupFieldConnection()
149 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedDAG()
201 Type connect = new Type.Builder(mRS, Element.I32(mRS)).setX(bDimX).create(); in testScriptGroupTorture()
202 Type compareType = new Type.Builder(mRS, Element.I32(mRS)).create(); in testScriptGroupTorture()
276 Type i32 = new Type.Builder(mRS, Element.I32(mRS)).setX(1).create(); in testScriptGroupSharedGlobal()
277 Type u32 = new Type.Builder(mRS, Element.U32(mRS)).setX(2).create(); in testScriptGroupSharedGlobal()
DBaseObjTest.java23 import android.renderscript.Type;
29 Type.Builder TB = new Type.Builder(mRS, E); in testBaseObj()
30 Type T = TB.setX(1).create(); in testBaseObj()
DYuvTest.java61 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); in makeYuvBuffer()
66 tb = new Type.Builder(mRS, Element.U8(mRS)); in makeYuvBuffer()
78 Type.Builder tb = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in makeOutput()
81 Type t = tb.create(); in makeOutput()
134 Type.Builder tb = new Type.Builder(mRS, Element.YUV(mRS)); in test_NV21()
177 Type.Builder tb = new Type.Builder(mRS, Element.YUV(mRS)); in test_YV12()
DDebugContext.java24 import android.renderscript.Type;
48 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupDebugContext()
49 Type t = typeBuilder.setX(1).create(); in setupDebugContext()
DAllocationTest.java27 import android.renderscript.Type;
28 import android.renderscript.Type.Builder;
29 import android.renderscript.Type.CubemapFace;
38 Type.Builder typeBuilder = new Type.Builder(mRS, e); in createTypedHelper()
60 Type.Builder typeBuilder = new Type.Builder(mRS, e); in createTypedTextureHelper()
267 Type.Builder b = new Type.Builder(mRS, Element.U8(mRS)); in testAllocationMipmapControl()
275 Type.Builder b = new Type.Builder(mRS, Element.U8(mRS)); in testCubemapFaces()
281 for (Type.CubemapFace cf : Type.CubemapFace.values()) { in testCubemapFaces()
408 Type.Builder typeBuilder = in helperBitmapCopy()
409 new Type.Builder(mRS, Element.RGBA_8888(mRS)); in helperBitmapCopy()
[all …]
DLeakTest.java22 import android.renderscript.Type;
62 Type t = new Type.Builder(mRS, Element.I32(mRS)).setX(x).create(); in testForLeaks()
DSampleTest.java27 import android.renderscript.Type;
28 import android.renderscript.Type.CubemapFace;
42 Type.Builder b = new Type.Builder(mRS, format); in setUp()
DGlobalSync.java22 import android.renderscript.Type;
30 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in setupGlobalSync()
31 Type t = typeBuilder.setX(1).create(); in setupGlobalSync()
DScriptTest.java27 import android.renderscript.Type;
52 Type.Builder tb = new Type.Builder(mRS, Element.I32(mRS)); in testScript()
DGetElementAt.java21 import android.renderscript.Type;
77 Type.Builder builder = new Type.Builder(mRS, Element.U32(mRS)); in testXY()
80 Type type = builder.create(); in testXY()
DAllocationCopy2DRangeTest.java21 import android.renderscript.Type;
44 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I32(mRS)); in testAllocationCopy2DRange()
DIntrinsicBase.java23 import android.renderscript.Type;
63 Type.Builder tb = new Type.Builder(mRS, e); in makeAllocation()
66 Type t = tb.create(); in makeAllocation()
/cts/tools/signature-tools/templates/delta/
Ddeltas.stg43 $SingleSubDelta(desc="Component Type of array changed:", delta=delta.componentTypeDelta)$
55 $SingleSubDelta(desc="Return Type changed:", delta=delta.returnTypeDelta)$
70 $MultiSubDelta(desc="Type Variables changed:", deltas=delta.typeVariableDeltas)$
83 $SingleSubDelta(desc="Type changed:", delta=delta.typeDelta)$
99 $SingleSubDelta(desc="Type changed:", delta=delta.typeDelta)$
105 $SingleSubDelta(desc="Owner Type changed:", delta=delta.ownerTypeDelta)$
106 $SingleSubDelta(desc="Raw Type changed:", delta=delta.rawTypeDelta)$
107 $MultiSubDelta(desc="Type Arguments changed:", deltas=delta.argumentTypeDeltas)$
/cts/tools/dasm/src/dasm/
DDAsm.java56 import com.android.dx.rop.type.Type;
327 classDef = new ClassDefItem(CstType.intern(Type in endHeader()
329 superclass_name != null ? CstType.intern(Type in endHeader()
556 RegisterSpec reg_spec = RegisterSpec.make(reg_num, Type.INT); in addOpcode()
640 RegisterSpec reg1_spec = RegisterSpec.make(reg1_num, Type.INT); in addOpcode()
641 RegisterSpec reg2_spec = RegisterSpec.make(reg2_num, Type.INT); in addOpcode()
665 RegisterSpec reg1_spec = RegisterSpec.make(reg1_num, Type.INT); in addOpcode()
679 RegisterSpec reg1_spec = RegisterSpec.make(reg1_num, Type.STRING); in addOpcode()
694 Type type; in addOpcode()
697 type = Type.intern(v2); in addOpcode()
[all …]
DDasmCatchBuilder.java24 import com.android.dx.rop.type.Type;
87 type = CstType.intern(Type.internClassName(exception)); in add()
117 public HashSet<Type> getCatchTypes() { in getCatchTypes()
119 HashSet<Type> result = new HashSet<Type>(sz); in getCatchTypes()
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSColorMatrixTest.java57 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0()
90 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1()
125 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix2()
158 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix3()
190 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix4()
DRS3DLUTTest.java55 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
62 Type.Builder buildCube = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
DRSBlurTest.java46 Type.Builder build = new Type.Builder(mRS, Element.A_8(mRS)); in testRSBlurOneChannel()
77 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); in testRSBlurFourChannels()
DRSConvolveTest.java57 Type.Builder build = new Type.Builder(mRS, Element.A_8(mRS)); in testConvolve3x3()
115 Type.Builder build = new Type.Builder(mRS, Element.A_8(mRS)); in testConvolve5x5()
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h56 enum Type { enum
61 inline Value(Type type): mType(type) {}; in Value()
68 inline Type getType() { in getType()
71 inline void setType(Type type) { in setType()
103 Type mType;
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
DMeshTest.java21 import android.renderscript.Type;
33 Type mPosType;
34 Type mIndexType;
42 Type.Builder typeB = new Type.Builder(mRS, mPosElem); in setUp()
44 typeB = new Type.Builder(mRS, Element.U16(mRS)); in setUp()

12