/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
SendToClientBlockingTest.java | 58 mRS.setMessageHandler(mRsMessageForTest); 59 mScript = new ScriptC_sendToClientBlocking(mRS); 77 mRS.setMessageHandler(mRsMessageForTest); 78 mScript = new ScriptC_sendToClientBlocking(mRS);
|
TestNan.java | 33 script = new ScriptC_TestNan(mRS); 34 scriptRelaxed = new ScriptC_TestNanRelaxed(mRS); 43 Allocation in = createRandomAllocation(mRS, Element.DataType.UNSIGNED_32, 1, 0x757e939c0e627774l, false); 45 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE); 52 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_32, 1), INPUTSIZE);
|
/frameworks/base/rs/java/android/renderscript/ |
ProgramVertexFixedFunction.java | 42 mRS.validate(); 77 mRS.validate(); 84 tmp[idx++] = mInputs[i].getID(mRS); 88 tmp[idx++] = mOutputs[i].getID(mRS); 92 tmp[idx++] = mConstants[i].getID(mRS); 100 long id = mRS.nProgramVertexCreate(mShader, texNames, tmp); 101 ProgramVertexFixedFunction pv = new ProgramVertexFixedFunction(id, mRS); 113 RenderScript mRS; 122 mRS = rs; 176 InternalBuilder sb = new InternalBuilder(mRS); [all...] |
ScriptIntrinsicColorMatrix.java | 245 if (!ain.getElement().isCompatible(Element.U8(mRS)) && 246 !ain.getElement().isCompatible(Element.U8_2(mRS)) && 247 !ain.getElement().isCompatible(Element.U8_3(mRS)) && 248 !ain.getElement().isCompatible(Element.U8_4(mRS)) && 249 !ain.getElement().isCompatible(Element.F32(mRS)) && 250 !ain.getElement().isCompatible(Element.F32_2(mRS)) && 251 !ain.getElement().isCompatible(Element.F32_3(mRS)) && 252 !ain.getElement().isCompatible(Element.F32_4(mRS))) { 257 if (!aout.getElement().isCompatible(Element.U8(mRS)) && 258 !aout.getElement().isCompatible(Element.U8_2(mRS)) & [all...] |
ScriptIntrinsicResize.java | 52 if (!e.isCompatible(Element.U8(mRS)) && 53 !e.isCompatible(Element.U8_2(mRS)) && 54 !e.isCompatible(Element.U8_3(mRS)) && 55 !e.isCompatible(Element.U8_4(mRS))) {
|
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
ComputePerf.java | 31 private RenderScript mRS; 43 mRS = RenderScript.create(this); 44 mLT = new LaunchTest(mRS, getResources()); 59 mMandel = new Mandelbrot(mRS, getResources());
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
BWFilter.java | 26 mScript = new ScriptC_bwfilter(mRS);
|
Contrast.java | 27 mScript = new ScriptC_contrast(mRS);
|
Exposure.java | 27 mScript = new ScriptC_exposure(mRS);
|
Shadows.java | 27 mScript = new ScriptC_shadows(mRS);
|
UsageIO.java | 41 mMatrix = ScriptIntrinsicColorMatrix.create(mRS, Element.U8_4(mRS)); 51 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT); 52 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, connect, Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
BWFilter.java | 26 mScript = new ScriptC_bwfilter(mRS);
|
Contrast.java | 26 mScript = new ScriptC_contrast(mRS);
|
Copy.java | 28 mScript = new ScriptC_copy(mRS);
|
Exposure.java | 27 mScript = new ScriptC_exposure(mRS);
|
Greyscale.java | 25 mScript = new ScriptC_greyscale(mRS);
|
Shadows.java | 24 mScript = new ScriptC_shadows(mRS);
|
Vibrance.java | 23 mScript = new ScriptC_vibrance(mRS);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
BWFilter.java | 26 mScript = new ScriptC_bwfilter(mRS);
|
Contrast.java | 27 mScript = new ScriptC_contrast(mRS);
|
Exposure.java | 27 mScript = new ScriptC_exposure(mRS);
|
Shadows.java | 27 mScript = new ScriptC_shadows(mRS);
|
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
SampleRSActivity.java | 79 private RenderScript mRS; 101 mRS = RenderScript.create(this); 102 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo, 106 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity, 110 Type.Builder b = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 118 Allocation outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage); 119 TextureViewUpdater updater = new TextureViewUpdater(outAlloc, Sampler.WRAP_LINEAR(mRS)); 124 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage); 125 updater = new TextureViewUpdater(outAlloc, Sampler.CLAMP_LINEAR(mRS)); [all...] |
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSBlendTest.java | 51 Type.Builder build = new Type.Builder(mRS, Element.RGBA_8888(mRS)); 54 Allocation rsInput = Allocation.createTyped(mRS, build.create()); 55 Allocation rsOutput = Allocation.createTyped(mRS, build.create()); 59 ScriptIntrinsicBlend blend = ScriptIntrinsicBlend.create(mRS, Element.RGBA_8888(mRS)); 113 Allocation rsCppOutput = Allocation.createTyped(mRS, build.create());
|
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
FountainView.java | 49 private RenderScriptGL mRS; 54 if (mRS == null) { 56 mRS = createRenderScriptGL(sc); 57 mRS.setSurface(holder, w, h); 59 mRender.init(mRS, getResources()); 65 if (mRS != null) { 66 mRS = null;
|