Searched defs:slot (Results 1 - 25 of 73) sorted by relevance

123

/frameworks/base/rs/java/android/renderscript/
H A DProgramVertex.java66 * @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];
H A DProgramFragmentFixedFunction.java247 * @param slot index of the texture to apply the operations on
251 public Builder setTexture(EnvMode env, Format fmt, int slot) argument
253 if((slot < 0) || (slot >= MAX_TEXTURE)) {
256 mSlots[slot] = new Slot(env, fmt);
H A DProgram.java94 * @param slot index of the constant input type to return
97 public Type getConstant(int slot) { argument
98 if (slot < 0 || slot >= mConstants.length) {
101 return mConstants[slot];
113 * Returns the type of texture at a given slot. e.g. 2D or Cube
114 * @param slot index of the texture input
117 public TextureType getTextureType(int slot) { argument
118 if ((slot < 0) || (slot >
130 getTextureName(int slot) argument
145 bindConstants(Allocation a, int slot) argument
164 bindTexture(Allocation va, int slot) argument
188 bindSampler(Sampler vs, int slot) argument
[all...]
/frameworks/rs/
H A DrsFBOCache.cpp47 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 DrsProgram.cpp152 void Program::bindAllocation(Context *rsc, Allocation *alloc, uint32_t slot) { argument
154 if (slot >= mHal.state.constantsCount) {
155 ALOGE("Attempt to bind alloc at slot %u, on shader id %" PRIuPTR ", but const count is %u",
156 slot, (uintptr_t)this, mHal.state.constantsCount);
160 if (alloc->getType() != mConstantTypes[slot].get()) {
161 ALOGE("Attempt to bind alloc at slot %u, on shader id %" PRIuPTR ", but types mismatch",
162 slot, (uintptr_t)this);
167 if (mConstants[slot].get() == alloc) {
170 if (mConstants[slot].get()) {
171 mConstants[slot]
181 bindTexture(Context *rsc, uint32_t slot, Allocation *a) argument
200 bindSampler(Context *rsc, uint32_t slot, Sampler *s) argument
215 rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) argument
220 rsi_ProgramBindTexture(Context *rsc, RsProgram vpf, uint32_t slot, RsAllocation a) argument
225 rsi_ProgramBindSampler(Context *rsc, RsProgram vpf, uint32_t slot, RsSampler s) argument
[all...]
H A DrsSampler.cpp60 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 DrsScriptIntrinsic.cpp60 uint32_t slot,
67 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ain, aout, usr, usrBytes, sc);
71 uint32_t slot,
79 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, aout, usr, usrBytes, sc);
82 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument
59 runForEach(Context *rsc, uint32_t slot, const Allocation * ain, Allocation * aout, const void * usr, size_t usrBytes, const RsScriptCall *sc) argument
70 runForEach(Context* rsc, uint32_t slot, const Allocation** ains, size_t inLen, Allocation* aout, const void* usr, size_t usrBytes, const RsScriptCall* sc) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDemoStatusIcons.java136 private void updateSlot(String slot, String iconPkg, int iconId) { argument
141 if (slot.equals(v.getTag())) {
163 v.setTag(slot);
/frameworks/rs/cpp/
H A DScript.cpp25 void Script::invoke(uint32_t slot, const void *v, size_t len) const { argument
26 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len));
29 void Script::forEach(uint32_t slot, sp<const Allocation> ain, sp<const Allocation> aout, argument
36 tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, NULL, 0));
44 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const {
45 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot));
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_imdct_synth.cpp319 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/rs/driver/
H A DrsdVertexArray.cpp66 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%p",
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...]
/frameworks/base/core/java/com/android/internal/statusbar/
H A DStatusBarIconList.java99 public int getSlotIndex(String slot) { argument
102 if (slot.equals(mSlots[i])) {
/frameworks/base/libs/hwui/
H A DProgram.cpp101 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/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp53 // Name of metadata node where RS object slot info resides (should be
323 uint32_t slot; local
324 if (val.getAsInteger(10, slot)) {
325 ALOGE("Non-integer object slot value '%s' in %s!", val.str().c_str(),
329 result->mObjectSlots.editItemAt(slot) = 1;
/frameworks/native/include/gui/
H A DGLConsumer.h248 virtual status_t releaseBufferLocked(int slot,
252 status_t releaseBufferLocked(int slot, argument
254 return releaseBufferLocked(slot, graphicBuffer, mEglDisplay, eglFence);
259 // This releases the buffer in the slot referenced by mCurrentTexture,
279 // is primarily just one image per slot, but there is also special cases:
330 // freeBufferLocked frees up the given buffer slot. If the slot has been
332 // slot and destroy the EGLImage in that slot. Otherwise it has no effect.
349 // current slot fro
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp107 const BufferSlot& slot(mSlots[s]);
108 if (slot.mBufferState != BufferSlot::FREE ||
109 slot.mGraphicBuffer != NULL) {
116 const BufferSlot& slot(mSlots[s]);
117 const sp<GraphicBuffer>& buffer(slot.mGraphicBuffer);
119 (slot.mBufferState == BufferSlot::ACQUIRED) ? ">" : " ",
121 BufferSlot::bufferStateName(slot.mBufferState));
190 void BufferQueueCore::freeBufferLocked(int slot) { argument
191 BQ_LOGV("freeBufferLocked: slot %d", slot);
216 const BufferSlot& slot = mSlots[item->mSlot]; local
[all...]
H A DStreamSplitter.cpp151 int slot; local
152 status = (*output)->attachBuffer(&slot, bufferItem.mGraphicBuffer);
167 status = (*output)->queueBuffer(slot, queueInput, &queueOutput);
H A DBufferQueueConsumer.cpp121 // Front buffer is still in mSlots, so mark the slot as free
146 int slot = front->mSlot; local
148 ATRACE_BUFFER_INDEX(slot);
150 BQ_LOGV("acquireBuffer: acquiring { slot=%d/%" PRIu64 " buffer=%p }",
151 slot, front->mFrameNumber, front->mGraphicBuffer->handle);
152 // If the front buffer is still being tracked, update its slot state
154 mSlots[slot].mAcquireCalled = true;
155 mSlots[slot].mNeedsCleanupOnRelease = false;
156 mSlots[slot].mBufferState = BufferSlot::ACQUIRED;
157 mSlots[slot]
179 detachBuffer(int slot) argument
277 releaseBuffer(int slot, uint64_t frameNumber, const sp<Fence>& releaseFence, EGLDisplay eglDisplay, EGLSyncKHR eglFence) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp113 int slot; local
117 mProducer->dequeueBuffer(&slot, &fence, false, 0, 0, 0,
119 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer));
129 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output));
150 int slot; local
159 mProducer->dequeueBuffer(&slot, &fence, false, 1, 1, 0,
161 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buf));
162 ASSERT_EQ(OK, mProducer->queueBuffer(slot, qbi, &qbo));
167 mProducer->dequeueBuffer(&slot, &fence, false, 1, 1, 0,
169 ASSERT_EQ(OK, mProducer->requestBuffer(slot,
221 int slot; local
269 int slot; local
327 int slot; local
[all...]
H A DStreamSplitter_test.cpp99 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/rs/cpu_ref/
H A DrsCpuIntrinsic.cpp34 void RsdCpuScriptIntrinsic::invokeFunction(uint32_t slot, const void *params, size_t paramLength) { argument
50 void RsdCpuScriptIntrinsic::setGlobalVar(uint32_t slot, const void *data, size_t dataLength) { argument
55 void RsdCpuScriptIntrinsic::setGlobalVarWithElemDims(uint32_t slot, const void *data, argument
62 void RsdCpuScriptIntrinsic::setGlobalBind(uint32_t slot, Allocation *data) { argument
67 void RsdCpuScriptIntrinsic::setGlobalObj(uint32_t slot, ObjectBase *data) { argument
76 void RsdCpuScriptIntrinsic::preLaunch(uint32_t slot, const Allocation * ain, argument
81 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation * ain, argument
86 void RsdCpuScriptIntrinsic::invokeForEach(uint32_t slot, argument
94 preLaunch(slot, ain, aout, usr, usrLen, sc);
98 mtls.fep.slot
110 invokeForEachMulti(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
139 forEachKernelSetup(uint32_t slot, MTLaunchStruct *mtls) argument
[all...]
H A DrsCpuIntrinsicLUT.cpp33 virtual void setGlobalObj(uint32_t slot, ObjectBase *data);
50 void RsdCpuScriptIntrinsicLUT::setGlobalObj(uint32_t slot, ObjectBase *data) { argument
51 rsAssert(slot == 0);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptCThunker.java43 int slot, int sig, Element ein, Element eout) {
54 android.renderscript.Script.KernelID kid = createKernelID(slot, sig, nein, neout);
62 void thunkInvoke(int slot) { argument
64 invoke(slot);
70 void thunkBindAllocation(Allocation va, int slot) { argument
76 bindAllocation(nva, slot);
90 void thunkInvoke(int slot, FieldPacker v) { argument
94 invoke(slot, nfp);
100 void thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v) { argument
114 forEach(slot, ni
42 thunkCreateKernelID( int slot, int sig, Element ein, Element eout) argument
120 thunkForEach(int slot, Allocation ain, Allocation aout, FieldPacker v, android.support.v8.renderscript.Script.LaunchOptions sc) argument
221 thunkCreateFieldID(int slot, Element e) argument
[all...]
/frameworks/base/core/java/android/app/
H A DStatusBarManager.java152 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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java52 public StatusBarIconView(Context context, String slot, Notification notification) { argument
55 mSlot = slot;
152 Log.w(TAG, "No icon for slot " + mSlot);
241 Log.d("View", debugIndent(depth) + "slot=" + mSlot);
288 return "StatusBarIconView(slot=" + mSlot + " icon=" + mIcon

Completed in 409 milliseconds

123