Searched refs:sc (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp32 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc, argument
35 sp<Surface> s = sc->getSurface();
55 static void captureScreen(sp<ScreenCapture>* sc) { argument
65 *sc = new ScreenCapture(w, h, heap);
174 sp<ScreenCapture> sc; local
177 ScreenCapture::captureScreen(&sc);
178 sc->checkPixel( 0, 12, 63, 63, 195);
179 sc->checkPixel( 75, 75, 195, 63, 63);
180 sc->checkPixel(145, 145, 63, 63, 195);
189 ScreenCapture::captureScreen(&sc);
208 sp<ScreenCapture> sc; local
[all...]
/frameworks/rs/tests/cppbasic/
H A Dcompute.cpp35 ScriptC_mono* sc = new ScriptC_mono(rs); local
46 sc->bind_failed(failed_alloc);
55 sc->forEach_root(ain, aout);
57 sc->invoke_foo(99, 3.1f);
58 sc->set_g_f(39.9f);
59 sc->set_g_i(-14);
60 sc->invoke_foo(99, 3.1f);
63 sc->invoke_bar(47, -3, 'c', -7, 14, -8);
84 sc->forEach_kern1(kern1_in, kern1_out);
85 sc
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScriptGL.java81 public SurfaceConfig(SurfaceConfig sc) { argument
82 mDepthMin = sc.mDepthMin;
83 mDepthPref = sc.mDepthPref;
84 mStencilMin = sc.mStencilMin;
85 mStencilPref = sc.mStencilPref;
86 mColorMin = sc.mColorMin;
87 mColorPref = sc.mColorPref;
88 mAlphaMin = sc.mAlphaMin;
89 mAlphaPref = sc.mAlphaPref;
90 mSamplesMin = sc
179 RenderScriptGL(Context ctx, SurfaceConfig sc) argument
[all...]
H A DRSSurfaceView.java144 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument
145 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
/frameworks/base/core/java/android/view/
H A DVolumePanel.java414 StreamControl sc = new StreamControl();
415 sc.streamType = streamType;
416 sc.group = (ViewGroup) inflater.inflate(R.layout.volume_adjust_item, null);
417 sc.group.setTag(sc);
418 sc.icon = (ImageView) sc.group.findViewById(R.id.stream_icon);
419 sc.icon.setTag(sc);
420 sc
467 updateSlider(StreamControl sc) argument
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DSimpleAppView.java42 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig();
43 sc.setDepth(16, 24);
44 sc.setSamples(1, 2, 1);
45 mRS = createRenderScriptGL(sc);
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
H A DDriverView.java.template40 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig();
41 mRS = createRenderScriptGL(sc);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsic.cpp78 uint32_t usrLen, const RsScriptCall *sc) {
83 uint32_t usrLen, const RsScriptCall *sc) {
91 const RsScriptCall *sc) {
94 preLaunch(slot, ain, aout, usr, usrLen, sc);
96 forEachMtlsSetup(ain, aout, usr, usrLen, sc, &mtls);
104 mCtx->launchThreads(ain, aout, sc, &mtls);
107 postLaunch(slot, ain, aout, usr, usrLen, sc);
76 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
81 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
86 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
H A DrsCpuIntrinsic.h38 const RsScriptCall *sc);
45 uint32_t usrLen, const RsScriptCall *sc);
48 uint32_t usrLen, const RsScriptCall *sc);
H A DrsCpuScript.cpp745 const RsScriptCall *sc,
775 if (!sc || (sc->xEnd == 0)) {
778 rsAssert(sc->xStart < mtls->fep.dimX);
779 rsAssert(sc->xEnd <= mtls->fep.dimX);
780 rsAssert(sc->xStart < sc->xEnd);
781 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart);
782 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd);
786 if (!sc || (s
743 forEachMtlsSetup(const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc, MTLaunchStruct *mtls) argument
843 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1120 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1126 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dbit_cnt.c48 Word16 bc11,sc; local
56 sc=0;
91 sc = sc + (t0>0) + (t1>0) + (t2>0) + (t3>0);
96 bitCount[3]=extract_h(bc3_4) + sc;
97 bitCount[4]=extract_l(bc3_4) + sc;
100 bitCount[7]=extract_h(bc7_8) + sc;
101 bitCount[8]=extract_l(bc7_8) + sc;
102 bitCount[9]=extract_h(bc9_10) + sc;
103 bitCount[10]=extract_l(bc9_10) + sc;
124 Word16 bc11,sc; local
199 Word16 bc11,sc; local
255 Word16 bc11,sc; local
304 Word16 bc11,sc; local
350 Word16 bc11,sc; local
391 Word16 bc11,ec,sc; local
[all...]
/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/
H A DHelloWorldView.java40 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig();
41 mRS = createRenderScriptGL(sc);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMTestHandler.java40 private SimulatedCommands sc; field in class:GSMTestHandler
54 sc = new SimulatedCommands();
55 mGSMPhone = new GSMPhone(mContext, sc, new TestPhoneNotifier(), true);
88 return sc;
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsRenderStatesView.java38 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig();
39 sc.setDepth(16, 24);
40 mRS = createRenderScriptGL(sc);
H A DRsListView.java36 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig();
37 mRS = createRenderScriptGL(sc);
/frameworks/rs/tests/cppallocation/
H A Dcompute.cpp36 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); local
45 sc->forEach_multiply(ain, aout);
58 sc.clear();
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptCThunker.java121 android.support.v8.renderscript.Script.LaunchOptions sc) {
124 if (sc != null) {
126 if (sc.getXEnd() > 0) lo.setX(sc.getXStart(), sc.getXEnd());
127 if (sc.getYEnd() > 0) lo.setY(sc.getYStart(), sc.getYEnd());
128 if (sc.getZEnd() > 0) lo.setZ(sc
120 thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v, android.support.v8.renderscript.Script.LaunchOptions sc) argument
[all...]
H A DScript.java259 * @param sc
261 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument
263 mT.thunkForEach(slot, ain, aout, v, sc);
272 if (sc == null) {
288 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalReceiver.java48 ServiceConnection sc = new ServiceConnection() {
55 context.bindService(new Intent(context, LocalService.class), sc, 0);
56 context.unbindService(sc);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSceneGraphView.java56 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig();
57 sc.setDepth(16, 24);
58 mRS = createRenderScriptGL(sc);
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchView.java56 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig();
57 sc.setDepth(16, 24);
58 mRS = createRenderScriptGL(sc);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DUT_foreach_bounds.java54 Script.LaunchOptions sc = new Script.LaunchOptions();
55 sc.setX(xStart, xEnd).setY(yStart, yEnd);
56 s.forEach_root(A, sc);
/frameworks/rs/tests/cppstrided/
H A Dcompute.cpp38 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); local
54 sc->forEach_multiply(ain, aout);
69 sc.clear();
/frameworks/rs/tests/latency/
H A Dlatency.cpp73 sp<ScriptC_latency> sc = new ScriptC_latency(rs); local
80 sc->forEach_root(ain, aout);
95 sc->forEach_root(ain, aout);
106 sc.clear();
/frameworks/rs/java/tests/HelloComputeNDK/libhellocomputendk/
H A DhelloComputeNDK.cpp51 ScriptC_mono* sc = new ScriptC_mono(rs); local
52 sc->forEach_root(inputAlloc, outputAlloc);

Completed in 635 milliseconds

123