/frameworks/base/graphics/java/android/graphics/ |
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()
|
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()
|
D | Color.java | 314 private final ColorSpace mColorSpace; field in Color 330 mColorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in Color() 358 mColorSpace = colorSpace; in Color() 369 mColorSpace = colorSpace; in Color() 379 return mColorSpace; in getColorSpace() 388 return mColorSpace.getModel(); in getModel() 426 return mColorSpace.getComponentCount() + 1; in getComponentCount() 440 return pack(mComponents[0], mComponents[1], mComponents[2], mComponents[3], mColorSpace); in pack() 454 ColorSpace.Connector connector = ColorSpace.connect(mColorSpace, colorSpace); in convert() 471 if (mColorSpace.isSrgb()) { in toArgb() [all …]
|
D | YuvImage.java | 73 @NonNull private ColorSpace mColorSpace; field in YuvImage 200 mColorSpace = colorSpace; in YuvImage() 223 if (mColorSpace.getId() != ColorSpace.Named.SRGB.ordinal()) { in compressToJpeg() 332 if (!isSupportedJpegRColorSpace(true, mColorSpace.getId()) || in compressToJpegR() 339 return nativeCompressToJpegR(mData, mColorSpace.getDataSpace(), in compressToJpegR() 386 public @NonNull ColorSpace getColorSpace() { return mColorSpace; } in getColorSpace()
|
D | HardwareBufferRenderer.java | 251 private ColorSpace mColorSpace = DEFAULT_COLORSPACE; field in HardwareBufferRenderer.RenderRequest 294 mColorSpace.getNativeInstance(), in draw() 303 mColorSpace = DEFAULT_COLORSPACE; in reset() 320 mColorSpace = DEFAULT_COLORSPACE; in setColorSpace() 322 mColorSpace = colorSpace; in setColorSpace()
|
D | Bitmap.java | 98 private ColorSpace mColorSpace; field in Bitmap 199 mColorSpace = null; in reinit() 307 mColorSpace = null; in reconfigure() 1976 if (mColorSpace == null) { in getColorSpace() 1977 mColorSpace = nativeComputeColorSpace(mNativePtr); in getColorSpace() 1979 return mColorSpace; in getColorSpace() 2024 mColorSpace = null; in setColorSpace() 2049 mColorSpace = oldColorSpace; in setColorSpace() 2050 nativeSetColorSpace(mNativePtr, mColorSpace.getNativeInstance()); in setColorSpace()
|
D | ImageDecoder.java | 632 private final ColorSpace mColorSpace; field in ImageDecoder.ImageInfo 642 mColorSpace = colorSpace; in ImageInfo() 680 return mColorSpace; in getColorSpace()
|
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/ |
D | Camera2SessionConfigImplBuilder.java | 37 private int mColorSpace = ColorSpaceProfiles.UNSPECIFIED; field in Camera2SessionConfigImplBuilder 75 mColorSpace = colorSpace; in setColorSpace() 83 return mColorSpace; in getColorSpace() 125 int mColorSpace = ColorSpaceProfiles.UNSPECIFIED; field in Camera2SessionConfigImplBuilder.Camera2SessionConfigImplImpl 132 mColorSpace = builder.getColorSpace(); in Camera2SessionConfigImplImpl() 159 return mColorSpace; in getColorSpace()
|
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/ |
D | Camera2SessionConfigImplBuilder.java | 37 private int mColorSpace = ColorSpaceProfiles.UNSPECIFIED; field in Camera2SessionConfigImplBuilder 75 mColorSpace = colorSpace; in setColorSpace() 83 return mColorSpace; in getColorSpace() 125 int mColorSpace = ColorSpaceProfiles.UNSPECIFIED; field in Camera2SessionConfigImplBuilder.Camera2SessionConfigImplImpl 132 mColorSpace = builder.getColorSpace(); in Camera2SessionConfigImplImpl() 159 return mColorSpace; in getColorSpace()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | RotationAnimationUtilsTest.java | 39 private ColorSpace mColorSpace = ColorSpace.get(ColorSpace.Named.DISPLAY_P3); field in RotationAnimationUtilsTest 45 float borderLuma = TransitionAnimation.getBorderLuma(hb, mColorSpace); in blackLuma() 54 float borderLuma = TransitionAnimation.getBorderLuma(hb, mColorSpace); in whiteLuma() 62 float borderLuma = TransitionAnimation.getBorderLuma(hb, mColorSpace); in unevenBitmapDimens() 71 float borderLuma = TransitionAnimation.getBorderLuma(hb, mColorSpace); in whiteImageBlackBorderLuma() 80 float borderLuma = TransitionAnimation.getBorderLuma(hb, mColorSpace); in blackImageWhiteBorderLuma()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | ExtensionSessionConfiguration.java | 45 private int mColorSpace; field in ExtensionSessionConfiguration 141 mColorSpace = colorSpace.ordinal(); in setColorSpace() 155 mColorSpace = ColorSpaceProfiles.UNSPECIFIED; in clearColorSpace() 173 if (mColorSpace != ColorSpaceProfiles.UNSPECIFIED) { in getColorSpace() 174 return ColorSpace.get(ColorSpace.Named.values()[mColorSpace]); in getColorSpace()
|
D | OutputConfiguration.java | 503 mColorSpace = colorSpace.ordinal(); in setColorSpace() 513 mColorSpace = ColorSpaceProfiles.UNSPECIFIED; in clearColorSpace() 525 if (mColorSpace != ColorSpaceProfiles.UNSPECIFIED) { in getColorSpace() 526 return ColorSpace.get(ColorSpace.Named.values()[mColorSpace]); in getColorSpace() 595 mColorSpace = ColorSpaceProfiles.UNSPECIFIED; in OutputConfiguration() 840 mColorSpace = ColorSpaceProfiles.UNSPECIFIED; in OutputConfiguration() 972 mColorSpace = ColorSpaceProfiles.UNSPECIFIED; in OutputConfiguration() 1490 this.mColorSpace = other.mColorSpace; in OutputConfiguration() 1559 mColorSpace = colorSpace; in OutputConfiguration() 1705 dest.writeInt(mColorSpace); in writeToParcel() [all …]
|
D | SessionConfiguration.java | 104 private int mColorSpace; field in SessionConfiguration 380 mColorSpace = colorSpace.ordinal(); in setColorSpace() 390 mColorSpace = ColorSpaceProfiles.UNSPECIFIED; in clearColorSpace() 403 if (mColorSpace != ColorSpaceProfiles.UNSPECIFIED) { in getColorSpace() 404 return ColorSpace.get(ColorSpace.Named.values()[mColorSpace]); in getColorSpace()
|
/frameworks/av/camera/include/camera/camera2/ |
D | OutputConfiguration.h | 124 mColorSpace == other.mColorSpace && 171 if (mColorSpace != other.mColorSpace) { 172 return mColorSpace < other.mColorSpace; 220 int32_t mColorSpace; variable
|
/frameworks/base/core/java/android/hardware/ |
D | CameraStreamStats.java | 54 private int mColorSpace; field in CameraStreamStats 73 mColorSpace = ColorSpaceProfiles.UNSPECIFIED; in CameraStreamStats() 94 mColorSpace = colorSpace; in CameraStreamStats() 143 dest.writeInt(mColorSpace); in writeToParcel() 163 mColorSpace = in.readInt(); in readFromParcel() 227 return mColorSpace; in getColorSpace()
|
/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | ExtensionConfiguration.java | 52 private int mColorSpace; field in ExtensionConfiguration 77 mColorSpace = ColorSpaceProfiles.UNSPECIFIED; in ExtensionConfiguration() 88 mColorSpace = colorSpace; in setColorSpace() 102 ret.colorSpace = mColorSpace; in getCameraSessionConfig()
|
/frameworks/base/core/java/android/window/ |
D | TaskSnapshot.java | 76 private final ColorSpace mColorSpace; field in TaskSnapshot 104 mColorSpace = colorSpace.getId() < 0 in TaskSnapshot() 125 mColorSpace = colorSpaceId >= 0 && colorSpaceId < ColorSpace.Named.values().length 185 return mColorSpace; 286 dest.writeInt(mColorSpace.getId()); 309 + " mColorSpace=" + mColorSpace.toString() 360 private ColorSpace mColorSpace; 395 mColorSpace = colorSpace; 470 mColorSpace,
|
D | ScreenCapture.java | 188 private final ColorSpace mColorSpace; field in ScreenCapture.ScreenshotHardwareBuffer 195 mColorSpace = colorSpace; in ScreenshotHardwareBuffer() 222 return mColorSpace; in getColorSpace() 262 return Bitmap.wrapHardwareBuffer(mHardwareBuffer, mColorSpace); in asBitmap()
|
/frameworks/base/libs/hwui/renderthread/ |
D | HardwareBufferRenderParams.h | 45 , mColorSpace(colorSpace) in HardwareBufferRenderParams() 48 sk_sp<SkColorSpace> getColorSpace() const { return mColorSpace; } in getColorSpace() 63 sk_sp<SkColorSpace> mColorSpace = SkColorSpace::MakeSRGB();
|
/frameworks/av/camera/include/camera/ |
D | CameraSessionStats.h | 74 int32_t mColorSpace; variable 82 mColorSpace(ANDROID_REQUEST_AVAILABLE_COLOR_SPACE_PROFILES_MAP_UNSPECIFIED) {} in CameraStreamStats() 92 mColorSpace(colorSpace) {} in CameraStreamStats()
|
/frameworks/av/camera/camera2/ |
D | OutputConfiguration.cpp | 87 return mColorSpace; in getColorSpace() 135 mColorSpace(ANDROID_REQUEST_AVAILABLE_COLOR_SPACE_PROFILES_MAP_UNSPECIFIED), in OutputConfiguration() 299 mColorSpace = colorSpace; in readFromParcel() 326 mColorSpace = ANDROID_REQUEST_AVAILABLE_COLOR_SPACE_PROFILES_MAP_UNSPECIFIED; in OutputConfiguration() 344 mColorSpace(ANDROID_REQUEST_AVAILABLE_COLOR_SPACE_PROFILES_MAP_UNSPECIFIED), in OutputConfiguration() 400 err = parcel->writeInt32(mColorSpace); in writeToParcel()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | ColorBitmapActivity.java | 68 private ColorSpace mColorSpace = ColorSpace.get(ColorSpace.Named.SRGB); field in ColorBitmapActivity 126 mColorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in onCreate() 232 copy.setColorSpace(mColorSpace); in populateBuffers() 239 image.setDataSpace(mColorSpace.getDataSpace()); in populateBuffers() 307 ColorBitmapActivity.this.mColorSpace = in onItemSelected()
|
/frameworks/av/camera/ |
D | CameraSessionStats.cpp | 157 mColorSpace = colorSpace; in readFromParcel() 250 if ((err = parcel->writeInt32(mColorSpace)) != OK) { in writeToParcel()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 3263 private final @NonNull ColorSpace mColorSpace; 3272 mColorSpace = colorSpace; 3284 return mColorSpace;
|
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/ |
D | CameraExtensionsProxyService.java | 1756 private int mColorSpace; 1765 mColorSpace = colorSpace; 1775 mColorSpace = ColorSpaceProfiles.UNSPECIFIED; 1800 return mColorSpace;
|