/frameworks/base/rs/java/android/renderscript/ |
H A D | Script.java | 157 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/rs/cpu_ref/ |
H A D | rsCpuIntrinsicResize.cpp | 40 uint32_t usrLen, const RsScriptCall *sc); 309 uint32_t usrLen, const RsScriptCall *sc) 307 preLaunch(uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
|
H A D | rsCpuCore.cpp | 411 const RsScriptCall *sc, MTLaunchStruct *mtls) { 483 const RsScriptCall* sc, MTLaunchStruct* mtls) { 585 RsdCpuScriptImpl * RsdCpuReferenceImpl::setTLS(RsdCpuScriptImpl *sc) { argument 586 //ALOGE("setTls %p", sc); 590 tls->mImpl = sc; 592 if (sc) { 593 tls->mScript = sc->getScript(); 410 launchThreads(const Allocation * ain, Allocation * aout, const RsScriptCall *sc, MTLaunchStruct *mtls) argument 482 launchThreads(const Allocation** ains, uint32_t inLen, Allocation* aout, const RsScriptCall* sc, MTLaunchStruct* mtls) argument
|
H A D | rsCpuScript.cpp | 799 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...] |
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 461 void RsdShader::setupTextures(const Context *rsc, RsdShaderCache *sc) { argument 479 RSD_CALL_GL(glUniform1i, sc->fragUniformSlot(mTextureUniformIndexStart + ct), ct); 520 void RsdShader::setupUserConstants(const Context *rsc, RsdShaderCache *sc, bool isFragment) { argument 544 slot = sc->vtxUniformSlot(uidx); 545 arraySize = sc->vtxUniformSize(uidx); 547 slot = sc->fragUniformSlot(uidx); 548 arraySize = sc->fragUniformSize(uidx); 567 void RsdShader::setup(const android::renderscript::Context *rsc, RsdShaderCache *sc) { argument 569 setupUserConstants(rsc, sc, mType == GL_FRAGMENT_SHADER); 570 setupTextures(rsc, sc); [all...] |
H A D | rsdRuntimeStubs.cpp | 529 const Script *sc = RsdCpuReference::getTlsScript(); local 530 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr); 539 const Script *sc = RsdCpuReference::getTlsScript(); local 540 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr); 550 const Script *sc = RsdCpuReference::getTlsScript(); local 551 Allocation* alloc = rsdScriptGetAllocationForPointer(rsc, sc, ptr); 664 const Script *sc = RsdCpuReference::getTlsScript(); local 665 return rsrGetDt(rsc, sc); 1492 const Script *sc = RsdCpuReference::getTlsScript(); local 1493 return rsdScriptGetAllocationForPointer(rsc, sc, pt [all...] |
/frameworks/rs/ |
H A D | rsScript.cpp | 193 const RsScriptCall *sc, size_t scLen) { 196 // input for sc. Instead, it retains an existing pointer value (the prior 198 // drivers might now inspect bogus sc data. 200 sc = NULL; 204 params, paramLen, sc); 211 size_t paramLen, const RsScriptCall *sc, 215 // input for sc. Instead, it retains an existing pointer value (the prior 217 // drivers might now inspect bogus sc data. 219 sc = NULL; 226 static_cast<Allocation *>(vaout), params, paramLen, sc); 190 rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, RsAllocation vain, RsAllocation vaout, const void *params, size_t paramLen, const RsScriptCall *sc, size_t scLen) argument 208 rsi_ScriptForEachMulti(Context *rsc, RsScript vs, uint32_t slot, RsAllocation *vains, size_t inLen, RsAllocation vaout, const void *params, size_t paramLen, const RsScriptCall *sc, size_t scLen) argument [all...] |
H A D | rsContext.cpp | 531 Context * Context::createContext(Device *dev, const RsSurfaceConfig *sc, argument 544 if (!rsc->initContext(dev, sc)) { 557 bool Context::initContext(Device *dev, const RsSurfaceConfig *sc) { argument 565 if (sc) { 566 mUserSurfaceConfig = *sc; 571 mIsGraphicsContext = sc != NULL; 975 uint32_t sdkVersion, RsSurfaceConfig sc, 979 Context *rsc = Context::createContext(dev, &sc); 974 rsContextCreateGL(RsDevice vdev, uint32_t version, uint32_t sdkVersion, RsSurfaceConfig sc, uint32_t dpi) argument
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Script.java | 259 * @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/av/services/audioflinger/ |
H A D | AudioResamplerFirGen.h | 468 double sc = 0; local 471 double tmp = sc; 472 sc = static_cast<double>(*coef++) + dcos*sc - sp; 476 // again on the sc and sp sequences returned here. 477 accum += cc.valueAdvance() * sc - cp.valueAdvance() * sp;
|
/frameworks/native/opengl/libagl/ |
H A D | primitives.cpp | 773 int sc = lerp.iteratorsScale(itw, w0, w1, w2); local 774 sc += wscale - 16; 818 itt[6] = sc - lerp.iteratorsScale(itt+0, s0, s1, s2); 819 itt[7] = sc - lerp.iteratorsScale(itt+3, t0, t1, t2);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmMmiCode.java | 418 scToCallForwardReason(String sc) { argument 419 if (sc == null) { 420 throw new RuntimeException ("invalid call forward sc"); 423 if (sc.equals(SC_CF_All)) { 425 } else if (sc.equals(SC_CFU)) { 427 } else if (sc.equals(SC_CFB)) { 429 } else if (sc.equals(SC_CFNR)) { 431 } else if (sc.equals(SC_CFNRy)) { 433 } else if (sc.equals(SC_CF_All_Conditional)) { 436 throw new RuntimeException ("invalid call forward sc"); 490 isServiceCodeCallForwarding(String sc) argument 499 isServiceCodeCallBarring(String sc) argument 514 scToBarringFacility(String sc) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneMmiCode.java | 330 scToCallForwardReason(String sc) { argument 331 if (sc == null) { 332 throw new RuntimeException ("invalid call forward sc"); 335 if (sc.equals(SC_CF_All)) { 337 } else if (sc.equals(SC_CFU)) { 339 } else if (sc.equals(SC_CFB)) { 341 } else if (sc.equals(SC_CFNR)) { 343 } else if (sc.equals(SC_CFNRy)) { 345 } else if (sc.equals(SC_CF_All_Conditional)) { 348 throw new RuntimeException ("invalid call forward sc"); 396 isServiceCodeCallForwarding(String sc) argument 405 isServiceCodeCallBarring(String sc) argument 420 scToBarringFacility(String sc) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 2713 const StreamConfiguration &sc = scs[i]; local 2714 if (sc.isInput == ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT && 2715 sc.format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED && 2716 sc.width <= limit.width && sc.height <= limit.height) { 2717 Size sz = {sc.width, sc.height}; 2791 StreamConfiguration sc = {format, width, height, isInput}; local 2792 scs.add(sc); 2802 const StreamConfiguration &sc local 2821 const StreamConfiguration &sc = scs[i]; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumePanel.java | 502 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/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 268 } sc; member in struct:meas 502 measPtr->sc.minWidth = scMinWidth(format->format, measPtr->df.minDim); 503 testPrintI(" scMinWidth: %u", measPtr->sc.minWidth); 505 measPtr->sc.minHeight = scMinHeight(format->format, measPtr->df.minDim); 506 testPrintI(" scMinHeight: %u", measPtr->sc.minHeight); 508 measPtr->sc.maxWidth = scMaxWidth(format->format, measPtr->df.maxDim); 509 testPrintI(" scMaxWidth: %s%u", (measPtr->sc.maxWidth 511 measPtr->sc.maxWidth); 513 measPtr->sc.maxHeight = scMaxHeight(format->format, measPtr->df.maxDim); 514 testPrintI(" scMaxHeight: %s%u", (measPtr->sc [all...] |
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 356 int32_t sc = scanCodes.itemAt(i); local 357 if (sc >= 0 && sc <= KEY_MAX && test_bit(sc, keyState)) { 421 for (size_t sc = 0; sc < scanCodes.size(); sc++) { 422 if (test_bit(scanCodes[sc], device->keyBitmask)) { 497 int32_t sc; local 498 if (device && mapLed(device, led, &sc) 513 int32_t sc; local 1454 int32_t sc = scanCodes.itemAt(i); local [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 808 RsScriptCall sc; local 809 sc.xStart = xstart; 810 sc.xEnd = xend; 811 sc.yStart = ystart; 812 sc.yEnd = yend; 813 sc.zStart = zstart; 814 sc.zEnd = zend; 815 sc.strategy = RS_FOR_EACH_STRATEGY_DONT_CARE; 816 sc.arrayStart = 0; 817 sc 830 RsScriptCall sc; local [all...] |
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 258 RsSurfaceConfig sc; local 259 sc.alphaMin = alphaMin; 260 sc.alphaPref = alphaPref; 261 sc.colorMin = colorMin; 262 sc.colorPref = colorPref; 263 sc.depthMin = depthMin; 264 sc.depthPref = depthPref; 265 sc.samplesMin = samplesMin; 266 sc.samplesPref = samplesPref; 267 sc 1118 RsScriptCall sc; local 1140 RsScriptCall sc; local 1180 RsScriptCall sc; local 1229 RsScriptCall sc; local [all...] |