Home
last modified time | relevance | path

Searched refs:getPixelFormat (Results 1 – 17 of 17) sorted by relevance

/aosp14/frameworks/base/cmds/screencap/
H A Dscreencap.cpp242 info.format = flinger2bitmapFormat(buffer->getPixelFormat()); in main()
246 info.stride = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in main()
267 uint32_t f = buffer->getPixelFormat(); in main()
/aosp14/frameworks/base/core/java/android/hardware/display/
H A DDisplayedContentSamplingAttributes.java46 public int getPixelFormat() { in getPixelFormat() method in DisplayedContentSamplingAttributes
/aosp14/frameworks/base/libs/hostgraphics/ui/
H A DGraphicBuffer.h41 PixelFormat getPixelFormat() const { return PIXEL_FORMAT_RGBA_8888; } in getPixelFormat() function
/aosp14/frameworks/base/core/jni/
H A Dandroid_hardware_HardwareBuffer.cpp154 buffer->getPixelFormat())); in android_hardware_HardwareBuffer_getFormat()
172 uint32_t bpp = bytesPerPixel(buffer->getPixelFormat()); in android_hardware_HardwareBuffer_estimateSize()
H A Dandroid_graphics_GraphicBuffer.cpp170 nativeBuffer.format = AHardwareBuffer_convertFromPixelFormat(buffer->getPixelFormat()); in android_graphics_GraphicBuffer_lockCanvas()
251 buffer->getPixelFormat(), (jint)buffer->getUsage(), reinterpret_cast<jlong>(wrapper)); in android_graphics_GraphicBuffer_createFromAHardwareBuffer()
/aosp14/frameworks/base/libs/hwui/tests/common/scenes/
H A DHwBitmapInCompositeShader.cpp46 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight(); in createContent()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DTaskSnapshotControllerTest.java181 assertEquals(pixelFormat, builder.getPixelFormat()); in testSnapshotBuilder()
268 assertNotEquals(PixelFormat.UNKNOWN, builder.getPixelFormat()); in testPrepareTaskSnapshot()
/aosp14/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp481 if (!isFormatOpaque(buffer->mGraphicBuffer->getPixelFormat())) { in Image_unlockIfLocked()
582 int bufferFormat = buffer->mGraphicBuffer->getPixelFormat(); in ImageReader_imageSetup()
734 buffer->mGraphicBuffer->getPixelFormat()); in Image_getLockedImage()
937 buffer->mGraphicBuffer->getPixelFormat(), readerHalFormat); in Image_getFormat()
H A Dandroid_media_Utils.cpp555 if (isFormatOpaque(buffer->getPixelFormat())) { in lockImageFromBuffer()
563 int format = buffer->getPixelFormat(); in lockImageFromBuffer()
H A Dandroid_media_ImageWriter.cpp934 if (!isFormatOpaque(buffer->getPixelFormat())) { in Image_unlockIfLocked()
985 PublicFormat publicFmt = mapHalFormatDataspaceToPublicFormat(buffer->getPixelFormat(), in Image_getFormat()
1035 buffer->getPixelFormat()); in Image_getLockedImage()
/aosp14/frameworks/base/core/java/android/window/
H A DTaskSnapshot.java412 public int getPixelFormat() {
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DAbsAppSnapshotController.java232 mHighResSnapshotScale, builder.getPixelFormat(), taskSize, builder); in createSnapshot()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DBrightnessTracker.java846 + " pixelFormat=0x" + Integer.toHexString(attributes.getPixelFormat())); in enableColorSampling()
849 if (attributes != null && attributes.getPixelFormat() == PixelFormat.HSV_888 in enableColorSampling()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplay.java1092 public int getPixelFormat() { in getPixelFormat() method in Display
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DBrightnessTrackerTest.java218 mInjector.mDefaultSamplingAttributes.getPixelFormat(), in testNoColorSampling_MissingComponent()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt50248 method @Deprecated public int getPixelFormat();