/frameworks/rs/driver/ |
H A D | rsdShaderCache.h | 58 int32_t vtxUniformSlot(uint32_t a) const {return mCurrent->vtxUniforms[a].slot;} 60 int32_t fragUniformSlot(uint32_t a) const {return mCurrent->fragUniforms[a].slot;} 91 int32_t slot; member in struct:RsdShaderCache::UniformData 95 int32_t slot; member in struct:RsdShaderCache::AttrData
|
H A D | rsdShaderCache.cpp | 46 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { 58 prog->getUniformName(ct).string(), data[ct].slot, data[ct].arraySize); 65 data[ct].slot = glGetUniformLocation(linkedID, prog->getUniformName(ct)); 73 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { 79 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { 172 e->vtxAttrs[ct].slot = glGetAttribLocation(pgm, vtx->getAttribName(ct)); 175 ALOGV("vtx A %i, %s = %d\n", ct, vtx->getAttribName(ct).string(), e->vtxAttrs[ct].slot); 234 return mCurrent->vtxAttrs[ct].slot;
|
H A D | rsdBcc.cpp | 309 uint32_t slot, 322 mtls.kernel = drv->mForEachFunctions[slot]; 326 mtls.sig = drv->mExportForEachSignatureList[slot]; 465 uint32_t slot, 469 //ALOGE("invoke %p %p %i %p %i", dc, script, slot, params, paramLength); 473 drv->mInvokeFunctions[slot])(params, paramLength); 478 uint32_t slot, void *data, size_t dataLength) { 480 //rsAssert(!script->mFieldIsObject[slot]); 481 //ALOGE("setGlobalVar %p %p %i %p %i", dc, script, slot, data, dataLength); 483 int32_t *destPtr = ((int32_t **)drv->mFieldAddress)[slot]; 307 rsdScriptInvokeForEach(const Context *rsc, Script *s, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument 464 rsdScriptInvokeFunction(const Context *dc, Script *script, uint32_t slot, const void *params, size_t paramLength) argument 477 rsdScriptSetGlobalVar(const Context *dc, const Script *script, uint32_t slot, void *data, size_t dataLength) argument 492 rsdScriptSetGlobalVarWithElemDims( const android::renderscript::Context *dc, const android::renderscript::Script *script, uint32_t slot, void *data, size_t dataLength, const android::renderscript::Element *elem, const size_t *dims, size_t dimLength) argument 532 rsdScriptSetGlobalBind(const Context *dc, const Script *script, uint32_t slot, void *data) argument 546 rsdScriptSetGlobalObj(const Context *dc, const Script *script, uint32_t slot, ObjectBase *data) argument [all...] |
H A D | rsdRuntimeStubs.cpp | 101 static void SC_BindTexture(ProgramFragment *pf, uint32_t slot, Allocation *a) { argument 103 rsrBindTexture(rsc, sc, pf, slot, a); 106 static void SC_BindVertexConstant(ProgramVertex *pv, uint32_t slot, Allocation *a) { argument 108 rsrBindConstant(rsc, sc, pv, slot, a); 111 static void SC_BindFragmentConstant(ProgramFragment *pf, uint32_t slot, Allocation *a) { argument 113 rsrBindConstant(rsc, sc, pf, slot, a); 116 static void SC_BindSampler(ProgramFragment *pf, uint32_t slot, Sampler *s) { argument 118 rsrBindSampler(rsc, sc, pf, slot, s); 141 static void SC_BindFrameBufferObjectColorTarget(Allocation *a, uint32_t slot) { argument 143 rsrBindFrameBufferObjectColorTarget(rsc, sc, a, slot); 151 SC_ClearFrameBufferObjectColorTarget(uint32_t slot) argument [all...] |
H A D | rsdVertexArray.h | 53 void logAttrib(uint32_t idx, uint32_t slot) const;
|
H A D | rsdShader.cpp | 356 int32_t slot, uint32_t arraySize ) { 359 RSD_CALL_GL(glUniformMatrix4fv, slot, arraySize, GL_FALSE, fd); 361 RSD_CALL_GL(glUniformMatrix3fv, slot, arraySize, GL_FALSE, fd); 363 RSD_CALL_GL(glUniformMatrix2fv, slot, arraySize, GL_FALSE, fd); 367 RSD_CALL_GL(glUniform1fv, slot, arraySize, fd); 370 RSD_CALL_GL(glUniform2fv, slot, arraySize, fd); 373 RSD_CALL_GL(glUniform3fv, slot, arraySize, fd); 376 RSD_CALL_GL(glUniform4fv, slot, arraySize, fd); 520 ALOGE("Attempting to set constants on shader id %u, but alloc at slot %u is not set", 535 int32_t slot local 355 setUniform(const Context *rsc, const Element *field, const float *fd, int32_t slot, uint32_t arraySize ) argument [all...] |
H A D | rsdShader.h | 129 const float *fd, int32_t slot, uint32_t arraySize );
|
/frameworks/rs/ |
H A D | rsFBOCache.h | 36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
|
H A D | rsScriptC.cpp | 131 uint32_t slot, 142 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); 145 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument 146 if (slot >= mHal.info.exportedFunctionCount) { 153 ALOGV("%p ScriptC::Invoke invoking slot %i, ptr %p", rsc, slot, this); 155 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len); 130 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
|
H A D | rsRuntime.h | 32 void rsrBindTexture(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *); 33 void rsrBindConstant(Context *, Script *, ProgramFragment *, uint32_t slot, Allocation *); 34 void rsrBindConstant(Context *, Script *, ProgramVertex*, uint32_t slot, Allocation *); 35 void rsrBindSampler(Context *, Script *, ProgramFragment *, uint32_t slot, Sampler *); 40 void rsrBindFrameBufferObjectColorTarget(Context *, Script *, Allocation *, uint32_t slot); 42 void rsrClearFrameBufferObjectColorTarget(Context *, Script *, uint32_t slot);
|
H A D | rs_hal.h | 83 uint32_t slot, 89 uint32_t slot, 99 uint32_t slot, 103 uint32_t slot, 110 uint32_t slot, 113 uint32_t slot,
|
H A D | rsSampler.h | 61 void bindToContext(SamplerState *, uint32_t slot);
|
/frameworks/base/services/java/com/android/server/ |
H A D | StatusBarManagerService.java | 173 public void setIcon(String slot, String iconPackage, int iconId, int iconLevel, argument 178 int index = mIcons.getSlotIndex(slot); 180 throw new SecurityException("invalid status bar icon slot: " + slot); 185 //Slog.d(TAG, "setIcon slot=" + slot + " index=" + index + " icon=" + icon); 197 public void setIconVisibility(String slot, boolean visible) { argument 201 int index = mIcons.getSlotIndex(slot); 203 throw new SecurityException("invalid status bar icon slot: " + slot); 224 removeIcon(String slot) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueue.cpp | 274 status_t BufferQueue::requestBuffer(int slot, sp<GraphicBuffer>* buf) { argument 276 ST_LOGV("requestBuffer: slot=%d", slot); 282 if (slot < 0 || mBufferCount <= slot) { 283 ST_LOGE("requestBuffer: slot index out of range [0, %d]: %d", 284 mBufferCount, slot); 287 mSlots[slot].mRequestBufferCalled = true; 288 *buf = mSlots[slot].mGraphicBuffer; 505 ST_LOGV("dequeueBuffer: returning slot [all...] |
/frameworks/base/graphics/jni/ |
H A D | android_renderscript_RenderScript.cpp | 905 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument 907 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot); 908 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot); 912 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 914 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); 915 rsScriptSetVarI(con, (RsScript)script, slot, val); 919 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 921 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot( 926 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument 933 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument 940 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument 947 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 957 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument 988 nScriptInvoke(JNIEnv *_env, jobject _this, RsContext con, jint obj, jint slot) argument 995 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 1005 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument 1012 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument 1092 nProgramBindConstants(JNIEnv *_env, jobject _this, RsContext con, jint vpv, jint slot, jint a) argument 1099 nProgramBindTexture(JNIEnv *_env, jobject _this, RsContext con, jint vpf, jint slot, jint a) argument 1106 nProgramBindSampler(JNIEnv *_env, jobject _this, RsContext con, jint vpf, jint slot, jint a) argument [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | ProgramFragmentFixedFunction.java | 249 * @param slot index of the texture to apply the operations on 253 public Builder setTexture(EnvMode env, Format fmt, int slot) argument 255 if((slot < 0) || (slot >= MAX_TEXTURE)) { 258 mSlots[slot] = new Slot(env, fmt);
|
H A D | Mesh.java | 110 * @param slot index in the list of allocations to return 114 public Allocation getVertexAllocation(int slot) { argument 115 return mVertexBuffers[slot]; 132 * @param slot locaton within the list of index set allocation 137 public Allocation getIndexSetAllocation(int slot) { argument 138 return mIndexBuffers[slot]; 142 * @param slot locaiton within the list of index set primitives 146 public Primitive getPrimitive(int slot) { argument 147 return mPrimitives[slot];
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIconList.java | 99 public int getSlotIndex(String slot) { argument 102 if (slot.equals(mSlots[i])) {
|
/frameworks/base/libs/hwui/ |
H A D | Caches.h | 173 void bindPositionVertexPointer(bool force, GLuint slot, GLvoid* vertices, 180 void bindTexCoordsVertexPointer(bool force, GLuint slot, GLvoid* vertices);
|
H A D | Caches.cpp | 309 void Caches::bindPositionVertexPointer(bool force, GLuint slot, GLvoid* vertices, GLsizei stride) { argument 311 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, stride, vertices); 316 void Caches::bindTexCoordsVertexPointer(bool force, GLuint slot, GLvoid* vertices) { argument 318 glVertexAttribPointer(slot, 2, GL_FLOAT, GL_FALSE, gMeshStride, vertices);
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 196 * Add a word to a slot. 198 * @param slot slot name. 204 public void addWordToSlot(String slot, String word, String pron, int weight, String tag) { argument 205 SR_GrammarAddWordToSlot(mGrammar, slot, word, pron, weight, tag); 354 * in a grxml file, or in the <code>tag</code> slot of 663 private static native void SR_GrammarAddWordToSlot(int grammar, String slot, argument 666 // private static native void SR_GrammarAddNametagToSlot(int grammar, String slot,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 89 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon); argument 90 public void updateIcon(String slot, int index, int viewIndex, argument 92 public void removeIcon(String slot, int index, int viewIndex); argument
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | ListItemFactory.java | 104 for (Slot slot : slots) { 105 switch (slot) {
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | StatusBarTest.java | 326 for (String slot: new String[] { 337 mStatusBarManager.setIconVisibility(slot, true);
|
/frameworks/native/include/gui/ |
H A D | BufferQueue.h | 109 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf); 111 // dequeueBuffer gets the next buffer slot index for the client to use. If a 112 // buffer slot is available then that slot index is written to the location 114 // slot is available then a status of -EBUSY is returned and buf is 174 // mGraphicBuffer points to the buffer allocated for this slot or is NULL 178 // mCrop is the current crop rectangle for this buffer slot. 181 // mTransform is the current transform flags for this buffer slot. 184 // mScalingMode is the current scaling mode for this buffer slot. 187 // mTimestamp is the current timestamp for this buffer slot [all...] |