/frameworks/rs/ |
H A D | rsGrallocConsumer.cpp | 93 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == 95 err = mSlots[buf].mGraphicBuffer->lockYCbCr( 107 err = mSlots[buf].mGraphicBuffer->lock( 124 mAcquiredBuffer.mGraphicBuffer = mSlots[buf].mGraphicBuffer; 127 mAlloc->mHal.drvState.lod[0].stride = mSlots[buf].mGraphicBuffer->getStride() * 133 mSlots[buf].mGraphicBuffer->getWidth()); 135 mSlots[buf].mGraphicBuffer->getHeight()); 137 //mAlloc->format = mSlots[buf].mGraphicBuffer->getPixelFormat(); 178 mSlots[buf].mGraphicBuffer)) {
|
H A D | rsScript.cpp | 27 mSlots = NULL; 34 if (mSlots) { 35 delete [] mSlots; 36 mSlots = NULL; 51 mSlots[slot].set(a);
|
H A D | rsScript.h | 140 ObjectBaseRef<Allocation> *mSlots; member in class:android::renderscript::Script
|
H A D | rsScriptC.cpp | 105 if (mSlots[ct].get() && !mTypes[ct].get()) { 106 mTypes[ct].set(mSlots[ct]->getType()); 111 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); 365 mSlots = new ObjectBaseRef<Allocation>[mHal.info.exportedVariableCount];
|
H A D | rsScriptIntrinsic.cpp | 37 mSlots = new ObjectBaseRef<Allocation>[2];
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 1553 mCurrentSlot(-1), mSlots(NULL), mSlotCount(0), mUsingSlotsProtocol(false), 1558 delete[] mSlots; 1567 delete[] mSlots; 1568 mSlots = new Slot[slotCount]; 1598 if (mSlots) { 1600 mSlots[i].clear(); 1627 Slot* slot = &mSlots[mCurrentSlot];
|
H A D | InputReader.h | 922 inline const Slot* getSlot(size_t index) const { return &mSlots[index]; } 926 Slot* mSlots; member in class:android::MultiTouchMotionAccumulator
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | FramebufferSurface.cpp | 118 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer;
|
H A D | VirtualDisplaySurface.cpp | 446 mFbFence = mSlots[item.mBuf].mFence;
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlingerConsumer.cpp | 73 if (rejecter && rejecter->reject(mSlots[buf].mGraphicBuffer, item)) { 74 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, EGL_NO_SYNC_KHR);
|
/frameworks/native/include/gui/ |
H A D | BufferQueueConsumer.h | 170 // This references mCore->mSlots. Lock mCore->mMutex while accessing. 171 BufferQueueDefs::SlotsType& mSlots; member in class:android::BufferQueueConsumer
|
H A D | BufferQueueCore.h | 170 // mSlots is an array of buffer slots that must be mirrored on the producer 175 BufferQueueDefs::SlotsType mSlots; member in class:android::BufferQueueCore
|
H A D | BufferQueueProducer.h | 190 // This references mCore->mSlots. Lock mCore->mMutex while accessing. 191 BufferQueueDefs::SlotsType& mSlots; member in class:android::BufferQueueProducer
|
H A D | ConsumerBase.h | 200 // mSlots stores the buffers that have been allocated by the BufferQueue 207 Slot mSlots[BufferQueue::NUM_BUFFER_SLOTS]; member in class:android::ConsumerBase
|
H A D | Surface.h | 196 // mSlots stores the buffers that have been allocated for each buffer slot. 202 BufferSlot mSlots[NUM_BUFFER_SLOTS]; member in class:android::Surface
|
/frameworks/native/libs/gui/ |
H A D | BufferItemConsumer.cpp | 81 item->mGraphicBuffer = mSlots[item->mBuf].mGraphicBuffer;
|
H A D | BufferQueueConsumer.cpp | 33 mSlots(core->mSlots), 49 if (mSlots[s].mBufferState == BufferSlot::ACQUIRED) { 121 // Front buffer is still in mSlots, so mark the slot as free 122 mSlots[front->mSlot].mBufferState = BufferSlot::FREE; 154 mSlots[slot].mAcquireCalled = true; 155 mSlots[slot].mNeedsCleanupOnRelease = false; 156 mSlots[slot].mBufferState = BufferSlot::ACQUIRED; 157 mSlots[slot].mFence = Fence::NO_FENCE; 194 } else if (mSlots[slo [all...] |
H A D | BufferQueueCore.cpp | 54 mSlots(), 107 const BufferSlot& slot(mSlots[s]); 116 const BufferSlot& slot(mSlots[s]); 165 BufferSlot::BufferState state = mSlots[s].mBufferState; 192 mSlots[slot].mGraphicBuffer.clear(); 193 if (mSlots[slot].mBufferState == BufferSlot::ACQUIRED) { 194 mSlots[slot].mNeedsCleanupOnRelease = true; 196 mSlots[slot].mBufferState = BufferSlot::FREE; 197 mSlots[slot].mFrameNumber = UINT32_MAX; 198 mSlots[slo [all...] |
H A D | BufferQueueProducer.cpp | 39 mSlots(core->mSlots), 59 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { 61 "(state = %d)", slot, mSlots[slot].mBufferState); 65 mSlots[slot].mRequestBufferCalled = true; 66 *buf = mSlots[slot].mGraphicBuffer; 92 if (mSlots[s].mBufferState == BufferSlot::DEQUEUED) { 152 assert(mSlots[s].mBufferState == BufferSlot::FREE); 153 if (mSlots[s].mGraphicBuffer != NULL) { 164 switch (mSlots[ [all...] |
H A D | ConsumerBase.cpp | 96 mSlots[slotIndex].mGraphicBuffer = 0; 97 mSlots[slotIndex].mFence = Fence::NO_FENCE; 98 mSlots[slotIndex].mFrameNumber = 0; 190 mSlots[item->mBuf].mGraphicBuffer = item->mGraphicBuffer; 193 mSlots[item->mBuf].mFrameNumber = item->mFrameNumber; 194 mSlots[item->mBuf].mFence = item->mFence; 218 if (!mSlots[slot].mFence.get()) { 219 mSlots[slot].mFence = fence; 223 mSlots[slot].mFence, fence); 228 mSlots[slo [all...] |
H A D | CpuConsumer.cpp | 100 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == 102 err = mSlots[buf].mGraphicBuffer->lockAsyncYCbCr( 115 err = mSlots[buf].mGraphicBuffer->lockAsync( 128 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == 130 err = mSlots[buf].mGraphicBuffer->lockYCbCr( 142 err = mSlots[buf].mGraphicBuffer->lock( 167 ab.mGraphicBuffer = mSlots[buf].mGraphicBuffer; 171 nativeBuffer->width = mSlots[buf].mGraphicBuffer->getWidth(); 172 nativeBuffer->height = mSlots[buf].mGraphicBuffer->getHeight(); 173 nativeBuffer->format = mSlots[bu [all...] |
H A D | GLConsumer.cpp | 275 err = releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); 374 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, 382 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, 396 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, 408 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, 416 buf, mSlots[buf].mGraphicBuffer->handle);
|
H A D | Surface.cpp | 227 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); 279 if (mSlots[i].buffer != NULL && 280 mSlots[i].buffer->handle == buffer->handle) { 736 mSlots[i].buffer = 0; 848 mSlots[i].dirtyRegion.clear(); 857 Region& dirtyRegion(mSlots[backBufferSlot].dirtyRegion);
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramFragmentFixedFunction.java | 159 Slot[] mSlots; field in class:ProgramFragmentFixedFunction.Builder 182 switch(mSlots[i].env) { 184 switch (mSlots[i].format) { 200 switch (mSlots[i].format) { 233 mSlots = new Slot[MAX_TEXTURE]; 256 mSlots[slot] = new Slot(env, fmt); 295 if(mSlots[i] != null) {
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | StatusBarIconList.java | 25 private String[] mSlots; field in class:StatusBarIconList 36 this.mSlots = in.readStringArray(); 51 out.writeStringArray(mSlots); 92 String[] s = mSlots = new String[N]; 100 final int N = mSlots.length; 102 if (slot.equals(mSlots[i])) { 110 return mSlots.length; 122 return mSlots[index]; 140 if (that.mSlots == null) { 141 this.mSlots [all...] |