/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
H A D | ComputePerf.java | 31 private RenderScript mRS; field in class:ComputePerf 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/ |
H A D | BWFilter.java | 26 mScript = new ScriptC_bwfilter(mRS);
|
H A D | Contrast.java | 27 mScript = new ScriptC_contrast(mRS);
|
H A D | Exposure.java | 27 mScript = new ScriptC_exposure(mRS);
|
H A D | Shadows.java | 27 mScript = new ScriptC_shadows(mRS);
|
H A D | 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);
|
H A D | Blur25.java | 71 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); 76 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); 79 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 80 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create()); 82 mScript = new ScriptC_threshold(mRS);
|
H A D | Blur25G.java | 67 Type.Builder tb = new Type.Builder(mRS, Element.U8(mRS)); 70 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 71 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create()); 73 mCM = ScriptIntrinsicColorMatrix.create(mRS); 76 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8(mRS));
|
H A D | TestBase.java | 42 protected RenderScript mRS; field in class:TestBase 107 mRS = ipact.mRS; 108 mRS.setMessageHandler(new MessageProcessor(act)); 127 mRS.sendMessage(0, null); 131 mRS.finish(); 135 mRS.setMessageHandler(null);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | BWFilter.java | 26 mScript = new ScriptC_bwfilter(mRS);
|
H A D | Contrast.java | 26 mScript = new ScriptC_contrast(mRS);
|
H A D | Copy.java | 28 mScript = new ScriptC_copy(mRS);
|
H A D | Exposure.java | 27 mScript = new ScriptC_exposure(mRS);
|
H A D | Greyscale.java | 25 mScript = new ScriptC_greyscale(mRS);
|
H A D | Shadows.java | 24 mScript = new ScriptC_shadows(mRS);
|
H A D | Vibrance.java | 23 mScript = new ScriptC_vibrance(mRS);
|
H A D | Blur25.java | 67 mIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(mRS)); 72 Type.Builder tb = new Type.Builder(mRS, Element.F32_4(mRS)); 75 mScratchPixelsAllocation1 = Allocation.createTyped(mRS, tb.create()); 76 mScratchPixelsAllocation2 = Allocation.createTyped(mRS, tb.create()); 78 mScript = new ScriptC_threshold(mRS);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | BWFilter.java | 26 mScript = new ScriptC_bwfilter(mRS);
|
H A D | Contrast.java | 27 mScript = new ScriptC_contrast(mRS);
|
H A D | Exposure.java | 27 mScript = new ScriptC_exposure(mRS);
|
H A D | Shadows.java | 24 mScript = new ScriptC_shadows(mRS);
|
H A D | Vibrance.java | 23 mScript = new ScriptC_vibrance(mRS);
|
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
H A D | SampleRSActivity.java | 79 private RenderScript mRS; field in class:SampleRSActivity 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...] |
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/ |
H A D | FountainView.java | 49 private RenderScriptGL mRS; field in class:FountainView 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;
|
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/ |
H A D | FountainView.java | 49 private RenderScriptGL mRS; field in class:FountainView 54 if (mRS == null) { 56 mRS = createRenderScriptGL(sc); 57 mRS.setSurface(holder, w, h); 59 mRender.init(mRS, getResources(), w, h); 65 if (mRS != null) { 66 mRS = null;
|