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

/frameworks/base/core/java/com/android/internal/statusbar/
H A DStatusBarIconList.java25 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...]
/frameworks/native/libs/gui/
H A DBufferQueue.cpp161 if (mSlots[i].mBufferState == BufferSlot::DEQUEUED) {
245 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) {
250 slot, mSlots[slot].mBufferState);
253 mSlots[slot].mRequestBufferCalled = true;
254 *buf = mSlots[slot].mGraphicBuffer;
295 assert(mSlots[i].mBufferState == BufferSlot::FREE);
296 if (mSlots[i].mGraphicBuffer != NULL) {
306 const int state = mSlots[i].mBufferState;
318 mSlots[i].mFrameNumber < mSlots[foun
[all...]
H A DConsumerBase.cpp86 mSlots[slotIndex].mGraphicBuffer = 0;
87 mSlots[slotIndex].mFence = 0;
185 mSlots[item->mBuf].mGraphicBuffer = item->mGraphicBuffer;
188 mSlots[item->mBuf].mFence = item->mFence;
203 if (!mSlots[slot].mFence.get()) {
204 mSlots[slot].mFence = fence;
208 mSlots[slot].mFence, fence);
213 mSlots[slot].mFence = fence;
216 mSlots[slot].mFence = mergedFence;
226 mSlots[slo
[all...]
H A DCpuConsumer.cpp89 err = mSlots[buf].mGraphicBuffer->lock(
101 nativeBuffer->width = mSlots[buf].mGraphicBuffer->getWidth();
102 nativeBuffer->height = mSlots[buf].mGraphicBuffer->getHeight();
103 nativeBuffer->format = mSlots[buf].mGraphicBuffer->getPixelFormat();
104 nativeBuffer->stride = mSlots[buf].mGraphicBuffer->getStride();
132 err = mSlots[slotIndex].mGraphicBuffer->unlock();
149 err = mSlots[slotIndex].mGraphicBuffer->unlock();
H A DBufferItemConsumer.cpp74 item->mGraphicBuffer = mSlots[item->mBuf].mGraphicBuffer;
H A DSurfaceTextureClient.cpp213 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer);
261 if (mSlots[i].buffer != NULL &&
262 mSlots[i].buffer->handle == buffer->handle) {
672 mSlots[i].buffer = 0;
793 mSlots[i].dirtyRegion.clear();
802 Region& dirtyRegion(mSlots[backBufferSlot].dirtyRegion);
H A DSurfaceTexture.cpp178 EGLImageKHR image = createImage(mEglDisplay, mSlots[slot].mGraphicBuffer);
245 if (rejecter && rejecter->reject(mSlots[buf].mGraphicBuffer, item)) {
280 buf, mSlots[buf].mGraphicBuffer->handle);
295 mCurrentTextureBuf = mSlots[buf].mGraphicBuffer;
/frameworks/base/graphics/java/android/renderscript/
H A DProgramFragmentFixedFunction.java161 Slot[] mSlots; field in class:ProgramFragmentFixedFunction.Builder
184 switch(mSlots[i].env) {
186 switch (mSlots[i].format) {
202 switch (mSlots[i].format) {
235 mSlots = new Slot[MAX_TEXTURE];
258 mSlots[slot] = new Slot(env, fmt);
297 if(mSlots[i] != null) {
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptC.cpp45 if (mSlots[ct].get() && !mTypes[ct].get()) {
46 mTypes[ct].set(mSlots[ct]->getType());
51 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get());
177 mSlots = new ObjectBaseRef<Allocation>[mHal.info.exportedVariableCount];
H A DrsScript.cpp27 mSlots = NULL;
33 if (mSlots) {
34 delete [] mSlots;
35 mSlots = NULL;
50 mSlots[slot].set(a);
H A DrsScriptIntrinsic.cpp33 mSlots = new ObjectBaseRef<Allocation>[2];
H A DrsScript.h108 ObjectBaseRef<Allocation> *mSlots; member in class:android::renderscript::Script
/frameworks/rs/
H A DrsScript.cpp27 mSlots = NULL;
33 if (mSlots) {
34 delete [] mSlots;
35 mSlots = NULL;
50 mSlots[slot].set(a);
H A DrsScriptC.cpp98 if (mSlots[ct].get() && !mTypes[ct].get()) {
99 mTypes[ct].set(mSlots[ct]->getType());
104 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get());
331 mSlots = new ObjectBaseRef<Allocation>[mHal.info.exportedVariableCount];
H A DrsScriptIntrinsic.cpp33 mSlots = new ObjectBaseRef<Allocation>[2];
H A DrsScript.h118 ObjectBaseRef<Allocation> *mSlots; member in class:android::renderscript::Script
/frameworks/native/include/gui/
H A DConsumerBase.h179 // mSlots stores the buffers that have been allocated by the BufferQueue
186 Slot mSlots[BufferQueue::NUM_BUFFER_SLOTS]; member in class:android::ConsumerBase
H A DSurfaceTextureClient.h140 // mSlots stores the buffers that have been allocated for each buffer slot.
146 BufferSlot mSlots[NUM_BUFFER_SLOTS]; member in class:android::SurfaceTextureClient
H A DBufferQueue.h443 // mSlots is the array of buffer slots that must be mirrored on the client
448 BufferSlot mSlots[NUM_BUFFER_SLOTS]; member in class:android::BufferQueue
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp103 mCurrentBuffer = mSlots[mCurrentBufferSlot].mGraphicBuffer;
/frameworks/base/services/input/
H A DInputReader.h883 inline const Slot* getSlot(size_t index) const { return &mSlots[index]; }
887 Slot* mSlots; member in class:android::MultiTouchMotionAccumulator
H A DInputReader.cpp1539 mCurrentSlot(-1), mSlots(NULL), mSlotCount(0), mUsingSlotsProtocol(false),
1544 delete[] mSlots;
1553 delete[] mSlots;
1554 mSlots = new Slot[slotCount];
1584 if (mSlots) {
1586 mSlots[i].clear();
1613 Slot* slot = &mSlots[mCurrentSlot];

Completed in 319 milliseconds