Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 57) sorted by relevance

123

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DKernelTest.java61 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()
124 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach()
[all …]
DForEachTest.java61 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()
124 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach()
[all …]
DTypeTest.java28 b.create(); in testBuilderSizes()
93 Type t = b.create(); in testGetCount()
102 Type t = b.setX(8).setY(1).create(); in testGetCount()
106 t = b.setX(8).setY(8).create(); in testGetCount()
110 t = b.setX(8).setY(4).create(); in testGetCount()
114 t = b.setX(4).setY(8).create(); in testGetCount()
117 t = b.setX(7).setY(1).create(); in testGetCount()
121 t = b.setX(7).setY(3).create(); in testGetCount()
129 assertTrue(b.create().getElement() == Element.F32(mRS)); in testGetElement()
135 assertTrue(b.create().getX() == 3); in testGetX()
[all …]
DScriptGroupTest.java45 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupSingleKernel()
49 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupSingleKernel()
63 group = b.create(); in testScriptGroupSingleKernel()
74 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupDisconnectedKernel()
78 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel()
79 mColorMatrix2 = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupDisconnectedKernel()
97 group = b.create(); in testScriptGroupDisconnectedKernel()
108 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(bDimX).setY(bDimY).create(); in testScriptGroupFieldConnection()
113 mConvolve3x3 = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection()
114 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroupFieldConnection()
[all …]
DMeshTest.java41 mPosElem = eb.create(); in setUp()
43 mPosType = typeB.setX(3).create(); in setUp()
45 mIndexType = typeB.setX(3).create(); in setUp()
58 assertTrue(mab.create() != null); in testMeshAllocationBuilder()
67 Mesh mesh = mab.create(); in testMeshAllocationBuilder()
87 Mesh mesh = mb.create(); in testMeshBuilder()
98 mesh = mb.create(); in testMeshBuilder()
110 assertTrue(mb.create() != null); in testMeshBuilder()
118 assertTrue(mb.create() != null); in testMeshBuilder()
127 assertTrue(mb.create() != null); in testMeshBuilder()
[all …]
DBaseObjTest.java28 Font F = Font.create(mRS, mRes, "sans-serif", S, 8); in testBaseObj()
39 F = Font.create(mRS, mRes, "serif", S, 8); in testBaseObj()
50 F = Font.create(mRS, mRes, "mono", S, 8); in testBaseObj()
DRenderScriptTest.java31 RenderScript mRS = RenderScript.create(getContext()); in testRenderScript()
43 RenderScript mRS = RenderScript.create(null); in testAPI()
48 RenderScript mRS = RenderScript.create(getContext()); in testAPI()
DAllocationTest.java48 Allocation.createTyped(mRS, typeBuilder.create()); in createTypedHelper()
59 Allocation.createTyped(mRS, typeBuilder.setX(8).create(), in createTypedTextureHelper()
62 Allocation.createTyped(mRS, typeBuilder.setY(8).create(), in createTypedTextureHelper()
66 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper()
71 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper()
74 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper()
80 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper()
83 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(3).create(), in createTypedTextureHelper()
86 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(7).create(), in createTypedTextureHelper()
91 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper()
[all …]
DSampleTest.java44 mAlloc_RGBA_1D = Allocation.createTyped(mRS, b.setX(8).create(), in setUp()
47 mAlloc_RGBA_2D = Allocation.createTyped(mRS, b.setX(8).setY(8).create(), in setUp()
62 mScript.set_gMipNearest(sb.create()); in setUp()
DFontTest.java33 F = Font.create(mRS, mRes, "sans-serif", style, fontSize); in testCreate()
43 F = Font.create(mRS, mRes, "serif", style, fontSize); in testCreate()
53 F = Font.create(mRS, mRes, "mono", style, fontSize); in testCreate()
DProgramVertexTest.java45 mAttrPosElem = eb.create(); in setUp()
50 mAttrNormTexElem = eb.create(); in setUp()
56 mAttrPosNormTexElem = eb.create(); in setUp()
62 mAttrExtra = eb.create(); in setUp()
110 ProgramVertex pv = pvb.create(); in buildShader()
DProgramVertexFixedFunctionTest.java71 ProgramVertexFixedFunction pv = b.create(); in testProgramVertexFixedFunctionBuilder()
79 pv = b.create(); in testProgramVertexFixedFunctionBuilder()
DRSBaseCompute.java31 mRS = RenderScript.create(mCtx); in setUp()
DElementTest.java139 Element e1 = eb1.add(Element.U8(mRS), "UTest").create(); in testEquals()
145 Element e2 = eb2.add(Element.U8(mRS), "UTest").create(); in testEquals()
156 Element e3 = eb3.add(Element.U8(mRS), "NotUTest").create(); in testEquals()
164 assertFalse(e1.equals(eb1.create())); in testEquals()
165 assertFalse(eb1.create().equals(e1)); in testEquals()
170 Element e4 = eb4.add(Element.A_8(mRS), "UTest").create(); in testEquals()
178 assertTrue(eb1.create().isCompatible(eb1.create())); in testEquals()
330 assertTrue(eb.create() != null); in testElementBuilder()
400 Element e1 = eb.create(); in testIsComplex()
406 Element e2 = eb.create(); in testIsComplex()
[all …]
DProgramFragmentFixedFunctionTest.java40 mTex2D = Allocation.createTyped(mRS, typeB.create(), in setUp()
68 ProgramFragment pf = b.create(); in testProgramFragmentFixedFunctionBuilder()
DProgramFragmentTest.java45 mTex2D = Allocation.createTyped(mRS, typeB.create(), in setUp()
49 mTexCube = Allocation.createTyped(mRS, typeB.create(), in setUp()
104 ProgramFragment pf = pfb.create(); in buildShader()
/cts/tests/tests/media/src/android/media/cts/
DAudioPreProcessingTest.java55 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_1NsCreateAndRelease()
77 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_2NsSetEnabledGetEnabled()
108 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); in test2_1AecCreateAndRelease()
130 AcousticEchoCanceler aec = AcousticEchoCanceler.create(ar.getAudioSessionId()); in test2_2AecSetEnabledGetEnabled()
161 AutomaticGainControl agc = AutomaticGainControl.create(ar.getAudioSessionId()); in test3_1AgcCreateAndRelease()
183 AutomaticGainControl agc = AutomaticGainControl.create(ar.getAudioSessionId()); in test3_2AgcSetEnabledGetEnabled()
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java52 Typeface tf = Typeface.create(family, style); in createTypeface()
92 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); in testCreate()
94 typeface = Typeface.create(MONO, Typeface.BOLD); in testCreate()
96 typeface = Typeface.create(INVALID, Typeface.ITALIC); in testCreate()
99 typeface = Typeface.create(typeface, Typeface.NORMAL); in testCreate()
101 typeface = Typeface.create(typeface, Typeface.BOLD); in testCreate()
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/
DTest2DetailFragment.java55 AlertDialog diag = builder.create(); in onOptionsItemSelected()
76 AlertDialog diag = builder.create(); in onCreateView()
88 AlertDialog diag = builder.create(); in onCreateView()
101 AlertDialog diag = builder.create(); in onCreateView()
113 AlertDialog diag = builder.create(); in onCreateView()
126 AlertDialog diag = builder.create(); in onCreateView()
138 AlertDialog diag = builder.create(); in onCreateView()
/cts/suite/pts/hostTests/browser/browserlauncher/assets/octane/
Draytrace.js34 create: function() { method
77 Flog.RayTracer.Color = Class.create();
195 Flog.RayTracer.Light = Class.create();
216 Flog.RayTracer.Vector = Class.create();
280 Flog.RayTracer.Ray = Class.create();
298 Flog.RayTracer.Scene = Class.create();
322 Flog.RayTracer.Material.BaseMaterial = Class.create();
355 Flog.RayTracer.Material.Solid = Class.create();
380 Flog.RayTracer.Material.Chessboard = Class.create();
417 Flog.RayTracer.Shape.Sphere = Class.create();
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DNfcDialogs.java42 .create(); in createNotEnabledDialog() method
57 .create();
/cts/tests/tests/permission/src/android/permission/cts/
DPermissionStubActivity.java44 return new AlertDialog.Builder(PermissionStubActivity.this).create(); in getDialog()
/cts/tests/src/android/net/cts/
DNetlinkSocket.java36 public static NetlinkSocket create() { in create() method in NetlinkSocket
/cts/tools/dex-tools/test/dex/reader/util/
DJavaSource.java34 super(URI.create("string:///" + sourceName.replace(".", "/") + ".java"), in JavaSource()
DMemoryByteCode.java34 super(URI.create("byte:///" + name.replace(".", "/") + ".class"), in MemoryByteCode()

123