/frameworks/rs/cpu_ref/ |
H A D | rsd_cpu.h | 70 virtual void invokeFunction(uint32_t slot, const void *params, size_t paramLength) = 0; 72 virtual void invokeForEach(uint32_t slot, 79 virtual void invokeForEachMulti(uint32_t slot, 90 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) = 0; 91 virtual void getGlobalVar(uint32_t slot, void *data, size_t dataLength) = 0; 92 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, 94 virtual void setGlobalBind(uint32_t slot, Allocation *data) = 0; 95 virtual void setGlobalObj(uint32_t slot, ObjectBase *obj) = 0;
|
H A D | rsCpuIntrinsicLUT.cpp | 33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data); 50 void RsdCpuScriptIntrinsicLUT::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 51 rsAssert(slot == 0);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramVertex.java | 66 * @param slot location of the input to return 69 public Element getInput(int slot) { argument 70 if (slot < 0 || slot >= mInputs.length) { 73 return mInputs[slot];
|
/frameworks/native/include/gui/ |
H A D | BufferQueueProducer.h | 35 // requestBuffer returns the GraphicBuffer for slot N. 37 // In normal operation, this is called the first time slot N is returned 40 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf); 59 // dequeueBuffer gets the next buffer slot index for the producer to use. 60 // If a buffer slot is available then that slot index is written to the 62 // If no slot is available then a status of -EBUSY is returned and buf is 89 // producer must discard cached GraphicBuffer references for the slot 95 // GraphicBuffer handle for the returned slot. 100 virtual status_t detachBuffer(int slot); [all...] |
H A D | ConsumerBase.h | 113 // freeBufferLocked frees up the given buffer slot. If the slot has been 115 // slot. Otherwise it has no effect. 118 // keep per slot. If it is overridden, the derived class's implementation 130 // state they keep (as opposed to per-slot state). If it is overridden, 150 // updates the buffer slot for the buffer returned. 154 // to a slot. If it is overridden the derived class's implementation must 166 virtual status_t releaseBufferLocked(int slot, 170 // returns true iff the slot still has the graphicBuffer in it. 171 bool stillTracking(int slot, cons [all...] |
H A D | BufferQueueConsumer.h | 53 virtual status_t detachBuffer(int slot); 56 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer); 58 // releaseBuffer releases a buffer slot from the consumer back to the 70 virtual status_t releaseBuffer(int slot, uint64_t frameNumber,
|
H A D | IGraphicBufferProducer.h | 69 // buffer to the given slot index, and the client is expected to mirror the 70 // slot->buffer mapping so that it's not necessary to transfer a 73 // The slot must be in the range of [0, NUM_BUFFER_SLOTS). 78 // * slot was out of range (see above) 79 // * buffer specified by the slot is not dequeued 80 virtual status_t requestBuffer(int slot, sp<GraphicBuffer>* buf) = 0; 104 // dequeueBuffer requests a new buffer slot for the client to use. Ownership 105 // of the slot is transfered to the client, meaning that the server will not 106 // use the contents of the buffer associated with that slot. 108 // The slot inde [all...] |
/frameworks/rs/ |
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 | rsScriptC.h | 41 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len); 46 uint32_t slot, 54 uint32_t slot,
|
H A D | rsScriptIntrinsic.h | 44 uint32_t slot, 52 uint32_t slot, 60 virtual void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len);
|
H A D | rsScriptC_LibGL.cpp | 49 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { argument 52 pf->bindTexture(rsc, slot, a); 55 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { argument 58 pf->bindAllocation(rsc, a, slot); 61 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) { argument 64 pv->bindAllocation(rsc, a, slot); 67 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { argument 70 pf->bindSampler(rsc, slot, s); 93 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Allocation *a, uint32_t slot) { argument 95 rsc->mFBOCache.bindColorTarget(rsc, a, slot); 105 rsrClearFrameBufferObjectColorTarget(Context *rsc, uint32_t slot) argument [all...] |
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.cpp | 158 uint32_t slot, 171 AString->append(mHal.info.exportedForeachFuncList[slot].first); 181 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc); 188 uint32_t slot, 202 AString->append(mHal.info.exportedForeachFuncList[slot].first); 213 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc); 219 void ScriptC::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument 222 if (slot >= mHal.info.exportedFunctionCount) { 229 ALOGV("%p ScriptC::Invoke invoking slot %i, ptr %p", rsc, slot, thi 157 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument 187 runForEach(Context *rsc, uint32_t slot, const Allocation ** ains, size_t inLen, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument [all...] |
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 300 param uint32_t slot 309 param uint32_t slot 315 param uint32_t slot 321 param uint32_t slot 327 param uint32_t slot 333 param uint32_t slot [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | StreamSplitter_test.cpp | 99 int slot; local 103 inputProducer->dequeueBuffer(&slot, &fence, false, 0, 0, 0, 105 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); 116 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); 131 inputProducer->dequeueBuffer(&slot, &fence, false, 0, 0, 0, 165 int slot; local 169 inputProducer->dequeueBuffer(&slot, &fence, false, 0, 0, 0, 171 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); 182 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); 200 inputProducer->dequeueBuffer(&slot, 225 int slot; local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameManager.java | 53 /** Slot Flag: Sticky flag set: Frame will remain in slot after fetch. */ 326 * Adds a new frame slot to the frame manager. 328 * specified here is already taken the frame slot is overwritten. You can only 331 * @param name The name of the slot. 332 * @param type The type of Frame that will be assigned to this slot. 341 FrameSlot slot = new FrameSlot(type, flags); 342 mFrameSlots.put(name, slot); 346 * Removes a frame slot from the frame manager. 347 * Any frame within the slot is released. You can only modify frame-slots while no graph 350 * @param name The name of the slot [all...] |
/frameworks/base/core/java/android/app/ |
H A D | StatusBarManager.java | 152 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { argument 156 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, 165 public void removeIcon(String slot) { argument 169 svc.removeIcon(slot); 177 public void setIconVisibility(String slot, boolean visible) { argument 181 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/libs/hwui/ |
H A D | Program.cpp | 101 int slot = glGetAttribLocation(mProgramId, name); local 102 mAttributes.add(name, slot); 103 return slot; 121 int slot = glGetUniformLocation(mProgramId, name); local 122 mUniforms.add(name, slot); 123 return slot;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 526 native void rsnScriptBindAllocation(int con, int script, int alloc, int slot); argument 527 synchronized void nScriptBindAllocation(int script, int alloc, int slot) { argument 529 rsnScriptBindAllocation(mContext, script, alloc, slot); 536 native void rsnScriptInvoke(int con, int id, int slot); argument 537 synchronized void nScriptInvoke(int id, int slot) { argument 539 rsnScriptInvoke(mContext, id, slot); 541 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout, byte[] params); argument 542 native void rsnScriptForEach(int con, int id, int slot, int ain, int aout); argument 543 native void rsnScriptForEachClipped(int con, int id, int slot, int ain, int aout, byte[] params, argument 545 native void rsnScriptForEachClipped(int con, int id, int slot, in argument 547 nScriptForEach(int id, int slot, int ain, int aout, byte[] params) argument 556 nScriptForEachClipped(int id, int slot, int ain, int aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend) argument 566 rsnScriptInvokeV(int con, int id, int slot, byte[] params) argument 567 nScriptInvokeV(int id, int slot, byte[] params) argument 571 rsnScriptSetVarI(int con, int id, int slot, int val) argument 572 nScriptSetVarI(int id, int slot, int val) argument 576 rsnScriptSetVarJ(int con, int id, int slot, long val) argument 577 nScriptSetVarJ(int id, int slot, long val) argument 581 rsnScriptSetVarF(int con, int id, int slot, float val) argument 582 nScriptSetVarF(int id, int slot, float val) argument 586 rsnScriptSetVarD(int con, int id, int slot, double val) argument 587 nScriptSetVarD(int id, int slot, double val) argument 591 rsnScriptSetVarV(int con, int id, int slot, byte[] val) argument 592 nScriptSetVarV(int id, int slot, byte[] val) argument 596 rsnScriptSetVarVE(int con, int id, int slot, byte[] val, int e, int[] dims) argument 598 nScriptSetVarVE(int id, int slot, byte[] val, int e, int[] dims) argument 603 rsnScriptSetVarObj(int con, int id, int slot, int val) argument 604 nScriptSetVarObj(int id, int slot, int val) argument 622 rsnScriptKernelIDCreate(int con, int sid, int slot, int sig) argument 623 nScriptKernelIDCreate(int sid, int slot, int sig) argument 628 rsnScriptFieldIDCreate(int con, int sid, int slot) argument 629 nScriptFieldIDCreate(int sid, int slot) argument [all...] |
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 948 nScriptBindAllocation(JNIEnv *_env, jobject _this, jlong con, jlong script, jlong alloc, jint slot) argument 950 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", (RsContext)con, (RsScript)script, (RsAllocation)alloc, slot); 951 rsScriptBindAllocation((RsContext)con, (RsScript)script, (RsAllocation)alloc, slot); 955 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val) argument 957 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", (RsContext)con, (void *)script, slot, val); 958 rsScriptSetVarI((RsContext)con, (RsScript)script, slot, val); 962 nScriptGetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument 964 LOG_API("nScriptGetVarI, con(%p), s(%p), slot( 971 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument 978 nScriptSetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val) argument 985 nScriptGetVarJ(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument 994 nScriptSetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, float val) argument 1001 nScriptGetVarF(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument 1010 nScriptSetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, double val) argument 1017 nScriptGetVarD(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot) argument 1026 nScriptSetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) argument 1036 nScriptGetVarV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) argument 1046 nScriptSetVarVE(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data, jlong elem, jintArray dims) argument 1077 nScriptInvoke(JNIEnv *_env, jobject _this, jlong con, jlong obj, jint slot) argument 1084 nScriptInvokeV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jbyteArray data) argument 1094 nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout) argument 1101 nScriptForEachV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout, jbyteArray params) argument 1112 nScriptForEachClipped(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 1132 nScriptForEachClippedV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong ain, jlong aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 1155 nScriptForEachMultiClipped(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 1201 nScriptForEachMultiClippedV(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlongArray ains, jlong aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 1308 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig) argument 1315 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) argument 1423 nProgramBindConstants(JNIEnv *_env, jobject _this, jlong con, jlong vpv, jint slot, jlong a) argument 1430 nProgramBindTexture(JNIEnv *_env, jobject _this, jlong con, jlong vpf, jint slot, jlong a) argument 1437 nProgramBindSampler(JNIEnv *_env, jobject _this, jlong con, jlong vpf, jint slot, jlong a) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
H A D | TvStatusBar.java | 37 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { argument 41 public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, argument 46 public void removeIcon(String slot, int index, int viewIndex) { argument
|
/frameworks/rs/scriptc/ |
H A D | rs_graphics.rsh | 37 * @param slot 40 rsgBindColorTarget(rs_allocation colorTarget, uint slot); 44 * @param slot 47 rsgClearColorTarget(uint slot); 111 * operate on the texture bound at the matching slot. 113 * @param slot 116 rsgBindSampler(rs_program_fragment, uint slot, rs_sampler); 122 * matching slot. 124 * @param slot 127 rsgBindTexture(rs_program_fragment, uint slot, rs_allocatio [all...] |
/frameworks/support/v8/renderscript/jni/ |
H A D | android_renderscript_RenderScript.cpp | 684 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument 686 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot); 687 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot); 691 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 693 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val); 694 rsScriptSetVarI(con, (RsScript)script, slot, val); 698 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument 700 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot( 705 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument 712 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument 719 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument 726 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 736 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument 767 nScriptInvoke(JNIEnv *_env, jobject _this, RsContext con, jint obj, jint slot) argument 774 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument 784 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument 791 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument 802 nScriptForEachClipped(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 822 nScriptForEachClippedV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument 903 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, RsContext con, jint sid, jint slot, jint sig) argument 910 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, RsContext con, jint sid, jint slot) argument [all...] |