/frameworks/native/libs/gui/ |
H A D | BufferQueueCore.cpp | 68 mSlots(), 140 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); 144 (mSlots[s].mBufferState.isAcquired()) ? ">" : " ", s, 146 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), 147 buffer->handle, mSlots[s].mFrameNumber); 153 mSlots[s].mBufferState.string(), mSlots[s].mFrameNumber); 157 const sp<GraphicBuffer>& buffer(mSlots[s].mGraphicBuffer); 159 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), 160 buffer->handle, mSlots[ [all...] |
H A D | BufferQueueConsumer.cpp | 48 mSlots(core->mSlots), 68 if (mSlots[s].mBufferState.isAcquired()) { 153 // Front buffer is still in mSlots, so mark the slot as free 154 mSlots[front->mSlot].mBufferState.freeQueued(); 160 mSlots[front->mSlot].mBufferState.isFree()) { 161 mSlots[front->mSlot].mBufferState.mShared = false; 165 if (!mSlots[front->mSlot].mBufferState.isShared()) { 211 outBuffer->mGraphicBuffer = mSlots[slot].mGraphicBuffer; 222 outBuffer->mAcquireCalled = mSlots[slo [all...] |
H A D | BufferQueueProducer.cpp | 51 mSlots(core->mSlots), 84 } else if (!mSlots[slot].mBufferState.isDequeued()) { 86 "(state = %s)", slot, mSlots[slot].mBufferState.string()); 90 mSlots[slot].mRequestBufferCalled = true; 91 *buf = mSlots[slot].mGraphicBuffer; 120 if (mSlots[s].mBufferState.isDequeued()) { 262 if (mSlots[s].mBufferState.isDequeued()) { 265 if (mSlots[s].mBufferState.isAcquired()) { 413 const sp<GraphicBuffer>& buffer(mSlots[foun [all...] |
H A D | ConsumerBase.cpp | 99 mSlots[slotIndex].mGraphicBuffer = 0; 100 mSlots[slotIndex].mFence = Fence::NO_FENCE; 101 mSlots[slotIndex].mFrameNumber = 0; 356 if (mSlots[item->mSlot].mGraphicBuffer != NULL) { 359 mSlots[item->mSlot].mGraphicBuffer = item->mGraphicBuffer; 362 mSlots[item->mSlot].mFrameNumber = item->mFrameNumber; 363 mSlots[item->mSlot].mFence = item->mFence; 387 if (!mSlots[slot].mFence.get()) { 388 mSlots[slot].mFence = fence; 395 auto currentStatus = mSlots[slo [all...] |
H A D | BufferItemConsumer.cpp | 83 item->mGraphicBuffer = mSlots[item->mSlot].mGraphicBuffer; 110 if (listener != NULL && mSlots[slotIndex].mGraphicBuffer != NULL) { 113 listener->onBufferFreed(mSlots[slotIndex].mGraphicBuffer);
|
H A D | Surface.cpp | 499 sp<GraphicBuffer>& gbuf(mSlots[mSharedBufferSlot].buffer); 537 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); 618 if (mSlots[i].buffer != NULL && 619 mSlots[i].buffer->handle == buffer->handle) { 1292 if (mSlots[i].buffer != NULL && 1293 mSlots[i].buffer->getId() == buffer->getId()) { 1295 mRemovedBuffers.push_back(mSlots[i].buffer); 1297 mSlots[i].buffer = NULL; 1324 if (mReportRemovedBuffers && (mSlots[attachedSlot].buffer != nullptr)) { 1325 mRemovedBuffers.push_back(mSlots[attachedSlo [all...] |
H A D | GLConsumer.cpp | 287 err = releaseBufferLocked(buf, mSlots[buf].mGraphicBuffer, mEglDisplay, EGL_NO_SYNC_KHR); 391 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, 399 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, 413 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, 426 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer, 435 slot, mSlots[slot].mGraphicBuffer->handle);
|
H A D | CpuConsumer.cpp | 176 b.mGraphicBuffer = mSlots[b.mSlot].mGraphicBuffer;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarIconList.java | 30 private ArrayList<Slot> mSlots = new ArrayList<>(); field in class:StatusBarIconList 35 mSlots.add(new Slot(slots[i], null)); 40 final int N = mSlots.size(); 42 Slot item = mSlots.get(i); 48 mSlots.add(0, new Slot(slot, null)); 53 return new ArrayList<>(mSlots); 57 return mSlots.get(getSlotIndex(name)); 61 return mSlots.size(); 65 mSlots.get(index).addHolder(holder); 69 mSlots [all...] |
/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/support/car/src/main/java/androidx/car/widget/ |
H A D | ActionBar.java | 69 private FrameLayout[] mSlots; field in class:ActionBar 140 mSlots = new FrameLayout[mNumColumns * mNumRows]; 153 mSlots[pos] = (FrameLayout) inflate(context, R.layout.action_bar_slot, null); 154 mSlots[pos].setLayoutParams(new LinearLayout.LayoutParams(0, 156 mRow.addView(mSlots[pos]); 172 * Returns an index in the {@link #mSlots} array, given a well-known slot position. 242 int totalSlots = mSlots.length; 273 setView(viewToUse, mSlots[i]); 296 mSlots[getSlotIndex(SLOT_EXPAND_COLLAPSE)].setActivated(mIsExpanded);
|
/frameworks/rs/ |
H A D | rsScriptIntrinsic.cpp | 37 mSlots = new ObjectBaseRef<Allocation>[2];
|
H A D | rsScript.cpp | 27 mSlots = nullptr; 35 if (mSlots) { 36 delete [] mSlots; 37 mSlots = nullptr; 54 mSlots[slot].set(a);
|
H A D | rsScriptC.cpp | 119 if (mSlots[ct].get() && !mTypes[ct].get()) { 120 mTypes[ct].set(mSlots[ct]->getType()); 125 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); 433 mSlots = new ObjectBaseRef<Allocation>[mHal.info.exportedVariableCount];
|
H A D | rsScript.h | 157 ObjectBaseRef<Allocation> *mSlots; member in class:android::renderscript::Script
|
/frameworks/native/include/gui/ |
H A D | BufferQueueConsumer.h | 177 // This references mCore->mSlots. Lock mCore->mMutex while accessing. 178 BufferQueueDefs::SlotsType& mSlots; member in class:android::BufferQueueConsumer
|
H A D | ConsumerBase.h | 234 // mSlots stores the buffers that have been allocated by the BufferQueue 241 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS]; member in class:android::ConsumerBase
|
H A D | BufferQueueCore.h | 140 // the information stored in mSlots 194 // mSlots is an array of buffer slots that must be mirrored on the producer 199 BufferQueueDefs::SlotsType mSlots; member in class:android::BufferQueueCore
|
H A D | BufferQueueProducer.h | 217 // This references mCore->mSlots. Lock mCore->mMutex while accessing. 218 BufferQueueDefs::SlotsType& mSlots; member in class:android::BufferQueueProducer
|
/frameworks/native/libs/gui/include/gui/ |
H A D | BufferQueueConsumer.h | 177 // This references mCore->mSlots. Lock mCore->mMutex while accessing. 178 BufferQueueDefs::SlotsType& mSlots; member in class:android::BufferQueueConsumer
|
H A D | ConsumerBase.h | 234 // mSlots stores the buffers that have been allocated by the BufferQueue 241 Slot mSlots[BufferQueueDefs::NUM_BUFFER_SLOTS]; member in class:android::ConsumerBase
|
H A D | BufferQueueCore.h | 140 // the information stored in mSlots 194 // mSlots is an array of buffer slots that must be mirrored on the producer 199 BufferQueueDefs::SlotsType mSlots; member in class:android::BufferQueueCore
|
H A D | BufferQueueProducer.h | 217 // This references mCore->mSlots. Lock mCore->mMutex while accessing. 218 BufferQueueDefs::SlotsType& mSlots; member in class:android::BufferQueueProducer
|
/frameworks/native/services/surfaceflinger/ |
H A D | BufferLayerConsumer.cpp | 198 if (rejecter && rejecter->reject(mSlots[slot].mGraphicBuffer, item)) { 199 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer); 305 releaseBufferLocked(slot, mSlots[slot].mGraphicBuffer); 312 slot, mSlots[slot].mGraphicBuffer->handle);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | FramebufferSurface.cpp | 138 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer;
|