Searched refs:slot (Results 76 - 100 of 214) sorted by relevance

123456789

/frameworks/rs/
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 DrsApiStubs.cpp567 extern "C" RsScriptKernelID rsScriptKernelIDCreate (RsContext ctxWrapper, RsScript sid, int slot, int sig) argument
569 return RS_DISPATCH(ctxWrapper, ScriptKernelIDCreate, sid, slot, sig);
572 extern "C" RsScriptFieldID rsScriptFieldIDCreate (RsContext ctxWrapper, RsScript sid, int slot) argument
574 return RS_DISPATCH(ctxWrapper, ScriptFieldIDCreate, sid, slot);
624 extern "C" void rsScriptBindAllocation (RsContext ctxWrapper, RsScript vtm, RsAllocation va, uint32_t slot) argument
626 RS_DISPATCH(ctxWrapper, ScriptBindAllocation, vtm, va, slot);
634 extern "C" RsScriptInvokeID rsScriptInvokeIDCreate (RsContext ctxWrapper, RsScript s, uint32_t slot) argument
636 return RS_DISPATCH(ctxWrapper, ScriptInvokeIDCreate, s, slot);
639 extern "C" void rsScriptInvoke (RsContext ctxWrapper, RsScript s, uint32_t slot) argument
641 RS_DISPATCH(ctxWrapper, ScriptInvoke, s, slot);
644 rsScriptInvokeV(RsContext ctxWrapper, RsScript s, uint32_t slot, const void * data, size_t data_length) argument
649 rsScriptForEach(RsContext ctxWrapper, RsScript s, uint32_t slot, RsAllocation ain, RsAllocation aout, const void * usr, size_t usr_length, const RsScriptCall * sc, size_t sc_length) argument
657 rsScriptForEachMulti(RsContext ctxWrapper, RsScript s, uint32_t slot, RsAllocation * ains, size_t ains_length, RsAllocation aout, const void * usr, size_t usr_length, const RsScriptCall * sc, size_t sc_length) argument
665 rsScriptReduce(RsContext ctxWrapper, RsScript s, uint32_t slot, RsAllocation * ains, size_t ains_length, RsAllocation aout, const RsScriptCall * sc, size_t sc_length) argument
672 rsScriptSetVarI(RsContext ctxWrapper, RsScript s, uint32_t slot, int value) argument
677 rsScriptSetVarObj(RsContext ctxWrapper, RsScript s, uint32_t slot, RsObjectBase value) argument
682 rsScriptSetVarJ(RsContext ctxWrapper, RsScript s, uint32_t slot, int64_t value) argument
687 rsScriptSetVarF(RsContext ctxWrapper, RsScript s, uint32_t slot, float value) argument
692 rsScriptSetVarD(RsContext ctxWrapper, RsScript s, uint32_t slot, double value) argument
697 rsScriptSetVarV(RsContext ctxWrapper, RsScript s, uint32_t slot, const void * data, size_t data_length) argument
703 rsScriptGetVarV(RsContext ctxWrapper, RsScript s, uint32_t slot, void * data, size_t data_length) argument
709 rsScriptSetVarVE(RsContext ctxWrapper, RsScript s, uint32_t slot, const void * data, size_t data_length, RsElement e, const uint32_t * dims, size_t dims_length) argument
848 rsProgramBindConstants(RsContext ctxWrapper, RsProgram vp, uint32_t slot, RsAllocation constants) argument
853 rsProgramBindTexture(RsContext ctxWrapper, RsProgramFragment pf, uint32_t slot, RsAllocation a) argument
858 rsProgramBindSampler(RsContext ctxWrapper, RsProgramFragment pf, uint32_t slot, RsSampler s) argument
[all...]
H A DrsFBOCache.h36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DRenderScript.java623 native void rsnScriptBindAllocation(long con, long script, long alloc, int slot, boolean mUseInc); argument
624 synchronized void nScriptBindAllocation(long script, long alloc, int slot, boolean mUseInc) { argument
630 rsnScriptBindAllocation(curCon, script, alloc, slot, mUseInc);
641 native void rsnScriptInvoke(long con, long id, int slot, boolean mUseInc); argument
642 synchronized void nScriptInvoke(long id, int slot, boolean mUseInc) { argument
648 rsnScriptInvoke(curCon, id, slot, mUseInc);
650 native void rsnScriptForEach(long con, long incCon, long id, int slot, long ain, long aout, byte[] params, boolean mUseInc); argument
651 native void rsnScriptForEach(long con, long incCon, long id, int slot, long ain, long aout, boolean mUseInc); argument
652 native void rsnScriptForEachClipped(long con, long incCon, long id, int slot, long ain, long aout, byte[] params, argument
654 native void rsnScriptForEachClipped(long con, long incCon, long id, int slot, lon argument
656 nScriptForEach(long id, int slot, long ain, long aout, byte[] params, boolean mUseInc) argument
665 nScriptForEachClipped(long id, int slot, long ain, long aout, byte[] params, int xstart, int xend, int ystart, int yend, int zstart, int zend, boolean mUseInc) argument
675 rsnScriptForEach(long con, long id, int slot, long[] ains, long aout, byte[] params, int[] limits) argument
678 nScriptForEach(long id, int slot, long[] ains, long aout, byte[] params, int[] limits) argument
688 rsnScriptReduce(long con, long id, int slot, long[] ains, long aout, int[] limits) argument
690 nScriptReduce(long id, int slot, long ains[], long aout, int[] limits) argument
696 rsnScriptInvokeV(long con, long id, int slot, byte[] params, boolean mUseInc) argument
697 nScriptInvokeV(long id, int slot, byte[] params, boolean mUseInc) argument
705 rsnScriptSetVarI(long con, long id, int slot, int val, boolean mUseInc) argument
706 nScriptSetVarI(long id, int slot, int val, boolean mUseInc) argument
714 rsnScriptSetVarJ(long con, long id, int slot, long val, boolean mUseInc) argument
715 nScriptSetVarJ(long id, int slot, long val, boolean mUseInc) argument
723 rsnScriptSetVarF(long con, long id, int slot, float val, boolean mUseInc) argument
724 nScriptSetVarF(long id, int slot, float val, boolean mUseInc) argument
732 rsnScriptSetVarD(long con, long id, int slot, double val, boolean mUseInc) argument
733 nScriptSetVarD(long id, int slot, double val, boolean mUseInc) argument
741 rsnScriptSetVarV(long con, long id, int slot, byte[] val, boolean mUseInc) argument
742 nScriptSetVarV(long id, int slot, byte[] val, boolean mUseInc) argument
750 rsnScriptSetVarVE(long con, long id, int slot, byte[] val, long e, int[] dims, boolean mUseInc) argument
752 nScriptSetVarVE(long id, int slot, byte[] val, long e, int[] dims, boolean mUseInc) argument
761 rsnScriptSetVarObj(long con, long id, int slot, long val, boolean mUseInc) argument
762 nScriptSetVarObj(long id, int slot, long val, boolean mUseInc) argument
810 rsnScriptKernelIDCreate(long con, long sid, int slot, int sig, boolean mUseInc) argument
811 nScriptKernelIDCreate(long sid, int slot, int sig, boolean mUseInc) argument
820 rsnScriptInvokeIDCreate(long con, long sid, int slot) argument
821 nScriptInvokeIDCreate(long sid, int slot) argument
826 rsnScriptFieldIDCreate(long con, long sid, int slot, boolean mUseInc) argument
827 nScriptFieldIDCreate(long sid, int slot, boolean mUseInc) argument
[all...]
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
H A DWGraphicBufferProducer.h68 Return<void> requestBuffer(int32_t slot, HGraphicBufferProducer::requestBuffer_cb _hidl_cb) override {
70 status_t status = mBase->requestBuffer(slot, &buf);
92 int slot; variable
96 &slot, &fence, width, height,
107 static_cast<int32_t>(slot),
117 static_cast<int32_t>(slot),
125 static_cast<int32_t>(slot),
139 Return<int32_t> detachBuffer(int32_t slot) override {
140 return static_cast<int32_t>(mBase->detachBuffer(slot));
186 int32_t slot, cons
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp746 void RsdCpuScriptImpl::invokeForEach(uint32_t slot, argument
757 forEachKernelSetup(slot, &mtls);
765 void RsdCpuScriptImpl::invokeReduce(uint32_t slot, argument
772 reduceKernelSetup(slot, &mtls);
779 void RsdCpuScriptImpl::forEachKernelSetup(uint32_t slot, MTLaunchStructForEach *mtls) { argument
781 mtls->fep.slot = slot;
782 mtls->kernel = mScriptExec->getForEachFunction(slot);
786 void RsdCpuScriptImpl::reduceKernelSetup(uint32_t slot, MTLaunchStructReduce *mtls) { argument
788 mtls->redp.slot
819 invokeFunction(uint32_t slot, const void *params, size_t paramLength) argument
850 setGlobalVar(uint32_t slot, const void *data, size_t dataLength) argument
868 getGlobalVar(uint32_t slot, void *data, size_t dataLength) argument
881 setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength, const Element *elem, const uint32_t *dims, size_t dimLength) argument
916 setGlobalBind(uint32_t slot, Allocation *data) argument
935 setGlobalObj(uint32_t slot, ObjectBase *data) argument
997 preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
1002 postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
H A DrsCpuIntrinsicHistogram.cpp29 void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) override;
30 void setGlobalObj(uint32_t slot, ObjectBase *data) override;
36 void preLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen,
39 void postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen,
77 void RsdCpuScriptIntrinsicHistogram::setGlobalObj(uint32_t slot, ObjectBase *data) { argument
78 rsAssert(slot == 1);
82 void RsdCpuScriptIntrinsicHistogram::setGlobalVar(uint32_t slot, const void *data, size_t dataLength) { argument
83 rsAssert(slot == 0);
95 RsdCpuScriptIntrinsicHistogram::preLaunch(uint32_t slot, argument
104 switch (slot) {
143 postLaunch(uint32_t slot, const Allocation ** ains, uint32_t inLen, Allocation * aout, const void * usr, uint32_t usrLen, const RsScriptCall *sc) argument
[all...]
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h54 virtual status_t detachBuffer(int slot);
57 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer);
59 // releaseBuffer releases a buffer slot from the consumer back to the
71 virtual status_t releaseBuffer(int slot, uint64_t frameNumber,
H A DBufferQueueProducer.h35 // 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);
48 // dequeueBuffer gets the next buffer slot index for the producer to use.
49 // If a buffer slot is available then that slot index is written to the
51 // If no slot is available then a status of -EBUSY is returned and buf is
76 // producer must discard cached GraphicBuffer references for the slot
82 // GraphicBuffer handle for the returned slot.
89 virtual status_t detachBuffer(int slot);
[all...]
/frameworks/native/libs/gui/include/gui/
H A DBufferQueueConsumer.h54 virtual status_t detachBuffer(int slot);
57 virtual status_t attachBuffer(int* slot, const sp<GraphicBuffer>& buffer);
59 // releaseBuffer releases a buffer slot from the consumer back to the
71 virtual status_t releaseBuffer(int slot, uint64_t frameNumber,
H A DBufferQueueProducer.h35 // 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);
48 // dequeueBuffer gets the next buffer slot index for the producer to use.
49 // If a buffer slot is available then that slot index is written to the
51 // If no slot is available then a status of -EBUSY is returned and buf is
76 // producer must discard cached GraphicBuffer references for the slot
82 // GraphicBuffer handle for the returned slot.
89 virtual status_t detachBuffer(int slot);
[all...]
/frameworks/native/services/vr/bufferhubd/
H A Dconsumer_queue_channel.cpp85 const std::shared_ptr<ProducerChannel>& producer_channel, size_t slot) {
88 "slot=%zu silent=%d",
89 buffer_id(), producer_channel->buffer_id(), slot, silent_);
92 pending_buffer_slots_.emplace(producer_channel, slot);
84 RegisterNewBuffer( const std::shared_ptr<ProducerChannel>& producer_channel, size_t slot) argument
/frameworks/native/services/vr/virtual_touchpad/
H A DEvdevInjector.h105 int SendMultiTouchSlot(int32_t slot);
106 int SendMultiTouchXY(int32_t slot, int32_t id, int32_t x, int32_t y);
107 int SendMultiTouchLift(int32_t slot);
H A DEvdevInjector.cpp262 int EvdevInjector::SendMultiTouchSlot(int32_t slot) { argument
263 if (latest_slot_ != slot) {
264 if (const int status = SendAbs(ABS_MT_SLOT, slot)) {
267 latest_slot_ = slot;
272 int EvdevInjector::SendMultiTouchXY(int32_t slot, int32_t id, int32_t x, argument
274 if (const int status = SendMultiTouchSlot(slot)) {
289 int EvdevInjector::SendMultiTouchLift(int32_t slot) { argument
290 if (const int status = SendMultiTouchSlot(slot)) {
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBar.aidl30 void setIcon(String slot, in StatusBarIcon icon);
31 void removeIcon(String slot);
H A DIStatusBarService.aidl40 void setIcon(String slot, String iconPackage, int iconId, int iconLevel, String contentDescription);
41 void setIconVisibility(String slot, boolean visible);
42 void removeIcon(String slot);
/frameworks/base/rs/java/android/renderscript/
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);
/frameworks/compile/slang/
H A Dslang_rs_foreach_lowering.h57 int* slot,
/frameworks/native/cmds/installd/
H A DAndroid.mk41 # OTA slot script
60 # Let this depend on otapreopt, the chroot tool and the slot script, so we just have to mention one
/frameworks/rs/driver/
H A DrsdShaderCache.h59 int32_t vtxUniformSlot(uint32_t a) const {return mCurrent->vtxUniforms[a].slot;}
61 int32_t fragUniformSlot(uint32_t a) const {return mCurrent->fragUniforms[a].slot;}
92 int32_t slot; member in struct:RsdShaderCache::UniformData
96 int32_t slot; member in struct:RsdShaderCache::AttrData
H A DrsdShaderCache.cpp47 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
59 prog->getUniformName(ct).c_str(), data[ct].slot,
68 data[ct].slot = glGetUniformLocation(linkedID,
77 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
83 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
175 e->vtxAttrs[ct].slot =
180 vtx->getAttribName(ct).c_str(), e->vtxAttrs[ct].slot);
239 return mCurrent->vtxAttrs[ct].slot;
/frameworks/native/libs/vr/libdvr/
H A Ddvr_buffer.cpp44 write_buffer->slot != -1,
46 "buffer queue slot. This may indicate possible leaks, buffer_id=%d.",
75 read_buffer->slot != -1,
77 "buffer queue slot. This may indicate possible leaks, buffer_id=%d.",
/frameworks/native/libs/vr/libvrflinger/
H A Dacquired_buffer.cpp12 LocalHandle acquire_fence, std::size_t slot)
13 : buffer_(buffer), acquire_fence_(std::move(acquire_fence)), slot_(slot) {}
11 AcquiredBuffer(const std::shared_ptr<BufferConsumer>& buffer, LocalHandle acquire_fence, std::size_t slot) argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconControllerTest.java118 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, argument
127 protected StatusBarWifiView addSignalIcon(int index, String slot, WifiIconState state) { argument
134 protected StatusBarMobileView addMobileIcon(int index, String slot, MobileIconState state) { argument
153 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, argument
162 protected StatusBarWifiView addSignalIcon(int index, String slot, WifiIconState state) { argument
169 protected StatusBarMobileView addMobileIcon(int index, String slot, MobileIconState state) { argument
/frameworks/minikin/libs/minikin/
H A DWordBreaker.cpp49 Slot slot = std::move(*i); local
51 return slot;
59 void ICULineBreakerPoolImpl::release(ICULineBreakerPool::Slot&& slot) { argument
60 if (slot.breaker.get() == nullptr) {
61 return; // Already released slot. Do nothing.
65 // Pool is full. Move to local variable, so that the given slot will be released when the
67 Slot localSlot = std::move(slot);
70 mPool.push_front(std::move(slot));

Completed in 1061 milliseconds

123456789