Searched refs:mSlots (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp68 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 DBufferQueueConsumer.cpp48 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 DBufferQueueProducer.cpp51 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 DConsumerBase.cpp99 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 DBufferItemConsumer.cpp83 item->mGraphicBuffer = mSlots[item->mSlot].mGraphicBuffer;
110 if (listener != NULL && mSlots[slotIndex].mGraphicBuffer != NULL) {
113 listener->onBufferFreed(mSlots[slotIndex].mGraphicBuffer);
H A DSurface.cpp499 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 DGLConsumer.cpp287 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 DCpuConsumer.cpp176 b.mGraphicBuffer = mSlots[b.mSlot].mGraphicBuffer;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconList.java30 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 DProgramFragmentFixedFunction.java159 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 DActionBar.java69 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 DrsScriptIntrinsic.cpp37 mSlots = new ObjectBaseRef<Allocation>[2];
H A DrsScript.cpp27 mSlots = nullptr;
35 if (mSlots) {
36 delete [] mSlots;
37 mSlots = nullptr;
54 mSlots[slot].set(a);
H A DrsScriptC.cpp119 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 DrsScript.h157 ObjectBaseRef<Allocation> *mSlots; member in class:android::renderscript::Script
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h177 // This references mCore->mSlots. Lock mCore->mMutex while accessing.
178 BufferQueueDefs::SlotsType& mSlots; member in class:android::BufferQueueConsumer
H A DConsumerBase.h234 // 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 DBufferQueueCore.h140 // 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 DBufferQueueProducer.h217 // 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 DBufferQueueConsumer.h177 // This references mCore->mSlots. Lock mCore->mMutex while accessing.
178 BufferQueueDefs::SlotsType& mSlots; member in class:android::BufferQueueConsumer
H A DConsumerBase.h234 // 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 DBufferQueueCore.h140 // 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 DBufferQueueProducer.h217 // This references mCore->mSlots. Lock mCore->mMutex while accessing.
218 BufferQueueDefs::SlotsType& mSlots; member in class:android::BufferQueueProducer
/frameworks/native/services/surfaceflinger/
H A DBufferLayerConsumer.cpp198 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 DFramebufferSurface.cpp138 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer;

Completed in 281 milliseconds

12