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

1234

/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp37 static void fillSurfaceRGBA8(const sp<SurfaceControl>& sc, argument
40 sp<Surface> s = sc->getSurface();
60 static void captureScreen(sp<ScreenCapture>* sc) { argument
73 *sc = new ScreenCapture(cpuConsumer);
187 sp<ScreenCapture> sc; local
190 ScreenCapture::captureScreen(&sc);
191 sc->checkPixel( 0, 12, 63, 63, 195);
192 sc->checkPixel( 75, 75, 195, 63, 63);
193 sc->checkPixel(145, 145, 63, 63, 195);
202 ScreenCapture::captureScreen(&sc);
221 sp<ScreenCapture> sc; local
260 sp<ScreenCapture> sc; local
286 sp<ScreenCapture> sc; local
311 sp<ScreenCapture> sc; local
334 sp<ScreenCapture> sc; local
369 sp<ScreenCapture> sc; local
392 sp<ScreenCapture> sc; local
416 sp<ScreenCapture> sc; local
440 sp<ScreenCapture> sc; local
465 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(nullptr);
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(nullptr);
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.java181 FieldPacker v, LaunchOptions sc) {
187 if (ain == null && aout == null && sc == null) {
209 if (sc != null) {
212 limits[0] = sc.xstart;
213 limits[1] = sc.xend;
214 limits[2] = sc.ystart;
215 limits[3] = sc.yend;
216 limits[4] = sc.zstart;
217 limits[5] = sc.zend;
237 FieldPacker v, LaunchOptions sc) {
180 forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) argument
236 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) argument
292 reduce(int slot, Allocation[] ains, Allocation aout, LaunchOptions sc) argument
[all...]
H A DRSSurfaceView.java136 public RenderScriptGL createRenderScriptGL(RenderScriptGL.SurfaceConfig sc) { argument
137 RenderScriptGL rs = new RenderScriptGL(this.getContext(), sc);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java280 * @param sc
282 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, LaunchOptions sc) { argument
288 if (sc == null) {
308 mRS.nScriptForEachClipped(getID(mRS), slot, ainInc, aoutInc, params, sc.xstart, sc.xend, sc.ystart, sc.yend, sc.zstart, sc.zend, mUseIncSupp);
310 mRS.nScriptForEachClipped(getID(mRS), slot, in_id, out_id, params, sc
334 forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, LaunchOptions sc) argument
390 reduce(int slot, Allocation[] ains, Allocation aout, LaunchOptions sc) argument
[all...]
/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.cpp79 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->launchForEach(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 DrsCpuScript.h49 uint32_t usrLen, const RsScriptCall *sc);
53 const RsScriptCall *sc);
61 const RsScriptCall* sc) override;
66 const RsScriptCall* sc) override;
88 const RsScriptCall *sc, MTLaunchStructForEach *mtls);
94 const RsScriptCall *sc, MTLaunchStructReduce *mtls);
138 const RsScriptCall *sc);
H A DrsCpuIntrinsic.h40 const RsScriptCall *sc) override;
48 uint32_t usrLen, const RsScriptCall * sc) override;
52 const RsScriptCall * sc) override;
/frameworks/compile/slang/tests/P_reduce_general_input/
H A DScriptC_reduce_general_input.java.expect170 public result_int reduce_my_half_0(Allocation ain1, Script.LaunchOptions sc) {
177 reduce(mExportReduceIdx_my_half_0, new Allocation[]{ain1}, aout, sc);
203 public result_int reduce_my_half_1(Allocation ain1, Script.LaunchOptions sc) {
210 reduce(mExportReduceIdx_my_half_1, new Allocation[]{ain1}, aout, sc);
236 public result_int reduce_my_half_2(Allocation ain1, Script.LaunchOptions sc) {
243 reduce(mExportReduceIdx_my_half_2, new Allocation[]{ain1}, aout, sc);
269 public result_int reduce_my_half_3(Allocation ain1, Script.LaunchOptions sc) {
276 reduce(mExportReduceIdx_my_half_3, new Allocation[]{ain1}, aout, sc);
302 public result_int reduce_my_half_4(Allocation ain1, Script.LaunchOptions sc) {
309 reduce(mExportReduceIdx_my_half_4, new Allocation[]{ain1}, aout, sc);
[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/compile/slang/tests/P_reduce_general_accumulator/
H A DScriptC_reduce_general_accumulator.java.expect102 public result_int reduce_my_half(Allocation ain1, Script.LaunchOptions sc) {
109 reduce(mExportReduceIdx_my_half, new Allocation[]{ain1}, aout, sc);
135 public result_int reduce_my_half2(Allocation ain1, Script.LaunchOptions sc) {
142 reduce(mExportReduceIdx_my_half2, new Allocation[]{ain1}, aout, sc);
168 public result_int reduce_my_half4(Allocation ain1, Script.LaunchOptions sc) {
175 reduce(mExportReduceIdx_my_half4, new Allocation[]{ain1}, aout, sc);
201 public result_int reduce_my_array_half(Allocation ain1, Script.LaunchOptions sc) {
208 reduce(mExportReduceIdx_my_array_half, new Allocation[]{ain1}, aout, sc);
234 public result_int reduce_my_array_half2(Allocation ain1, Script.LaunchOptions sc) {
241 reduce(mExportReduceIdx_my_array_half2, new Allocation[]{ain1}, aout, sc);
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMTestHandler.java.broken40 private SimulatedCommands sc;
54 sc = new SimulatedCommands();
55 mGSMPhone = new GSMPhone(mContext, sc, new TestPhoneNotifier(), true);
88 return 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/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/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/
H A DrsScriptIntrinsic.cpp65 const RsScriptCall* sc) {
68 aout, usr, usrBytes, sc);
73 Allocation *aout, const RsScriptCall *sc) {
58 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument
71 runReduce(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation *aout, const RsScriptCall *sc) argument
/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/compile/slang/tests/P_reduce_general_struct/
H A DScriptC_reduce_general_struct.java.expect89 public result_int reduce_inStruct(Allocation ain1, Script.LaunchOptions sc) {
96 reduce(mExportReduceIdx_inStruct, new Allocation[]{ain1}, aout, sc);
/frameworks/rs/driver/
H A DrsdBcc.cpp76 const RsScriptCall *sc) {
80 sc);
85 sc);
97 const RsScriptCall *sc) {
100 cs->invokeForEach(slot, ains, inLen, aout, usr, usrLen, sc);
131 const RsScriptCall *sc) {
133 cs->invokeReduce(slot, ains, inLen, aout, sc);
175 const android::renderscript::Script *sc,
177 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)sc->mHal.drv;
69 rsdScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument
89 rsdScriptInvokeForEachMulti(const Context *rsc, Script *s, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation * aout, const void * usr, size_t usrLen, const RsScriptCall *sc) argument
127 rsdScriptInvokeReduce(const Context *dc, Script *s, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation *aout, const RsScriptCall *sc) argument
174 rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc, const android::renderscript::Script *sc, const void *ptr) argument
/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/compile/slang/tests/P_reduce_general_duplicate_array/
H A DScriptC_reduce_general_duplicate_array.java.expect102 public resultArray4_int reduce_sumDec(Allocation ain1, Script.LaunchOptions sc) {
109 reduce(mExportReduceIdx_sumDec, new Allocation[]{ain1}, aout, sc);
135 public resultArray4_int reduce_sumInc(Allocation ain1, Script.LaunchOptions sc) {
142 reduce(mExportReduceIdx_sumInc, new Allocation[]{ain1}, aout, sc);

Completed in 1074 milliseconds

1234