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

1234

/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.cpp38 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local
41 sc->set_alloc(a1);
42 sc->set_elem(e);
43 sc->set_type(t);
44 sc->set_script(sc);
45 sc->set_script(NULL);
47 sc->set_sampler(samp);
57 sc->bind_failed(failed_alloc);
66 sc
[all...]
/frameworks/rs/tests/cppbasic-shared/
H A Dcompute.cpp38 sp<ScriptC_mono> sc = new ScriptC_mono(rs); local
41 sc->set_alloc(a1);
42 sc->set_elem(e);
43 sc->set_type(t);
44 sc->set_script(sc);
45 sc->set_script(NULL);
47 sc->set_sampler(samp);
57 sc->bind_failed(failed_alloc);
66 sc
[all...]
/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp57 sp<SurfaceControl> sc = surfaceComposerClient->createSurface( local
60 if (sc == NULL || !sc->isValid()) {
66 err = sc->setLayer(0x7FFFFFFF); // always on top
72 err = sc->show();
79 mSurfaceControl = sc;
/frameworks/base/rs/java/android/renderscript/
H A DRenderScriptGL.java74 public SurfaceConfig(SurfaceConfig sc) { argument
75 mDepthMin = sc.mDepthMin;
76 mDepthPref = sc.mDepthPref;
77 mStencilMin = sc.mStencilMin;
78 mStencilPref = sc.mStencilPref;
79 mColorMin = sc.mColorMin;
80 mColorPref = sc.mColorPref;
81 mAlphaMin = sc.mAlphaMin;
82 mAlphaPref = sc.mAlphaPref;
83 mSamplesMin = sc
172 RenderScriptGL(Context ctx, SurfaceConfig sc) argument
[all...]
H A DScript.java157 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument
166 if (sc == null) {
182 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc.zend);
199 protected void forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) { argument
212 if (sc
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumePanel.java502 final StreamControl sc = mStreamControls.valueAt(i);
503 pw.print(" stream "); pw.print(sc.streamType); pw.print(":");
504 if (sc.seekbarView != null) {
505 pw.print(" progress="); pw.print(sc.seekbarView.getProgress());
506 pw.print(" of "); pw.print(sc.seekbarView.getMax());
507 if (!sc.seekbarView.isEnabled()) pw.print(" (disabled)");
509 if (sc.icon != null && sc.icon.isClickable()) pw.print(" (clickable)");
591 StreamControl sc = mStreamControls.get(streamType);
592 if (sc !
620 setStreamVolume(StreamControl sc, int index, int flags) argument
706 toggleRinger(StreamControl sc) argument
734 updateSliderProgress(StreamControl sc, int progress) argument
748 updateSliderIcon(StreamControl sc, boolean muted) argument
770 updateSliderSuppressor(StreamControl sc) argument
804 updateSlider(StreamControl sc, boolean forceReloadIcon) argument
815 updateSliderEnabled(final StreamControl sc, boolean muted, boolean fixedVolume) argument
1597 start(StreamControl sc) argument
[all...]
/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);
116 const RsScriptCall *sc) {
123 preLaunch(slot, ains[0], aout, usr, usrLen, sc);
125 forEachMtlsSetup(ains, inLen, 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
110 invokeForEachMulti(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
H A DrsCpuIntrinsic.h38 const RsScriptCall *sc);
46 const RsScriptCall *sc);
54 uint32_t usrLen, const RsScriptCall *sc);
57 uint32_t usrLen, const RsScriptCall *sc);
H A DrsCpuScript.cpp799 const RsScriptCall *sc,
842 if (!sc || (sc->xEnd == 0)) {
845 rsAssert(sc->xStart < mtls->fep.dimX);
846 rsAssert(sc->xEnd <= mtls->fep.dimX);
847 rsAssert(sc->xStart < sc->xEnd);
848 mtls->xStart = rsMin(mtls->fep.dimX, sc->xStart);
849 mtls->xEnd = rsMin(mtls->fep.dimX, sc->xEnd);
853 if (!sc || (s
797 forEachMtlsSetup(const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc, MTLaunchStruct *mtls) argument
909 forEachMtlsSetup(const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc, MTLaunchStruct *mtls) argument
1051 invokeForEach(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1067 invokeForEachMulti(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1346 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1352 postLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
H A DrsCpuScript.h69 uint32_t usrLen, const RsScriptCall *sc);
72 uint32_t usrLen, const RsScriptCall *sc);
78 const RsScriptCall *sc);
86 const RsScriptCall* sc);
105 const RsScriptCall *sc, MTLaunchStruct *mtls);
109 const RsScriptCall *sc, MTLaunchStruct *mtls);
/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/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/rs/
H A DrsScriptIntrinsic.cpp65 const RsScriptCall *sc) {
67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
77 const RsScriptCall* sc) {
79 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc);
59 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
70 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument
/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);
/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...]
/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();

Completed in 2967 milliseconds

1234