/frameworks/native/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 34 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc, argument 37 sp<Surface> s = sc->getSurface(); 57 static void captureScreen(sp<ScreenCapture>* sc) { argument 68 *sc = new ScreenCapture(cpuConsumer); 180 sp<ScreenCapture> sc; local 183 ScreenCapture::captureScreen(&sc); 184 sc->checkPixel( 0, 12, 63, 63, 195); 185 sc->checkPixel( 75, 75, 195, 63, 63); 186 sc->checkPixel(145, 145, 63, 63, 195); 195 ScreenCapture::captureScreen(&sc); 214 sp<ScreenCapture> sc; local [all...] |
/frameworks/rs/tests/cppbasic/ |
H A D | compute.cpp | 38 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(nullptr); 47 sc->set_sampler(samp); 57 sc->bind_failed(failed_alloc); 66 sc [all...] |
/frameworks/rs/tests/cppbasic-shared/ |
H A D | compute.cpp | 38 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(nullptr); 47 sc->set_sampler(samp); 57 sc->bind_failed(failed_alloc); 66 sc [all...] |
/frameworks/native/opengl/tests/lib/ |
H A D | WindowSurface.cpp | 57 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 D | RenderScriptGL.java | 74 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 D | Script.java | 179 FieldPacker v, LaunchOptions sc) { 185 if (ain == null && aout == null && sc == null) { 207 if (sc != null) { 210 limits[0] = sc.xstart; 211 limits[1] = sc.xend; 212 limits[2] = sc.ystart; 213 limits[3] = sc.yend; 214 limits[4] = sc.zstart; 215 limits[5] = sc.zend; 235 FieldPacker v, LaunchOptions sc) { 178 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) argument 234 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) argument [all...] |
H A D | RSSurfaceView.java | 136 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument 137 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | SimpleAppView.java | 42 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 D | DriverView.java.template | 40 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); 41 mRS = createRenderScriptGL(sc);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic.cpp | 79 const RsScriptCall *sc) { 85 const RsScriptCall *sc) { 94 const RsScriptCall *sc) { 98 preLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 100 if (forEachMtlsSetup(ains, inLen, aout, usr, usrLen, sc, &mtls)) { 108 mCtx->launchThreads(ains, inLen, aout, sc, &mtls); 112 postLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 76 preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 82 postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 88 invokeForEach(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
H A D | rsCpuScript.cpp | 519 const RsScriptCall *sc, 570 } else if (sc != nullptr) { 571 mtls->fep.dim.x = sc->xEnd; 572 mtls->fep.dim.y = sc->yEnd; 589 if (!sc || (sc->xEnd == 0)) { 592 mtls->start.x = rsMin(mtls->fep.dim.x, sc->xStart); 593 mtls->end.x = rsMin(mtls->fep.dim.x, sc->xEnd); 601 if (!sc || (sc 515 forEachMtlsSetup(const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc, MTLaunchStruct *mtls) argument 708 invokeForEach(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 933 preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 938 postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument [all...] |
H A D | rsCpuIntrinsic.h | 40 const RsScriptCall *sc) override; 48 uint32_t usrLen, const RsScriptCall * sc) override; 52 const RsScriptCall * sc) override;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | bit_cnt.c | 48 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 D | HelloWorldView.java | 40 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); 41 mRS = createRenderScriptGL(sc);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GSMTestHandler.java.broken | 40 private SimulatedCommands sc; 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 D | RsRenderStatesView.java | 38 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); 39 sc.setDepth(16, 24); 40 mRS = createRenderScriptGL(sc);
|
H A D | RsListView.java | 36 RenderScriptGL.SurfaceConfig sc = new RenderScriptGL.SurfaceConfig(); 37 mRS = createRenderScriptGL(sc);
|
/frameworks/rs/tests/cppallocation/ |
H A D | compute.cpp | 36 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); local 45 sc->forEach_multiply(ain, aout); 58 sc.clear();
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LocalReceiver.java | 48 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 D | SceneGraphView.java | 56 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 D | RsBenchView.java | 56 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 D | UT_foreach_bounds.java | 54 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 D | compute.cpp | 38 sp<ScriptC_multiply> sc = new ScriptC_multiply(rs); local 54 sc->forEach_multiply(ain, aout); 69 sc.clear();
|
/frameworks/rs/tests/latency/ |
H A D | latency.cpp | 73 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/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Script.java | 278 * @param sc 280 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument 286 if (sc == null) { 306 mRS.nScriptForEachClipped(getID(mRS), slot, ainInc, aoutInc, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc.zend, mUseIncSupp); 308 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc [all...] |