/frameworks/base/core/java/com/android/internal/statusbar/ |
StatusBarIconList.java | 25 private String[] mSlots; 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 = null [all...] |
/frameworks/native/libs/gui/ |
BufferQueue.cpp | 158 if (mSlots[i].mBufferState == BufferSlot::DEQUEUED) { 243 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { 245 slot, mSlots[slot].mBufferState); 248 mSlots[slot].mRequestBufferCalled = true; 249 *buf = mSlots[slot].mGraphicBuffer; 298 assert(mSlots[i].mBufferState == BufferSlot::FREE); 299 if (mSlots[i].mGraphicBuffer != NULL) { 310 const int state = mSlots[i].mBufferState; 325 mSlots[i].mFrameNumber < mSlots[found].mFrameNumber) [all...] |
ConsumerBase.cpp | 94 mSlots[slotIndex].mGraphicBuffer = 0; 95 mSlots[slotIndex].mFence = Fence::NO_FENCE; 96 mSlots[slotIndex].mFrameNumber = 0; 185 mSlots[item->mBuf].mGraphicBuffer = item->mGraphicBuffer; 188 mSlots[item->mBuf].mFrameNumber = item->mFrameNumber; 189 mSlots[item->mBuf].mFence = item->mFence; 213 if (!mSlots[slot].mFence.get()) { 214 mSlots[slot].mFence = fence; 218 mSlots[slot].mFence, fence); 223 mSlots[slot].mFence = fence [all...] |
CpuConsumer.cpp | 108 if (mSlots[buf].mGraphicBuffer->getPixelFormat() == 110 err = mSlots[buf].mGraphicBuffer->lockYCbCr( 122 err = mSlots[buf].mGraphicBuffer->lock( 146 ab.mGraphicBuffer = mSlots[buf].mGraphicBuffer; 150 nativeBuffer->width = mSlots[buf].mGraphicBuffer->getWidth(); 151 nativeBuffer->height = mSlots[buf].mGraphicBuffer->getHeight(); 152 nativeBuffer->format = mSlots[buf].mGraphicBuffer->getPixelFormat(); 155 mSlots[buf].mGraphicBuffer->getStride(); 205 mSlots[buf].mGraphicBuffer)) {
|
BufferItemConsumer.cpp | 74 item->mGraphicBuffer = mSlots[item->mBuf].mGraphicBuffer;
|
Surface.cpp | 194 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); 245 if (mSlots[i].buffer != NULL && 246 mSlots[i].buffer->handle == buffer->handle) { 660 mSlots[i].buffer = 0; 781 mSlots[i].dirtyRegion.clear(); 790 Region& dirtyRegion(mSlots[backBufferSlot].dirtyRegion);
|
GLConsumer.cpp | 248 err = releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); 376 mSlots[buf].mGraphicBuffer, item.mCrop); 393 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, 401 buf, mSlots[buf].mGraphicBuffer->handle); 418 mCurrentTextureBuf = mSlots[buf].mGraphicBuffer; [all...] |
/frameworks/av/media/libstagefright/ |
SurfaceMediaSource.cpp | 305 mSlots[item.mBuf].mGraphicBuffer = item.mGraphicBuffer; 307 mSlots[item.mBuf].mFrameNumber = item.mFrameNumber; 347 mSlots[item.mBuf].mGraphicBuffer = item.mGraphicBuffer; 349 mSlots[item.mBuf].mFrameNumber = item.mFrameNumber; 351 mCurrentBuffers.push_back(mSlots[mCurrentSlot].mGraphicBuffer); 358 passMetadataBuffer(buffer, mSlots[mCurrentSlot].mGraphicBuffer->handle); 408 if (mSlots[id].mGraphicBuffer == NULL) { 412 if (bufferHandle == mSlots[id].mGraphicBuffer->handle) { 414 mSlots[id].mGraphicBuffer->handle); 416 mBufferQueue->releaseBuffer(id, mSlots[id].mFrameNumber [all...] |
/frameworks/rs/ |
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)) {
|
rsScript.cpp | 27 mSlots = NULL; 34 if (mSlots) { 35 delete [] mSlots; 36 mSlots = NULL; 51 mSlots[slot].set(a);
|
rsScriptC.cpp | 111 if (mSlots[ct].get() && !mTypes[ct].get()) { 112 mTypes[ct].set(mSlots[ct]->getType()); 117 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); 376 mSlots = new ObjectBaseRef<Allocation>[mHal.info.exportedVariableCount];
|
rsScriptIntrinsic.cpp | 37 mSlots = new ObjectBaseRef<Allocation>[2];
|
rsScript.h | 129 ObjectBaseRef<Allocation> *mSlots;
|
/frameworks/base/graphics/java/android/renderscript/ |
ProgramFragmentFixedFunction.java | 162 Slot[] mSlots; 185 switch(mSlots[i].env) { 187 switch (mSlots[i].format) { 203 switch (mSlots[i].format) { 236 mSlots = new Slot[MAX_TEXTURE]; 259 mSlots[slot] = new Slot(env, fmt); 298 if(mSlots[i] != null) {
|
/frameworks/native/services/surfaceflinger/ |
SurfaceFlingerConsumer.cpp | 71 if (rejecter && rejecter->reject(mSlots[buf].mGraphicBuffer, item)) { 72 releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, EGL_NO_SYNC_KHR);
|
/frameworks/native/include/gui/ |
ConsumerBase.h | 197 // mSlots stores the buffers that have been allocated by the BufferQueue 204 Slot mSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
BufferQueue.h | 459 // mSlots is the array of buffer slots that must be mirrored on the 465 BufferSlot mSlots[NUM_BUFFER_SLOTS];
|
Surface.h | 170 // mSlots stores the buffers that have been allocated for each buffer slot. 176 BufferSlot mSlots[NUM_BUFFER_SLOTS];
|
/frameworks/av/include/media/stagefright/ |
SurfaceMediaSource.h | 154 // mSlots caches GraphicBuffers and frameNumbers from the buffer queue 155 SlotData mSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
FramebufferSurface.cpp | 118 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer;
|
VirtualDisplaySurface.cpp | 395 mFbFence = mSlots[item.mBuf].mFence;
|
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.cpp | 302 item.mGraphicBuffer = mSlots[item.mBuf].mGraphicBuffer;
|
/frameworks/base/services/input/ |
InputReader.h | 889 inline const Slot* getSlot(size_t index) const { return &mSlots[index]; } 893 Slot* mSlots; [all...] |
InputReader.cpp | [all...] |