Home
last modified time | relevance | path

Searched refs:getColorSpace (Results 1 – 25 of 80) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/graphics/
DImageDecoderTest.java48 assertThat(info.getColorSpace()).isNotNull(); in onDecodeHeader_png_returnsPopulatedData()
49 assertThat(info.getColorSpace().getModel()).isEqualTo(ColorSpace.Model.RGB); in onDecodeHeader_png_returnsPopulatedData()
50 assertThat(info.getColorSpace().getId()).isEqualTo(0); in onDecodeHeader_png_returnsPopulatedData()
62 assertThat(info.getColorSpace()).isNotNull(); in onDecodeHeader_animatedWebP_returnsPopulatedData()
63 assertThat(info.getColorSpace().getModel()).isEqualTo(ColorSpace.Model.RGB); in onDecodeHeader_animatedWebP_returnsPopulatedData()
64 assertThat(info.getColorSpace().getId()).isEqualTo(0); in onDecodeHeader_animatedWebP_returnsPopulatedData()
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DCamera2SessionConfigImplBuilder.java82 public int getColorSpace() { in getColorSpace() method in Camera2SessionConfigImplBuilder
132 mColorSpace = builder.getColorSpace(); in Camera2SessionConfigImplImpl()
158 public int getColorSpace() { in getColorSpace() method in Camera2SessionConfigImplBuilder.Camera2SessionConfigImplImpl
DOutputSurfaceConfigurationImpl.java42 default int getColorSpace() { in getColorSpace() method
DCamera2SessionConfigImpl.java65 default int getColorSpace() { in getColorSpace() method
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/
DCamera2SessionConfigImplBuilder.java82 public int getColorSpace() { in getColorSpace() method in Camera2SessionConfigImplBuilder
132 mColorSpace = builder.getColorSpace(); in Camera2SessionConfigImplImpl()
158 public int getColorSpace() { in getColorSpace() method in Camera2SessionConfigImplBuilder.Camera2SessionConfigImplImpl
DOutputSurfaceConfigurationImpl.java42 default int getColorSpace() { in getColorSpace() method
DCamera2SessionConfigImpl.java66 default int getColorSpace() { in getColorSpace() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/
DScreenshotHardwareBufferInternal.java52 screenshotHardwareBuffer.getColorSpace()); in ScreenshotHardwareBufferInternal()
70 mParcelableColorSpace.getColorSpace()); in createBitmapThenCloseBuffer()
/frameworks/base/core/java/com/android/internal/util/
DScreenshotRequest.java298 bitmap.getColorSpace() == null in hardwareBitmapToBundle()
300 : new ParcelableColorSpace(bitmap.getColorSpace()); in hardwareBitmapToBundle()
332 colorSpace.getColorSpace()); in bundleToHardwareBitmap()
/frameworks/base/graphics/java/android/graphics/
DYuvImage.java333 !isSupportedJpegRColorSpace(false, sdr.getColorSpace().getId())) { in compressToJpegR()
340 sdr.getYuvData(), sdr.getColorSpace().getDataSpace(), in compressToJpegR()
386 public @NonNull ColorSpace getColorSpace() { return mColorSpace; } in getColorSpace() method in YuvImage
DColor.java378 public ColorSpace getColorSpace() { in getColorSpace() method in Color
402 return getColorSpace().isWideGamut(); in isWideGamut()
414 return getColorSpace().isSrgb(); in isSrgb()
DParcelableColorSpace.java79 public @NonNull ColorSpace getColorSpace() { in getColorSpace() method in ParcelableColorSpace
DBitmap.java979 ColorSpace cs = source.getColorSpace(); in createBitmap()
1974 public final ColorSpace getColorSpace() { in getColorSpace() method in Bitmap
2019 final ColorSpace oldColorSpace = getColorSpace(); in setColorSpace()
2025 final ColorSpace newColorSpace = getColorSpace(); in setColorSpace()
2159 final ColorSpace cs = getColorSpace(); in getColor()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DCanvasPerfTest.java119 assertEquals(source.getColorSpace().getId(), ColorSpace.Named.SRGB.ordinal()); in testCreateScaledSrgbBitmap()
140 assertEquals(source.getColorSpace().getId(), ColorSpace.Named.DISPLAY_P3.ordinal()); in testCreateScaledP3Bitmap()
/frameworks/base/libs/hwui/renderthread/
DHardwareBufferRenderParams.h48 sk_sp<SkColorSpace> getColorSpace() const { return mColorSpace; } in getColorSpace() function
/frameworks/base/core/java/android/hardware/camera2/extension/
DCameraOutputSurface.java122 public int getColorSpace() { in getColorSpace() method in CameraOutputSurface
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DScreenshotUtils.java78 mTransaction.setColorSpace(mScreenshot, buffer.getColorSpace()); in accept()
/frameworks/base/core/java/android/hardware/camera2/params/
DExtensionSessionConfiguration.java172 public @Nullable ColorSpace getColorSpace() { in getColorSpace() method in ExtensionSessionConfiguration
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsScreenshotHelperServiceTest.java95 when(mScreenshotHardwareBuffer.getColorSpace()).thenReturn(FAKE_COLOR_SPACE); in bubblesPresent_screenshotSuccess_shouldReturnScreenshot()
/frameworks/av/camera/tests/fuzzer/
Dcamera_c2OutputConfiguration_fuzzer.cpp120 [&]() { outputConfiguration->getColorSpace(); }, in invokeC2OutputConfigFuzzer()
/frameworks/base/core/java/android/hardware/
DCameraStreamStats.java226 public int getColorSpace() { in getColorSpace() method in CameraStreamStats
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaGpuPipeline.cpp155 auto bufferColorSpace = bufferParams.getColorSpace(); in getBufferSkSurface()
/frameworks/base/services/core/java/com/android/server/wm/
DAppSnapshotLoader.java200 topActivityComponent, buffer, hwBitmap.getColorSpace(), in loadTask()
/frameworks/av/camera/include/camera/camera2/
DOutputConfiguration.h68 int32_t getColorSpace() const;
/frameworks/base/core/java/android/app/
DSharedElementCallback.java190 ColorSpace cs = bitmap.getColorSpace(); in onCaptureSharedElementSnapshot()

1234