Home
last modified time | relevance | path

Searched refs:mScript (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAtomicTest.java25 ScriptC_AtomicTest mScript; field in AtomicTest
37 if (mScript != null) { in tearDown()
38 mScript.destroy(); in tearDown()
45 mScript = new ScriptC_AtomicTest(mRS); in initS()
56 mScript = new ScriptC_AtomicTest(mRS); in initU()
67 mScript.set_gISum(10); in testCas()
68 mScript.forEach_test_Cas(mSrc); in testCas()
69 mScript.invoke_getValueS(mReturn); in testCas()
76 mScript.set_gUSum(10); in testUCas()
77 mScript.forEach_test_uCas(mSrc); in testUCas()
[all …]
DLaunchClip.java27 ScriptC_launchclip mScript; field in LaunchClip
57 mScript = new ScriptC_launchclip(mRS); in setup()
58 mScript.set_dimX(mDimX); in setup()
59 mScript.set_dimY(mDimY); in setup()
60 mScript.set_dimZ(mDimZ); in setup()
61 mScript.set_hasFaces(mHasFaces); in setup()
62 mScript.set_hasLod(mHasLods); in setup()
63 mScript.set_dimA0(mDimA0); in setup()
64 mScript.set_dimA1(mDimA1); in setup()
65 mScript.set_dimA2(mDimA2); in setup()
[all …]
DSendToClientBlockingTest.java27 private ScriptC_sendToClientBlocking mScript; field in SendToClientBlockingTest
41 if (mScript != null) { in tearDown()
42 mScript.destroy(); in tearDown()
67 mScript = new ScriptC_sendToClientBlocking(mRS); in testSendToClientBlocking1Params()
68 mScript.set_ID(id); in testSendToClientBlocking1Params()
70 mScript.invoke_callBack1Params(); in testSendToClientBlocking1Params()
86 mScript = new ScriptC_sendToClientBlocking(mRS); in testSendToClientBlocking3Params()
87 mScript.set_ID(id); in testSendToClientBlocking3Params()
88 mScript.set_data(data); in testSendToClientBlocking3Params()
90 mScript.invoke_callBack3Params(); in testSendToClientBlocking3Params()
DReduceTest.java26 private ScriptC_reduce mScript; field in ReduceTest
31 mScript = new ScriptC_reduce(mRS); in setUp()
32 mScript.set_negInf(Float.NEGATIVE_INFINITY); in setUp()
33 mScript.set_posInf(Float.POSITIVE_INFINITY); in setUp()
34mScript.invoke_setInfsHalf(RSUtils.FLOAT16_NEGATIVE_INFINITY, RSUtils.FLOAT16_POSITIVE_INFINITY); in setUp()
39 mScript.destroy(); in tearDown()
185 final int rsRslt = mScript.reduce_addint(input).get(); in testAddInt1D()
200 final int rsRslt = mScript.reduce_addint(inputAllocation).get(); in testAddInt2D()
233 final Int2 rsRslt = mScript.reduce_findMinAndMax(input).get(); in testFindMinAndMax()
252 mScript.invoke_findMinAndMaxHalf(outputAllocation, inputAllocation); in findMinAndMaxHalf()
[all …]
DIntrinsicBlur.java25 private ScriptC_intrinsic_blur mScript; field in IntrinsicBlur
36 if (mScript != null) { in tearDown()
37 mScript.destroy(); in tearDown()
61 mScript = new ScriptC_intrinsic_blur(mRS); in initTest()
62 mScript.set_width(w); in initTest()
63 mScript.set_height(h); in initTest()
64 mScript.invoke_setRadius(MAX_RADIUS); in initTest()
66 mScript.set_ScratchPixel1(mScratchPixelsAllocation1); in initTest()
67 mScript.set_ScratchPixel2(mScratchPixelsAllocation2); in initTest()
71 mScript.forEach_horz(mScratchPixelsAllocation2); in initTest()
[all …]
DIntrinsicLut.java24 private ScriptC_intrinsic_lut mScript; field in IntrinsicLut
36 if (mScript != null) { in tearDown()
37 mScript.destroy(); in tearDown()
46 mScript = new ScriptC_intrinsic_lut(mRS); in createTest()
58 mScript.set_red(mRed); in createTest()
59 mScript.set_green(mGreen); in createTest()
60 mScript.set_blue(mBlue); in createTest()
61 mScript.set_alpha(mAlpha); in createTest()
71 mScript.forEach_root(mAllocSrc, mAllocRef); in test()
86 mScript.forEach_root(mAllocSrc, mAllocRef, lo); in test1C()
DSmallStructsTest.java49 ScriptC_small_structs mScript; field in SmallStructsTest
54 mScript = new ScriptC_small_structs(mRS); in setUp()
59 mScript.destroy(); in tearDown()
65 mScript.invoke_checkError(); in checkForErrorsInScript()
183 modify.invoke(mScript, alloc, alloc); in testSmallStructsOfCharArray()
184 verify.invoke(mScript, alloc); in testSmallStructsOfCharArray()
193 mScript.invoke_checkNumberOfCharArrayTestsRun(); in testSmallStructsOfCharArray()
205 getInitialValueSetter(type).invoke(mScript, getInitialValue(type)); in testSmallStructsOfHeterogeneousTypes()
245 modify.invoke(mScript, alloc, alloc); in testSmallStructsOfHeterogeneousTypes()
246 verify.invoke(mScript, alloc); in testSmallStructsOfHeterogeneousTypes()
[all …]
DSampleTest.java30 ScriptC_sample mScript; field in SampleTest
75 mScript = new ScriptC_sample(mRS); in setUp()
77 mScript.set_gNearest(Sampler.CLAMP_NEAREST(mRS)); in setUp()
78 mScript.set_gLinear(Sampler.CLAMP_LINEAR(mRS)); in setUp()
82 mScript.set_gMipNearest(sb.create()); in setUp()
84 mScript.set_gMipLinear(Sampler.CLAMP_LINEAR_MIP_LINEAR(mRS)); in setUp()
91 mScript.destroy(); in tearDown()
96 mScript.invoke_test_RGBA(mAlloc_RGBA_1D, mAlloc_RGBA_2D); in testNearest()
DSendToClient.java67 ScriptC_send_to_client mScript; in testSendToClient() local
69 mScript = new ScriptC_send_to_client(mRS); in testSendToClient()
70 mScript.forEach_root(mInAllocation); in testSendToClient()
90 ScriptC_send_to_client_1 mScript; in testSendToClient1() local
91 mScript = new ScriptC_send_to_client_1(mRS); in testSendToClient1()
92 mScript.invoke_callback(Id); in testSendToClient1()
100 mScript.destroy(); in testSendToClient1()
DIntrinsic3DLut.java24 private ScriptC_intrinsic_3dlut mScript; field in Intrinsic3DLut
35 if (mScript != null) { in tearDown()
36 mScript.destroy(); in tearDown()
88 mScript = new ScriptC_intrinsic_3dlut(mRS); in initCube()
89 mScript.invoke_setCube(mCube); in initCube()
100 mScript.forEach_root(mAllocSrc, mAllocRef); in test1()
114 mScript.forEach_root(mAllocSrc, mAllocRef); in test2()
129 mScript.forEach_root(mAllocSrc, mAllocRef, lo); in test1C()
145 mScript.forEach_root(mAllocSrc, mAllocRef, lo); in test2C()
DAllocationCopy2DRangeTest.java29 ScriptC_allocationCopy2DRange mScript = in testAllocationCopy2DRange() local
49 mScript.set_height(height); in testAllocationCopy2DRange()
50 mScript.set_width(width); in testAllocationCopy2DRange()
51 mScript.set_mIn(mInAllocation); in testAllocationCopy2DRange()
52 mScript.set_mOut(mOutAllocation); in testAllocationCopy2DRange()
54 mScript.invoke_testAllocationCopy2DRange(); in testAllocationCopy2DRange()
DAllocationResize.java28 private ScriptC_allocation_resize mScript; field in AllocationResize
32 mScript.forEach_root(mIn, mOut); in forEach()
40 mScript = new ScriptC_allocation_resize(mRS); in testResize()
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DScriptYuvMeans2dTo1d.java65 mScript.forEach_means_yuvf_420(mOutputAllocation); in executeUnchecked()
69 mScript.forEach_means_yuvx_444(mOutputAllocation); in executeUnchecked()
80 mScript.set_mInput(mInputAllocation); in updateScriptInput()
83 mScript.set_width(width); in updateScriptInput()
84 mScript.set_inv_width(1.0f / width); in updateScriptInput()
87 mScript.set_src_x(0); in updateScriptInput()
88 mScript.set_src_y(0); in updateScriptInput()
DScriptYuvMeans1d.java58 mScript.forEach_means_yuvx_444(mOutputAllocation); in executeUnchecked()
63 mScript.set_mInput(mInputAllocation); in updateScriptInput()
66 mScript.set_width(width); in updateScriptInput()
67 mScript.set_inv_width(1.0f / width); in updateScriptInput()
DScriptYuvCrop.java94 mScript.forEach_crop(mOutputAllocation); in executeUnchecked()
104 mScript.set_src_x(x); in updateScriptInput()
105 mScript.set_src_y(y); in updateScriptInput()
107 mScript.set_mInput(mInputAllocation); in updateScriptInput()
DScriptYuvToRgb.java55 mScript.forEach(mOutputAllocation); in executeUnchecked()
62 mScript.setInput(mInputAllocation); in updateScriptInput()
DScript.java190 protected final T mScript; field in Script
266 mScript = rsScript; in Script()
351 mScript.destroy(); in close()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator.java55 private final ScriptC_PixelCounter mScript; field in SurfacePixelValidator
72 int blackishPixelCount = mScript.reduce_countBlackishPixels(mInPixelsAllocation).get();
115 mScript = new ScriptC_PixelCounter(mRS); in SurfacePixelValidator()
118 mScript.set_BOUNDS(new int[] {boundsToCheck.left, boundsToCheck.top, in SurfacePixelValidator()
120 pixelChecker.getColor().addToPixelCounter(mScript); in SurfacePixelValidator()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRenderScriptTask.java42 private script mScript = script.d1new; field in RenderScriptTask
85 this.mScript = sChoice; in RenderScriptTask()
103 switch (mScript) { in applyRefocusFilter()