/aosp12/frameworks/base/graphics/java/android/graphics/ |
H A D | ParcelableColorSpace.java | 31 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()
|
H A D | Color.java | 311 private final ColorSpace mColorSpace; field 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() 468 if (mColorSpace.isSrgb()) { in toArgb() 479 ColorSpace.connect(mColorSpace).transform(color); in toArgb() 649 return mColorSpace.equals(color.mColorSpace); in equals() 655 result = 31 * result + mColorSpace.hashCode(); in hashCode() [all …]
|
H A D | Shader.java | 45 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()
|
H A D | Bitmap.java | 92 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()
|
H A D | HardwareRenderer.java | 1124 private final ColorSpace.Named mColorSpace; field in HardwareRenderer.ProcessInitializer.Dataspace 1127 this.mColorSpace = colorSpace; in Dataspace() 1133 .filter(d -> ColorSpace.get(d.mColorSpace).equals(colorSpace)) in find()
|
/aosp12/frameworks/base/core/java/android/window/ |
H A D | TaskSnapshot.java | 66 private final ColorSpace mColorSpace; field in TaskSnapshot 78 mColorSpace = colorSpace.getId() < 0 in TaskSnapshot() 98 mColorSpace = colorSpaceId >= 0 && colorSpaceId < ColorSpace.Named.values().length 150 return mColorSpace; 251 dest.writeInt(mColorSpace.getId()); 273 + " mColorSpace=" + mColorSpace.toString() 301 private ColorSpace mColorSpace; 331 mColorSpace = colorSpace; 405 mColorSpace,
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | RotationAnimationUtilsTest.java | 43 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()
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
H A D | QCameraMem.h | 322 enum ColorSpace_t mColorSpace; variable
|
H A D | QCameraMem.cpp | 1885 : QCameraMemory(true), mColorSpace(ITU_R_601_FR) in QCameraGrallocMemory() 2177 &mColorSpace); in dequeueBuffer() 2375 setMetaData(mPrivateHandle[cnt], UPDATE_COLOR_SPACE, &mColorSpace); in allocate()
|
/aosp12/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 2593 private final @NonNull ColorSpace mColorSpace; 2601 mColorSpace = colorSpace; 2613 return mColorSpace;
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 753 private final ColorSpace mColorSpace; field in SurfaceControl.ScreenshotHardwareBuffer 759 mColorSpace = colorSpace; in ScreenshotHardwareBuffer() 778 return mColorSpace; in getColorSpace() 806 return Bitmap.wrapHardwareBuffer(mHardwareBuffer, mColorSpace); in asBitmap()
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 19045 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;
|