/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];
|
H A D | ProgramFragmentFixedFunction.java | 247 * @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 D | Program.java | 95 * @param slot index of the constant input type to return 98 public Type getConstant(int slot) { argument 99 if (slot < 0 || slot >= mConstants.length) { 102 return mConstants[slot]; 114 * Returns the type of texture at a given slot. e.g. 2D or Cube 115 * @param slot index of the texture input 118 public TextureType getTextureType(int slot) { argument 119 if ((slot < 0) || (slot > 131 getTextureName(int slot) argument 146 bindConstants(Allocation a, int slot) argument 165 bindTexture(Allocation va, int slot) argument 189 bindSampler(Sampler vs, int slot) argument [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 | rsGrallocConsumer.cpp | 100 int slot = b.mSlot; local 114 if (mSlots[slot].mGraphicBuffer->getPixelFormat() == 116 err = mSlots[slot].mGraphicBuffer->lockYCbCr( 128 err = mSlots[slot].mGraphicBuffer->lock( 143 mAcquiredBuffer[idx].mSlot = slot; 145 mAcquiredBuffer[idx].mGraphicBuffer = mSlots[slot].mGraphicBuffer; 148 mAlloc[idx]->mHal.drvState.lod[0].stride = mSlots[slot].mGraphicBuffer->getStride() * 154 mSlots[slot].mGraphicBuffer->getWidth()); 156 mSlots[slot].mGraphicBuffer->getHeight()); 176 if (mSlots[slot] [all...] |
H A D | rsProgram.cpp | 152 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 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 | rsScriptIntrinsic.cpp | 59 uint32_t slot, 67 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, 71 void ScriptIntrinsic::runReduce(Context *rsc, uint32_t slot, argument 76 void ScriptIntrinsic::Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) { argument 58 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 D | DemoStatusIcons.java | 125 private void updateSlot(String slot, String iconPkg, int iconId) { argument 133 if (slot.equals(v.getTag())) { 154 v.setTag(slot);
|
H A D | StatusBarIconList.java | 39 public int getSlotIndex(String slot) { argument 42 if (slot.equals(mSlots.get(i))) { 47 mSlots.add(0, slot);
|
/frameworks/rs/cpp/ |
H A D | Script.cpp | 25 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, nullptr, 0)); 43 void Script::bindAllocation(sp<Allocation> va, uint32_t slot) const { 44 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot));
|
/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/native/libs/gui/ |
H A D | CpuConsumer.cpp | 113 int slot = b.mSlot; local 118 PixelFormat format = mSlots[slot].mGraphicBuffer->getPixelFormat(); 122 err = mSlots[slot].mGraphicBuffer->lockAsyncYCbCr( 128 err = mSlots[slot].mGraphicBuffer->lockYCbCr( 148 err = mSlots[slot].mGraphicBuffer->lockAsync( 154 err = mSlots[slot].mGraphicBuffer->lock( 176 ab.mSlot = slot; 178 ab.mGraphicBuffer = mSlots[slot].mGraphicBuffer; 182 nativeBuffer->width = mSlots[slot].mGraphicBuffer->getWidth(); 183 nativeBuffer->height = mSlots[slot] [all...] |
H A D | BufferQueueCore.cpp | 200 void BufferQueueCore::clearBufferSlotLocked(int slot) { argument 201 BQ_LOGV("clearBufferSlotLocked: slot %d", slot); 203 mSlots[slot].mGraphicBuffer.clear(); 204 mSlots[slot].mBufferState.reset(); 205 mSlots[slot].mRequestBufferCalled = false; 206 mSlots[slot].mFrameNumber = 0; 207 mSlots[slot].mAcquireCalled = false; 208 mSlots[slot].mNeedsReallocation = true; 211 if (mSlots[slot] 257 int slot = mUnusedSlots.back(); local 270 auto slot = mFreeSlots.begin(); local 275 int slot = mFreeBuffers.back(); local [all...] |
H A D | StreamSplitter.cpp | 152 int slot; local 153 status = (*output)->attachBuffer(&slot, bufferItem.mGraphicBuffer); 168 status = (*output)->queueBuffer(slot, queueInput, &queueOutput);
|
/frameworks/native/libs/gui/tests/ |
H A D | StreamSplitter_test.cpp | 79 int slot; local 83 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 85 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); 96 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); 117 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 151 int slot; local 155 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, 157 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); 168 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); 192 inputProducer->dequeueBuffer(&slot, 215 int slot; local [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCoreRuntime.h | 62 uint32_t slot; member in struct:RsExpandKernelDriverInfo
|
H A D | rsCpuIntrinsic.cpp | 34 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 ** ains, argument 82 void RsdCpuScriptIntrinsic::postLaunch(uint32_t slot, const Allocation ** ains, argument 88 void RsdCpuScriptIntrinsic::invokeForEach(uint32_t slot, argument 98 preLaunch(slot, ains, inLen, aout, usr, usrLen, sc); 102 mtls.fep.slot 115 forEachKernelSetup(uint32_t slot, MTLaunchStructForEach *mtls) argument [all...] |
H A D | rsCpuIntrinsicLUT.cpp | 33 void setGlobalObj(uint32_t slot, ObjectBase *data) override; 50 void RsdCpuScriptIntrinsicLUT::setGlobalObj(uint32_t slot, ObjectBase *data) { argument 51 rsAssert(slot == 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%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/libs/hwui/ |
H A D | Program.cpp | 98 int slot = glGetAttribLocation(mProgramId, name); local 99 mAttributes.add(name, slot); 100 return slot; 118 int slot = glGetUniformLocation(mProgramId, name); local 119 mUniforms.add(name, slot); 120 return slot;
|
H A D | SkiaShader.cpp | 55 static inline void bindUniformColor(int slot, FloatColor color) { argument 56 glUniform4fv(slot, 1, reinterpret_cast<const float*>(&color)); 194 // TODO: remove sampler slot incrementing from dither.setupProgram,
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlingerConsumer.cpp | 75 int slot = item.mSlot; local 76 if (rejecter && rejecter->reject(mSlots[slot].mGraphicBuffer, item)) { 77 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, EGL_NO_SYNC_KHR);
|
/frameworks/base/core/java/android/app/ |
H A D | StatusBarManager.java | 196 public void setIcon(String slot, int iconId, int iconLevel, String contentDescription) { argument 200 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, 208 public void removeIcon(String slot) { argument 212 svc.removeIcon(slot); 219 public void setIconVisibility(String slot, boolean visible) { argument 223 svc.setIconVisibility(slot, visible);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StatusBarIconView.java | 58 public StatusBarIconView(Context context, String slot, Notification notification) { argument 59 this(context, slot, notification, false); 62 public StatusBarIconView(Context context, String slot, Notification notification, argument 66 mSlot = slot; 193 Log.w(TAG, "No icon for slot " + mSlot); 273 Log.d("View", debugIndent(depth) + "slot=" + mSlot); 320 return "StatusBarIconView(slot=" + mSlot + " icon=" + mIcon
|