/frameworks/rs/ |
H A D | rsScript.cpp | 43 void Script::setSlot(uint32_t slot, Allocation *a) { argument 44 //ALOGE("setSlot %i %p", slot, a); 45 if (slot >= mHal.info.exportedVariableCount) { 46 ALOGE("Script::setSlot unable to set allocation, invalid slot index"); 50 mSlots[slot].set(a); 52 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a->getPtr()); 54 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, NULL); 58 void Script::setVar(uint32_t slot, const void *val, size_t len) { argument 59 //ALOGE("setVar %i %p %i", slot, val, len); 60 if (slot > 67 setVar(uint32_t slot, const void *val, size_t len, Element *e, const size_t *dims, size_t dimLen) argument 77 setVarObj(uint32_t slot, ObjectBase *val) argument 96 rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) argument 122 rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, RsAllocation vain, RsAllocation vaout, const void *params, size_t paramLen) argument 132 rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) argument 138 rsi_ScriptInvokeData(Context *rsc, RsScript vs, uint32_t slot, void *data) argument 143 rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument 148 rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) argument 153 rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) argument 159 rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) argument 164 rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) argument 169 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument 174 rsi_ScriptSetVarV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument 179 rsi_ScriptSetVarVE(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len, RsElement ve, const size_t *dims, size_t dimLen) argument [all...] |
H A D | rsProgram.cpp | 139 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { argument 141 if (slot >= mHal.state.constantsCount) { 142 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but const count is %u", 143 slot, (uint32_t)this, mHal.state.constantsCount); 147 if (alloc->getType() != mConstantTypes[slot].get()) { 148 ALOGE("Attempt to bind alloc at slot %u, on shader id %u, but types mismatch", 149 slot, (uint32_t)this); 154 if (mConstants[slot].get() == alloc) { 157 if (mConstants[slot].get()) { 158 mConstants[slot] 168 bindTexture(Context *rsc, uint32_t slot, Allocation *a) argument 187 bindSampler(Context *rsc, uint32_t slot, Sampler *s) argument 202 rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) argument 207 rsi_ProgramBindTexture(Context *rsc, RsProgram vpf, uint32_t slot, RsAllocation a) argument 212 rsi_ProgramBindSampler(Context *rsc, RsProgram vpf, uint32_t slot, RsSampler s) argument [all...] |
H A D | rsScript.h | 70 void setSlot(uint32_t slot, Allocation *a); 71 void setVar(uint32_t slot, const void *val, size_t len); 72 void setVar(uint32_t slot, const void *val, size_t len, Element *e, 74 void setVarObj(uint32_t slot, ObjectBase *val); 79 uint32_t slot, 86 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) = 0;
|
H A D | rsFBOCache.cpp | 47 void FBOCache::bindColorTarget(Context *rsc, Allocation *a, uint32_t slot) { argument 48 if (slot >= mHal.state.colorTargetsCount) { 58 mColorTargets[slot].set(a); 59 mHal.state.colorTargets[slot] = a;
|
H A D | rsProgram.h | 66 void bindAllocation(Context *, Allocation *, uint32_t slot); 70 void bindTexture(Context *, uint32_t slot, Allocation *); 71 void bindSampler(Context *, uint32_t slot, Sampler *);
|
H A D | rs.spec | 270 param uint32_t slot 280 param uint32_t slot 285 param uint32_t slot 291 param uint32_t slot 299 param uint32_t slot 305 param uint32_t slot 311 param uint32_t slot 317 param uint32_t slot 323 param uint32_t slot 329 param uint32_t slot [all...] |
H A D | rsScriptC.h | 45 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len); 50 uint32_t slot,
|
H A D | rsSampler.cpp | 60 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) { argument 61 ss->mSamplers[slot].set(this); 62 mBoundSlot = slot; 66 int32_t slot = mBoundSlot; local 68 ss->mSamplers[slot].clear();
|
H A D | rsScriptC_LibGL.cpp | 49 void rsrBindTexture(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { argument 52 pf->bindTexture(rsc, slot, a); 55 void rsrBindConstant(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Allocation *a) { argument 58 pf->bindAllocation(rsc, a, slot); 61 void rsrBindConstant(Context *rsc, Script *sc, ProgramVertex *pv, uint32_t slot, Allocation *a) { argument 64 pv->bindAllocation(rsc, a, slot); 67 void rsrBindSampler(Context *rsc, Script *sc, ProgramFragment *pf, uint32_t slot, Sampler *s) { argument 70 pf->bindSampler(rsc, slot, s); 93 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Script *sc, Allocation *a, uint32_t slot) { argument 95 rsc->mFBOCache.bindColorTarget(rsc, a, slot); 105 rsrClearFrameBufferObjectColorTarget(Context *rsc, Script *sc, uint32_t slot) argument [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_imdct_synth.cpp | 319 for (int32 slot = 1; slot < FILTERBANK_BANDS; slot += 6) 321 int32 temp1 = out[slot ]; 322 int32 temp2 = out[slot+2]; 323 int32 temp3 = out[slot+4]; 324 out[slot ] = -temp1; 325 out[slot+2] = -temp2; 326 out[slot+4] = -temp3; 336 int32 slot; local [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Program.java | 93 * @param slot index of the constant input type to return 96 public Type getConstant(int slot) { argument 97 if (slot < 0 || slot >= mConstants.length) { 100 return mConstants[slot]; 112 * Returns the type of texture at a given slot. e.g. 2D or Cube 113 * @param slot index of the texture input 116 public TextureType getTextureType(int slot) { argument 117 if ((slot < 0) || (slot > 129 getTextureName(int slot) argument 144 bindConstants(Allocation a, int slot) argument 163 bindTexture(Allocation va, int slot) argument 187 bindSampler(Sampler vs, int slot) argument [all...] |
H A D | Script.java | 26 * @param slot 28 protected void invoke(int slot) { argument 29 mRS.nScriptInvoke(getID(mRS), slot); 35 * @param slot 38 protected void invoke(int slot, FieldPacker v) { argument 40 mRS.nScriptInvokeV(getID(mRS), slot, v.getData()); 42 mRS.nScriptInvoke(getID(mRS), slot); 49 * @param slot 54 protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument 71 mRS.nScriptForEach(getID(mRS), slot, in_i 86 bindAllocation(Allocation va, int slot) argument [all...] |
H A D | ProgramVertex.java | 68 * @param slot location of the input to return 71 public Element getInput(int slot) { argument 72 if (slot < 0 || slot >= mInputs.length) { 75 return mInputs[slot];
|
H A D | RenderScript.java | 165 native void rsnContextBindSampler(int con, int sampler, int slot); argument 166 synchronized void nContextBindSampler(int sampler, int slot) { argument 168 rsnContextBindSampler(mContext, sampler, slot); 489 native void rsnScriptBindAllocation(int con, int script, int alloc, int slot); argument 490 synchronized void nScriptBindAllocation(int script, int alloc, int slot) { argument 492 rsnScriptBindAllocation(mContext, script, alloc, slot); 499 native void rsnScriptInvoke(int con, int id, int slot); argument 500 synchronized void nScriptInvoke(int id, int slot) { argument 502 rsnScriptInvoke(mContext, id, slot); 504 native void rsnScriptForEach(int con, int id, int slot, in argument 505 rsnScriptForEach(int con, int id, int slot, int ain, int aout) argument 506 nScriptForEach(int id, int slot, int ain, int aout, byte[] params) argument 514 rsnScriptInvokeV(int con, int id, int slot, byte[] params) argument 515 nScriptInvokeV(int id, int slot, byte[] params) argument 519 rsnScriptSetVarI(int con, int id, int slot, int val) argument 520 nScriptSetVarI(int id, int slot, int val) argument 524 rsnScriptSetVarJ(int con, int id, int slot, long val) argument 525 nScriptSetVarJ(int id, int slot, long val) argument 529 rsnScriptSetVarF(int con, int id, int slot, float val) argument 530 nScriptSetVarF(int id, int slot, float val) argument 534 rsnScriptSetVarD(int con, int id, int slot, double val) argument 535 nScriptSetVarD(int id, int slot, double val) argument 539 rsnScriptSetVarV(int con, int id, int slot, byte[] val) argument 540 nScriptSetVarV(int id, int slot, byte[] val) argument 544 rsnScriptSetVarVE(int con, int id, int slot, byte[] val, int e, int[] dims) argument 546 nScriptSetVarVE(int id, int slot, byte[] val, int e, int[] dims) argument 551 rsnScriptSetVarObj(int con, int id, int slot, int val) argument 552 nScriptSetVarObj(int id, int slot, int val) argument 589 rsnProgramBindConstants(int con, int pv, int slot, int mID) argument 590 nProgramBindConstants(int pv, int slot, int mID) argument 594 rsnProgramBindTexture(int con, int vpf, int slot, int a) argument 595 nProgramBindTexture(int vpf, int slot, int a) argument 599 rsnProgramBindSampler(int con, int vpf, int slot, int s) argument 600 nProgramBindSampler(int vpf, int slot, int s) argument [all...] |
/frameworks/rs/cpp/ |
H A D | Script.cpp | 31 void Script::invoke(uint32_t slot, const void *v, size_t len) const { argument 32 rsScriptInvokeV(mRS->mContext, getID(), slot, v, len); 35 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, argument 42 rsScriptForEach(mRS->mContext, getID(), slot, in_id, out_id, usr, usrLen); 50 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const { 51 rsScriptBindAllocation(mRS->mContext, getID(), BaseObj::getObjID(va), slot);
|
H A D | Script.h | 39 void forEach(uint32_t slot, sp<const Allocation> in, sp<const Allocation> out, 41 void bindAllocation(sp<Allocation> va, uint32_t slot) const; 44 void invoke(uint32_t slot, const void *v, size_t len) const; 47 void invoke(uint32_t slot) const { 48 invoke(slot, NULL, 0);
|
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 66 void RsdVertexArray::logAttrib(uint32_t idx, uint32_t slot) const { 70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%x", 71 idx, slot, 100 int32_t slot = sc->vtxAttribSlot(mAttribs[ct].name); local 102 logAttrib(ct, slot); 104 if (slot < 0 || slot >= (int32_t)maxAttrs) { 107 glEnableVertexAttribArray(slot); 108 state->mAttrsEnabled[slot] = true; 110 glVertexAttribPointer(slot, [all...] |
H A D | rsdBcc.h | 29 uint32_t slot, 35 uint32_t slot, 51 uint32_t slot, void *data, size_t dataLen); 54 uint32_t slot, void *data, 61 uint32_t slot, void *data); 64 uint32_t slot, android::renderscript::ObjectBase *data); 68 uint32_t slot, 73 uint32_t slot,
|
/frameworks/base/core/java/android/app/ |
H A D | StatusBarManager.java | 129 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { argument 133 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, 142 public void removeIcon(String slot) { argument 146 svc.removeIcon(slot); 154 public void setIconVisibility(String slot, boolean visible) { argument 158 svc.setIconVisibility(slot, visible);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | IStatusBarService.aidl | 30 void setIcon(String slot, String iconPackage, int iconId, int iconLevel, String contentDescription); 31 void setIconVisibility(String slot, boolean visible); 32 void removeIcon(String slot);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListButtonsDiagonalAcrossItems.java | 52 final Slot slot = position == 0 ? Slot.Left : 55 parent.getContext(), desiredHeight, slot);
|
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 100 int slot = glGetAttribLocation(mProgramId, name); local 101 mAttributes.add(name, slot); 102 return slot; 120 int slot = glGetUniformLocation(mProgramId, name); local 121 mUniforms.add(name, slot); 122 return slot;
|
/frameworks/compile/slang/ |
H A D | slang_rs_reflection_cpp.cpp | 103 uint32_t slot = 0; local 106 E = mRSContext->export_vars_end(); I != E; I++, slot++) { 126 slot = 0; 128 E = mRSContext->export_vars_end(); I != E; I++, slot++) { 137 tmp << slot; local 256 uint32_t slot = 0; local 258 E = mRSContext->export_foreach_end(); I != E; I++, slot++) { 280 tmp << " forEach(" << slot << ", "; local 296 slot = 0;
|
/frameworks/native/include/gui/ |
H A D | ISurfaceTexture.h | 51 // the given slot index, and the client is expected to mirror the 52 // slot->buffer mapping so that it's not necessary to transfer a 54 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) = 0; 61 // dequeueBuffer requests a new buffer slot for the client to use. Ownership 62 // of the slot is transfered to the client, meaning that the server will not 63 // use the contents of the buffer associated with that slot. The slot index 64 // returned may or may not contain a buffer. If the slot is empty the client 65 // should call requestBuffer to assign a new buffer to that slot. The client 66 // is expected to either call cancelBuffer on the dequeued slot o [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_graphics.rsh | 33 * @param slot 36 rsgBindColorTarget(rs_allocation colorTarget, uint slot); 40 * @param slot 43 rsgClearColorTarget(uint slot); 107 * operate on the texture bound at the matching slot. 109 * @param slot 112 rsgBindSampler(rs_program_fragment, uint slot, rs_sampler); 118 * matching slot. 120 * @param slot 123 rsgBindTexture(rs_program_fragment, uint slot, rs_allocatio [all...] |