/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
StatusBarIconList.java | 25 private ArrayList<String> mSlots = new ArrayList<>(); 31 mSlots.add(slots[i]); 37 final int N = mSlots.size(); 39 if (slot.equals(mSlots.get(i))) { 44 mSlots.add(0, slot); 50 return mSlots.size(); 62 return mSlots.get(index); 80 final int N = mSlots.size(); 83 pw.printf(" %2d: (%s) %s\n", i, mSlots.get(i), mIcons.get(i));
|
/frameworks/native/libs/gui/ |
BufferQueueCore.cpp | 63 mSlots(), 139 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); 144 (mSlots[s].mBufferState.isAcquired()) ? ">" : " ", s, 145 buffer.get(), mSlots[s].mBufferState.string(), 150 buffer.get(), mSlots[s].mBufferState.string()); 154 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); 156 prefix, s, buffer.get(), mSlots[s].mBufferState.string(), 162 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); 164 buffer.get(), mSlots[s].mBufferState.string()); 203 mSlots[slot].mGraphicBuffer.clear() [all...] |
BufferQueueConsumer.cpp | 43 mSlots(core->mSlots), 63 if (mSlots[s].mBufferState.isAcquired()) { 148 // Front buffer is still in mSlots, so mark the slot as free 149 mSlots[front->mSlot].mBufferState.freeQueued(); 155 mSlots[front->mSlot].mBufferState.isFree()) { 156 mSlots[front->mSlot].mBufferState.mShared = false; 160 if (!mSlots[front->mSlot].mBufferState.isShared()) { 206 outBuffer->mGraphicBuffer = mSlots[slot].mGraphicBuffer; 216 outBuffer->mAcquireCalled = mSlots[slot].mAcquireCalled [all...] |
BufferQueueProducer.cpp | 47 mSlots(core->mSlots), 78 } else if (!mSlots[slot].mBufferState.isDequeued()) { 80 "(state = %s)", slot, mSlots[slot].mBufferState.string()); 84 mSlots[slot].mRequestBufferCalled = true; 85 *buf = mSlots[slot].mGraphicBuffer; 114 if (mSlots[s].mBufferState.isDequeued()) { 256 if (mSlots[s].mBufferState.isDequeued()) { 259 if (mSlots[s].mBufferState.isAcquired()) { 407 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer) [all...] |
ConsumerBase.cpp | 97 mSlots[slotIndex].mGraphicBuffer = 0; 98 mSlots[slotIndex].mFence = Fence::NO_FENCE; 99 mSlots[slotIndex].mFrameNumber = 0; 287 mSlots[item->mSlot].mGraphicBuffer = item->mGraphicBuffer; 290 mSlots[item->mSlot].mFrameNumber = item->mFrameNumber; 291 mSlots[item->mSlot].mFence = item->mFence; 315 if (!mSlots[slot].mFence.get()) { 316 mSlots[slot].mFence = fence; 320 mSlots[slot].mFence, fence); 325 mSlots[slot].mFence = fence [all...] |
CpuConsumer.cpp | 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( 178 ab.mGraphicBuffer = mSlots[slot].mGraphicBuffer; 182 nativeBuffer->width = mSlots[slot].mGraphicBuffer->getWidth(); 183 nativeBuffer->height = mSlots[slot].mGraphicBuffer->getHeight(); 188 mSlots[slot].mGraphicBuffer->getStride(); 238 mSlots[buf].mGraphicBuffer [all...] |
BufferItemConsumer.cpp | 85 item->mGraphicBuffer = mSlots[item->mSlot].mGraphicBuffer;
|
Surface.cpp | 286 sp<GraphicBuffer>& gbuf(mSlots[mSharedBufferSlot].buffer); 311 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); 385 if (mSlots[i].buffer != NULL && 386 mSlots[i].buffer->handle == buffer->handle) { 899 if (mSlots[i].buffer != NULL && 900 mSlots[i].buffer->handle == buffer->handle) { 901 mSlots[i].buffer = NULL; 926 mSlots[attachedSlot].buffer = graphicBuffer; [all...] |
GLConsumer.cpp | 308 err = releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); 410 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, 418 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, 432 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, 445 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, 454 slot, mSlots[slot].mGraphicBuffer->handle); [all...] |
/frameworks/base/rs/java/android/renderscript/ |
ProgramFragmentFixedFunction.java | 159 Slot[] mSlots; 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/rs/ |
rsGrallocConsumer.cpp | 114 if (mSlots[slot].mGraphicBuffer->getPixelFormat() == 116 err = mSlots[slot].mGraphicBuffer->lockYCbCr( 128 err = mSlots[slot].mGraphicBuffer->lock( 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()); 158 //mAlloc->format = mSlots[buf].mGraphicBuffer->getPixelFormat(); 176 if (mSlots[slot].mGraphicBuffer->getPixelFormat() == 197 } else if (mSlots[slot].mGraphicBuffer->getPixelFormat() = [all...] |
rsScriptIntrinsic.cpp | 37 mSlots = new ObjectBaseRef<Allocation>[2];
|
rsScript.cpp | 27 mSlots = nullptr; 35 if (mSlots) { 36 delete [] mSlots; 37 mSlots = nullptr; 54 mSlots[slot].set(a);
|
rsScript.h | 157 ObjectBaseRef<Allocation> *mSlots;
|
rsScriptC.cpp | 127 if (mSlots[ct].get() && !mTypes[ct].get()) { 128 mTypes[ct].set(mSlots[ct]->getType()); 133 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); 453 mSlots = new ObjectBaseRef<Allocation>[mHal.info.exportedVariableCount];
|
/frameworks/av/media/libstagefright/ |
SurfaceMediaSource.cpp | 302 mSlots[item.mSlot].mGraphicBuffer = item.mGraphicBuffer; 304 mSlots[item.mSlot].mFrameNumber = item.mFrameNumber; 344 mSlots[item.mSlot].mGraphicBuffer = item.mGraphicBuffer; 346 mSlots[item.mSlot].mFrameNumber = item.mFrameNumber; 348 mCurrentBuffers.push_back(mSlots[mCurrentSlot].mGraphicBuffer); 355 passMetadataBuffer_l(buffer, mSlots[mCurrentSlot].mGraphicBuffer->getNativeBuffer()); 405 if (mSlots[id].mGraphicBuffer == NULL) { 409 if (bufferHandle == mSlots[id].mGraphicBuffer->handle) { 411 mSlots[id].mGraphicBuffer->handle); 413 mConsumer->releaseBuffer(id, mSlots[id].mFrameNumber [all...] |
/frameworks/native/services/surfaceflinger/ |
SurfaceFlingerConsumer.cpp | 77 if (rejecter && rejecter->reject(mSlots[slot].mGraphicBuffer, item)) { 78 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, EGL_NO_SYNC_KHR);
|
/frameworks/av/include/media/stagefright/ |
SurfaceMediaSource.h | 163 // mSlots caches GraphicBuffers and frameNumbers from the buffer queue 164 SlotData mSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/include/gui/ |
BufferQueueConsumer.h | 171 // This references mCore->mSlots. Lock mCore->mMutex while accessing. 172 BufferQueueDefs::SlotsType& mSlots;
|
BufferQueueProducer.h | 211 // This references mCore->mSlots. Lock mCore->mMutex while accessing. 212 BufferQueueDefs::SlotsType& mSlots;
|
ConsumerBase.h | 218 // mSlots stores the buffers that have been allocated by the BufferQueue 225 Slot mSlots[BufferQueue::NUM_BUFFER_SLOTS];
|
BufferQueueCore.h | 142 // the information stored in mSlots 192 // mSlots is an array of buffer slots that must be mirrored on the producer 197 BufferQueueDefs::SlotsType mSlots;
|
Surface.h | 255 // mSlots stores the buffers that have been allocated for each buffer slot. 261 BufferSlot mSlots[NUM_BUFFER_SLOTS];
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
FramebufferSurface.cpp | 169 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer;
|
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.cpp | 319 item.mGraphicBuffer = mSlots[item.mSlot].mGraphicBuffer;
|