Home
last modified time | relevance | path

Searched refs:gb (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/
DSliceCreator.java154 GridRowBuilder gb = new GridRowBuilder(b); in createWeather() local
155 gb.setPrimaryAction(primaryAction); in createWeather()
156 gb.addCell(new GridRowBuilder.CellBuilder(gb) in createWeather()
161 .addCell(new GridRowBuilder.CellBuilder(gb) in createWeather()
166 .addCell(new GridRowBuilder.CellBuilder(gb) in createWeather()
171 .addCell(new GridRowBuilder.CellBuilder(gb) in createWeather()
176 .addCell(new GridRowBuilder.CellBuilder(gb) in createWeather()
181 return b.addGridRow(gb).build(); in createWeather()
186 GridRowBuilder gb = new GridRowBuilder(b); in createGallery() local
188 gb.setSeeMoreAction(pi); in createGallery()
[all …]
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
DSampleSliceProvider.java173 .addGridRow(gb -> gb in createWeather()
247 GridRowBuilder gb = new GridRowBuilder(b); in createCatSlice() local
250 GridRowBuilder.CellBuilder cb = new GridRowBuilder.CellBuilder(gb); in createCatSlice()
255 gb.setSeeMoreCell(cb); in createCatSlice()
257 gb.setSeeMoreAction(pi); in createCatSlice()
259 gb.addCell(new GridRowBuilder.CellBuilder(gb) in createCatSlice()
263 .addCell(new GridRowBuilder.CellBuilder(gb) in createCatSlice()
267 .addCell(new GridRowBuilder.CellBuilder(gb) in createCatSlice()
271 .addCell(new GridRowBuilder.CellBuilder(gb) in createCatSlice()
275 .addCell(new GridRowBuilder.CellBuilder(gb) in createCatSlice()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3BufferManager.h125 status_t getBufferForStream(int streamId, int streamSetId, sp<GraphicBuffer>* gb, int* fenceFd);
204 explicit GraphicBufferEntry(const sp<GraphicBuffer>& gb = 0, int fd = -1) :
205 graphicBuffer(gb), in graphicBuffer()
DCamera3StreamSplitter.cpp401 sp<GraphicBuffer> gb(static_cast<GraphicBuffer*>(anb)); in attachBufferToOutputs() local
402 uint64_t bufferId = gb->getId(); in attachBufferToOutputs()
405 auto tracker = std::make_unique<BufferTracker>(gb, surface_ids); in attachBufferToOutputs()
413 int slot = getSlotForOutputLocked(gbp, gb); in attachBufferToOutputs()
423 res = gbp->attachBuffer(&slot, gb); in attachBufferToOutputs()
450 SP_LOGV("%s: Attached buffer %p to slot %d on output %p.",__FUNCTION__, gb.get(), in attachBufferToOutputs()
452 outputSlots[slot] = gb; in attachBufferToOutputs()
709 const sp<GraphicBuffer>& gb) { in getSlotForOutputLocked() argument
713 if (outputSlots[i] == gb) { in getSlotForOutputLocked()
718 SP_LOGV("%s: Cannot find slot for gb %p on output %p", __FUNCTION__, gb.get(), in getSlotForOutputLocked()
DCamera3OutputStream.cpp515 sp<GraphicBuffer> gb; in getBufferLockedCommon() local
516 res = mBufferManager->getBufferForStream(getId(), getStreamSetId(), &gb, fenceFd); in getBufferLockedCommon()
520 *anb = gb.get(); in getBufferLockedCommon()
754 for (const auto& gb : removedBuffers) { in onBuffersRemovedLocked() local
755 callback->onBufferFreed(mId, gb->handle); in onBuffersRemovedLocked()
DCamera3InputStream.cpp296 void Camera3InputStream::onBufferFreed(const wp<GraphicBuffer>& gb) { in onBufferFreed() argument
297 const sp<GraphicBuffer> buffer = gb.promote(); in onBufferFreed()
DCamera3BufferManager.cpp240 sp<GraphicBuffer>* gb, int* fenceFd) { in getBufferForStream() argument
301 *gb = buffer.graphicBuffer; in getBufferForStream()
DCamera3StreamSplitter.h219 const sp<GraphicBuffer>& gb);
/frameworks/av/services/camera/libcameraservice/api1/client2/
DZslProcessor.cpp388 sp<GraphicBuffer> gb; in doNotifyInputReleasedLocked() local
390 auto rc = mInputProducer->detachNextBuffer(&gb, &fence); in doNotifyInputReleasedLocked()
399 if (gb->handle != inputBuffer->handle) { in doNotifyInputReleasedLocked()
401 inputBuffer->handle, gb->handle); in doNotifyInputReleasedLocked()
/frameworks/rs/script_api/
Drs_value_types.spec57 <code>myVar.yz</code>, <code>myVar.gb</code>, <code>myVar.s12</code>, and <code>myVar.S12</code>.
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp617 GraphicBuffer *gb = reinterpret_cast<GraphicBuffer *> in Image_getNativeContext() local
619 *buffer = gb; in Image_getNativeContext()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java219 int gb = (b.getPixel(i, j) >> 8) & 0xff; in equalBitmaps() local
/frameworks/rs/script_api/include/
Drs_value_types.rsh59 * myVar.yz, myVar.gb, myVar.s12, and myVar.S12.