Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DBitmapUtil.java56 bitmap.getColorSpace() == null in hardwareBitmapToBundle()
58 : new ParcelableColorSpace(bitmap.getColorSpace()); in hardwareBitmapToBundle()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java75 thumbnail = Bitmap.wrapHardwareBuffer(buffer, snapshot.getColorSpace()); in ThumbnailData()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskScreenshotAnimatable.java60 surface.attachAndQueueBufferWithColorSpace(buffer, screenshotBuffer.getColorSpace()); in TaskScreenshotAnimatable()
DTaskSnapshotLoader.java197 hwBitmap.getColorSpace(), proto.orientation, proto.rotation, taskSize, in loadTask()
DTaskSnapshotController.java414 builder.setColorSpace(screenshotBuffer.getColorSpace());
514 hwBitmap.getColorSpace(), mainWindow.getConfiguration().orientation,
DTaskSnapshotSurface.java358 mSnapshot.getColorSpace()); in drawSizeMatchSnapshot()
409 surface.attachAndQueueBufferWithColorSpace(buffer, mSnapshot.getColorSpace()); in drawSizeMismatchSnapshot()
DScreenRotationAnimation.java223 gb.getColorSpace()); in ScreenRotationAnimation()
227 gb.getColorSpace()); in ScreenRotationAnimation()
DTaskSnapshotPersister.java407 mSnapshot.getSnapshot(), mSnapshot.getColorSpace()); in writeBuffer()
/frameworks/base/graphics/java/android/graphics/
DColor.java376 public ColorSpace getColorSpace() { in getColorSpace() method in Color
400 return getColorSpace().isWideGamut(); in isWideGamut()
412 return getColorSpace().isSrgb(); in isSrgb()
DBitmap.java929 ColorSpace cs = source.getColorSpace(); in createBitmap()
1771 public final ColorSpace getColorSpace() { in getColorSpace() method in Bitmap
1811 final ColorSpace oldColorSpace = getColorSpace(); in setColorSpace()
1817 final ColorSpace newColorSpace = getColorSpace(); in setColorSpace()
1923 final ColorSpace cs = getColorSpace(); in getColor()
DParcelableColorSpace.java78 public @NonNull ColorSpace getColorSpace() { in getColorSpace() method in ParcelableColorSpace
DImageDecoder.java616 public ColorSpace getColorSpace() { in getColorSpace() method in ImageDecoder.ImageInfo
617 return mDecoder.getColorSpace(); in getColorSpace()
1941 private ColorSpace getColorSpace() { in getColorSpace() method in ImageDecoder
/frameworks/base/services/core/java/com/android/server/wm/utils/
DRotationAnimationUtils.java118 buffer.getColorSpace()); in getLumaOfSurfaceControl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DImageWallpaperTest.java95 when(mWallpaperBitmap.getColorSpace()).thenReturn(ColorSpace.get(ColorSpace.Named.SRGB)); in setUp()
/frameworks/base/core/java/android/app/
DSharedElementCallback.java190 ColorSpace cs = bitmap.getColorSpace(); in onCaptureSharedElementSnapshot()
DWallpaperManager.java908 return bitmap != null && bitmap.getColorSpace() != null in wallpaperSupportsWcg()
909 && bitmap.getColorSpace() != ColorSpace.get(ColorSpace.Named.SRGB) in wallpaperSupportsWcg()
910 && cmProxy.isSupportedColorSpace(bitmap.getColorSpace()); in wallpaperSupportsWcg()
2123 if (!isSupportedColorSpace(info.getColorSpace())) { in doColorManagement()
2125 Log.w(TAG, "Not supported color space: " + info.getColorSpace()); in doColorManagement()
/frameworks/native/opengl/libs/EGL/
Degl_object.h139 EGLint getColorSpace() const { return colorSpace; } in getColorSpace() function
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java252 assertEquals(ColorSpace.get(ColorSpace.Named.SRGB), hardwareBitmap.getColorSpace()); in testWrapHardwareBufferWithSrgbColorSpace()
267 assertEquals(ColorSpace.get(ColorSpace.Named.DISPLAY_P3), hardwareBitmap.getColorSpace()); in testWrapHardwareBufferWithDisplayP3ColorSpace()
/frameworks/base/libs/hwui/jni/
DGraphicsJNI.h139 static jobject getColorSpace(JNIEnv* env, SkColorSpace* decodeColorSpace,
DBitmapRegionDecoder.cpp211 GraphicsJNI::getColorSpace(env, decodeColorSpace.get(), decodeColorType)); in nativeDecodeRegion()
DImageDecoder.cpp489 return GraphicsJNI::getColorSpace(env, colorSpace.get(), colorType); in ImageDecoder_nGetColorSpace()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerService.java169 ColorSpace colorSpace = snapshot.getColorSpace(); in provideContextImage()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotControllerTest.java169 assertEquals(sRGB, snapshot.getColorSpace()); in testSnapshotBuilder()
/frameworks/base/core/java/android/view/
DSurfaceControl.java591 public ColorSpace getColorSpace() { in getColorSpace() method in SurfaceControl.ScreenshotGraphicBuffer
1987 buffer.getColorSpace()); in screenshot()
2037 return Bitmap.wrapHardwareBuffer(buffer.getGraphicBuffer(), buffer.getColorSpace()); in screenshot()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java2053 colorSpace.getColorSpace(), in takeScreenshot()
2507 public ColorSpace getColorSpace() {

12