/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ForEachTest.java | 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() 124 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach() [all …]
|
D | KernelTest.java | 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() 124 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create(); in testForEach() [all …]
|
D | TypeTest.java | 28 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 …]
|
D | ScriptGroupTest.java | 45 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 …]
|
D | YuvTest.java | 64 ay = Allocation.createTyped(mRS, tb.create()); in makeYuvBuffer() 69 au = Allocation.createTyped(mRS, tb.create()); in makeYuvBuffer() 70 av = Allocation.createTyped(mRS, tb.create()); in makeYuvBuffer() 81 Type t = tb.create(); in makeOutput() 108 ScriptIntrinsicYuvToRGB syuv = ScriptIntrinsicYuvToRGB.create(mRS, Element.U8(mRS)); in testV17() 127 ScriptIntrinsicYuvToRGB syuv = ScriptIntrinsicYuvToRGB.create(mRS, Element.YUV(mRS)); in test_NV21() 138 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); in test_NV21() 170 ScriptIntrinsicYuvToRGB syuv = ScriptIntrinsicYuvToRGB.create(mRS, Element.YUV(mRS)); in test_YV12() 181 Allocation ta = Allocation.createTyped(mRS, tb.create(), Allocation.USAGE_SCRIPT); in test_YV12()
|
D | AllocationTest.java | 50 Allocation.createTyped(mRS, typeBuilder.create()); in createTypedHelper() 61 Allocation.createTyped(mRS, typeBuilder.setX(8).create(), in createTypedTextureHelper() 64 Allocation.createTyped(mRS, typeBuilder.setY(8).create(), in createTypedTextureHelper() 68 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 73 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 76 Allocation.createTyped(mRS, typeBuilder.create(), in createTypedTextureHelper() 82 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper() 85 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(3).create(), in createTypedTextureHelper() 88 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(7).create(), in createTypedTextureHelper() 93 Allocation.createTyped(mRS, typeBuilder.setX(7).setY(1).create(), in createTypedTextureHelper() [all …]
|
D | VoidPtr.java | 33 Type t = typeBuilder.setX(1).create(); in setupVoidPtr() 54 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutInt() 82 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidOutChar() 111 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidInInt() 142 Type t = typeBuilder.setX(10).setY(15).create(); in testVoidInChar()
|
D | ImageProcessingTest.java | 74 Type t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(dimX).setY(dimX).create(); in setUp() 81 mBlur = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); in testBlur() 104 mBlend = ScriptIntrinsicBlend.create(mRS, Element.U8_4(mRS)); in testBlend() 168 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testColorMatrix() 206 mConvolve3x3 = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in testConvolve3x3() 229 mConvolve5x5 = ScriptIntrinsicConvolve5x5.create(mRS, Element.U8_4(mRS)); in testConvolve5x5() 254 mLUT = ScriptIntrinsicLUT.create(mRS, Element.U8_4(mRS)); in testLUT() 299 mConvolve3x3 = ScriptIntrinsicConvolve3x3.create(mRS, Element.U8_4(mRS)); in testScriptGroup() 300 mColorMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); in testScriptGroup() 321 Type connect = new Type.Builder(mRS, Element.U8_4(mRS)).setX(dimX).setY(dimX).create(); in testScriptGroup() [all …]
|
D | RenderScriptTest.java | 31 RenderScript mRS = RenderScript.create(getContext()); in testRenderScript() 43 RenderScript mRS = RenderScript.create(null); in testAPI() 48 RenderScript mRS = RenderScript.create(getContext()); in testAPI()
|
D | SampleTest.java | 44 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()
|
D | BaseObjTest.java | 30 Type T = TB.setX(1).create(); in testBaseObj() 41 T = TB.setX(2).create(); in testBaseObj()
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
D | RSColorMatrixTest.java | 40 RenderScript mRS = RenderScript.create(getContext()); in testRSColorMatrix0() 60 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 61 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix0() 64 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix0() 82 RenderScript mRS = RenderScript.create(getContext()); in testRSColorMatrix1() 93 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 94 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix1() 97 … ScriptIntrinsicColorMatrix cm = ScriptIntrinsicColorMatrix.create(mRS, Element.RGBA_8888(mRS)); in testRSColorMatrix1() 114 RenderScript mRS = RenderScript.create(getContext()); in testRSColorMatrix2() 128 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSColorMatrix2() [all …]
|
D | RSBlurTest.java | 40 RenderScript mRS = RenderScript.create(getContext()); in testRSBlurOneChannel() 49 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 50 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurOneChannel() 52 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.A_8(mRS)); in testRSBlurOneChannel() 71 RenderScript mRS = RenderScript.create(getContext()); in testRSBlurFourChannels() 80 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels() 81 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlurFourChannels() 83 ScriptIntrinsicBlur blur = ScriptIntrinsicBlur.create(mRS, Element.RGBA_8888(mRS)); in testRSBlurFourChannels()
|
D | RSConvolveTest.java | 51 RenderScript mRS = RenderScript.create(getContext()); in testConvolve3x3() 60 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3() 61 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve3x3() 63 … ScriptIntrinsicConvolve3x3 convolve = ScriptIntrinsicConvolve3x3.create(mRS, Element.A_8(mRS)); in testConvolve3x3() 109 RenderScript mRS = RenderScript.create(getContext()); in testConvolve5x5() 118 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5() 119 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testConvolve5x5() 121 … ScriptIntrinsicConvolve5x5 convolve = ScriptIntrinsicConvolve5x5.create(mRS, Element.A_8(mRS)); in testConvolve5x5()
|
D | RS3DLUTTest.java | 44 RenderScript mRS = RenderScript.create(getContext()); in testRSLUT() 58 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 59 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 66 Allocation cube = Allocation.createTyped(mRS, build.create()); in testRSLUT() 68 ScriptIntrinsic3DLUT lut = ScriptIntrinsic3DLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
|
D | RSLUTTest.java | 40 RenderScript mRS = RenderScript.create(getContext()); in testRSLUT() 49 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 50 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSLUT() 52 ScriptIntrinsicLUT lut = ScriptIntrinsicLUT.create(mRS, Element.RGBA_8888(mRS)); in testRSLUT()
|
D | RSBlendTest.java | 41 RenderScript mRS = RenderScript.create(getContext()); in testRSBlend() 57 Allocation rsInput = Allocation.createTyped(mRS, build.create()); in testRSBlend() 58 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); in testRSBlend() 62 ScriptIntrinsicBlend blend = ScriptIntrinsicBlend.create(mRS, Element.RGBA_8888(mRS)); in testRSBlend()
|
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
D | MeshTest.java | 41 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 …]
|
D | BaseObjTest.java | 28 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()
|
D | FontTest.java | 33 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()
|
D | ProgramVertexTest.java | 45 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()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioPreProcessingTest.java | 55 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/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
D | Test2DetailFragment.java | 54 AlertDialog diag = builder.create(); in onOptionsItemSelected() 75 AlertDialog diag = builder.create(); in onCreateView() 87 AlertDialog diag = builder.create(); in onCreateView() 100 AlertDialog diag = builder.create(); in onCreateView() 112 AlertDialog diag = builder.create(); in onCreateView() 125 AlertDialog diag = builder.create(); in onCreateView() 137 AlertDialog diag = builder.create(); in onCreateView()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 52 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/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | NfcDialogs.java | 42 .create(); in createNotEnabledDialog() method 57 .create(); 67 .create();
|