Home
last modified time | relevance | path

Searched refs:mColorSpace (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DParcelableColorSpace.java31 private final ColorSpace mColorSpace; field in ParcelableColorSpace
61 mColorSpace = colorSpace; in ParcelableColorSpace()
63 if (mColorSpace.getId() == ColorSpace.MIN_ID) { in ParcelableColorSpace()
64 if (!(mColorSpace instanceof ColorSpace.Rgb)) { in ParcelableColorSpace()
68 ColorSpace.Rgb rgb = (ColorSpace.Rgb) mColorSpace; in ParcelableColorSpace()
80 return mColorSpace; in getColorSpace()
90 final int id = mColorSpace.getId(); in writeToParcel()
95 ColorSpace.Rgb rgb = (ColorSpace.Rgb) mColorSpace; in writeToParcel()
146 return mColorSpace.equals(other.mColorSpace); in equals()
151 return mColorSpace.hashCode(); in hashCode()
DColor.java311 private final ColorSpace mColorSpace; field in Color
327 mColorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in Color()
355 mColorSpace = colorSpace; in Color()
366 mColorSpace = colorSpace; in Color()
376 return mColorSpace; in getColorSpace()
385 return mColorSpace.getModel(); in getModel()
423 return mColorSpace.getComponentCount() + 1; in getComponentCount()
437 return pack(mComponents[0], mComponents[1], mComponents[2], mComponents[3], mColorSpace); in pack()
451 ColorSpace.Connector connector = ColorSpace.connect(mColorSpace, colorSpace); in convert()
468 if (mColorSpace.isSrgb()) { in toArgb()
[all …]
DShader.java45 mColorSpace = null; in Shader()
52 mColorSpace = colorSpace; in Shader()
59 mColorSpace.getNativeInstance(); in Shader()
62 private final ColorSpace mColorSpace; field in Shader
68 return mColorSpace; in colorSpace()
DBitmap.java92 private ColorSpace mColorSpace; field in Bitmap
184 mColorSpace = null; in reinit()
292 mColorSpace = null; in reconfigure()
1762 if (mColorSpace == null) { in getColorSpace()
1763 mColorSpace = nativeComputeColorSpace(mNativePtr); in getColorSpace()
1765 return mColorSpace; in getColorSpace()
1805 mColorSpace = null; in setColorSpace()
1830 mColorSpace = oldColorSpace; in setColorSpace()
1831 nativeSetColorSpace(mNativePtr, mColorSpace.getNativeInstance()); in setColorSpace()
DHardwareRenderer.java1104 private final ColorSpace.Named mColorSpace; field in HardwareRenderer.ProcessInitializer.Dataspace
1107 this.mColorSpace = colorSpace; in Dataspace()
1113 .filter(d -> ColorSpace.get(d.mColorSpace).equals(colorSpace)) in find()
/frameworks/base/core/java/android/window/
DTaskSnapshot.java65 private final ColorSpace mColorSpace; field in TaskSnapshot
76 mColorSpace = colorSpace.getId() < 0 in TaskSnapshot()
95 mColorSpace = colorSpaceId >= 0 && colorSpaceId < ColorSpace.Named.values().length
146 return mColorSpace;
239 dest.writeInt(mColorSpace.getId());
260 + " mColorSpace=" + mColorSpace.toString()
287 private ColorSpace mColorSpace;
316 mColorSpace = colorSpace;
385 mColorSpace,
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DRotationAnimationUtilsTest.java43 private ColorSpace mColorSpace = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); field in RotationAnimationUtilsTest
55 float borderLuma = RotationAnimationUtils.getMedianBorderLuma(hb, mColorSpace); in blackLuma()
63 float borderLuma = RotationAnimationUtils.getMedianBorderLuma(hb, mColorSpace); in whiteLuma()
71 float borderLuma = RotationAnimationUtils.getMedianBorderLuma(hb, mColorSpace); in unevenBitmapDimens()
80 float borderLuma = RotationAnimationUtils.getMedianBorderLuma(hb, mColorSpace); in whiteImageBlackBorderLuma()
89 float borderLuma = RotationAnimationUtils.getMedianBorderLuma(hb, mColorSpace); in blackImageWhiteBorderLuma()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java2580 private final @NonNull ColorSpace mColorSpace;
2588 mColorSpace = colorSpace;
2600 return mColorSpace;
/frameworks/base/core/java/android/view/
DSurfaceControl.java668 private final ColorSpace mColorSpace; field in SurfaceControl.ScreenshotHardwareBuffer
674 mColorSpace = colorSpace; in ScreenshotHardwareBuffer()
693 return mColorSpace; in getColorSpace()
721 return Bitmap.wrapHardwareBuffer(mHardwareBuffer, mColorSpace); in asBitmap()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19045 Landroid/graphics/Bitmap;->mColorSpace:Landroid/graphics/ColorSpace;
19177 Landroid/graphics/Color;->mColorSpace:Landroid/graphics/ColorSpace;
19219 Landroid/graphics/ColorSpace$Renderer$Point;->mColorSpace:Landroid/graphics/ColorSpace;