Searched defs:rs (Results 1 - 25 of 502) sorted by relevance

1234567891011>>

/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsic.java28 ScriptIntrinsic(long id, RenderScript rs) { argument
29 super(id, rs);
H A DProgramFragment.java39 ProgramFragment(long id, RenderScript rs) { argument
40 super(id, rs);
51 * @param rs Context to which the program will belong.
53 public Builder(RenderScript rs) { argument
54 super(rs);
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DRSContinuousTestActivity.java17 package com.android.rs.test;
H A DUT_copy_test.java17 package com.android.rs.test;
32 void testFloat2(RenderScript rs, ScriptC_copy_test s) { argument
33 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
34 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
56 void testFloat3(RenderScript rs, ScriptC_copy_test s) { argument
57 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
58 Allocation a2 = Allocation.createSized(rs, Elemen
80 testFloat4(RenderScript rs, ScriptC_copy_test s) argument
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptIntrinsic.java28 ScriptIntrinsic(long id, RenderScript rs) { argument
29 super(id, rs);
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
H A DBenchmark.java17 package com.example.android.rs.computebench;
26 public Benchmark(RenderScript rs, Resources res) { argument
27 mRS = rs;
H A DComputeBench.java17 package com.example.android.rs.computebench;
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
H A DLaunchTest.java17 package com.example.android.rs.computeperf;
28 LaunchTest(RenderScript rs, Resources res) { argument
29 mRS = rs;
33 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim);
34 Type.Builder tb = new Type.Builder(rs, Element.U8(rs));
37 mAllocationXY = Allocation.createTyped(rs, tb.create());
H A DMandelbrot.java17 package com.example.android.rs.computeperf;
27 Mandelbrot(RenderScript rs, Resources res) { argument
28 mRS = rs;
31 Type.Builder tb = new Type.Builder(rs, Element.U8_4(rs));
34 mAllocationXY = Allocation.createTyped(rs, tb.create());
/frameworks/rs/tests/java_api/LatencyBenchmark/src/com/example/android/rs/computebench/
H A DBenchmark.java17 package com.example.android.rs.latencybench;
28 public Benchmark(RenderScript rs, Resources res) { argument
29 mRS = rs;
31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000);
32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000);
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_copy_test.java17 package com.android.rs.test_compat;
33 void testFloat2(RenderScript rs, ScriptC_copy_test s) { argument
34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
57 void testFloat3(RenderScript rs, ScriptC_copy_test s) { argument
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Elemen
81 testFloat4(RenderScript rs, ScriptC_copy_test s) argument
[all...]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_copy_test.java17 package com.android.rs.test_compatlegacy;
33 void testFloat2(RenderScript rs, ScriptC_copy_test s) { argument
34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024);
57 void testFloat3(RenderScript rs, ScriptC_copy_test s) { argument
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024);
59 Allocation a2 = Allocation.createSized(rs, Elemen
81 testFloat4(RenderScript rs, ScriptC_copy_test s) argument
[all...]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderRaw.java17 package com.example.android.rs.vr.loaders;
24 import com.example.android.rs.vr.engine.ScriptC_bricked;
25 import com.example.android.rs.vr.engine.Volume;
45 * @param rs The Renderscript context
51 public static Volume buildRSVolume(final RenderScript rs, File dir, Properties prop, argument
104 ScriptC_bricked scriptC_bricked = new ScriptC_bricked(rs);
122 Type.Builder b = new Type.Builder(rs, android.renderscript.Element.I16(rs));
124 alloc_slice = Allocation.createTyped(rs, b.create(), Allocation.USAGE_SCRIPT);
126 v.mVolumeAllocation = Allocation.createTyped(rs,
[all...]
/frameworks/rs/cpp/
H A DScriptC.cpp22 ScriptC::ScriptC(sp<RS> rs, argument
26 : Script(nullptr, rs) {
27 mID = RS::dispatch->ScriptCCreate(rs->getContext(), cachedName, cachedNameLength,
28 rs->mCacheDir, rs->mCacheDirLen, (const char *)codeTxt, codeLength);
/frameworks/rs/tests/cpp_api/typecheck/
H A Dtypecheck.cpp22 sp<Allocation> createAlloc(const sp<RS>& rs, const sp<const Element>& e) { argument
23 Type::Builder tb(rs, e);
26 return Allocation::createTyped(rs, t);
32 sp<RS> rs = new RS(); \
33 if (!rs->init("/system/bin")) { \
37 sp<Allocation> a = createAlloc(rs, Element::ENAME(rs)); \
38 ScriptC_kernels sc(rs); \
40 rs->finish(); \
42 if (shouldPass != (rs
[all...]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DArtistic1.java17 package com.android.rs.image;
H A DBWFilter.java17 package com.android.rs.image;
H A DContrast.java17 package com.android.rs.image;
H A DCopy.java17 package com.android.rs.image;
H A DCrossProcess.java17 package com.android.rs.image;
H A DExposure.java17 package com.android.rs.image;
H A DGreyscale.java17 package com.android.rs.image;
H A DImageProcessingTestRunner.java17 package com.android.rs.image;
19 import com.android.rs.image.ImageProcessingTest;
27 * adb shell am instrument -e iteration <n> -w com.android.rs.image/.ImageProcessingTestRunner
H A DShadows.java17 package com.android.rs.image;
H A DVibrance.java17 package com.android.rs.image;

Completed in 6004 milliseconds

1234567891011>>