Home
last modified time | relevance | path

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

12

/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()
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()
DColor.java314 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 …]
DYuvImage.java73 @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()
DHardwareBufferRenderer.java251 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()
DBitmap.java98 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()
DImageDecoder.java632 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/
DCamera2SessionConfigImplBuilder.java37 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/
DCamera2SessionConfigImplBuilder.java37 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/
DRotationAnimationUtilsTest.java39 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/
DExtensionSessionConfiguration.java45 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()
DOutputConfiguration.java503 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 …]
DSessionConfiguration.java104 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/
DOutputConfiguration.h124 mColorSpace == other.mColorSpace &&
171 if (mColorSpace != other.mColorSpace) {
172 return mColorSpace < other.mColorSpace;
220 int32_t mColorSpace; variable
/frameworks/base/core/java/android/hardware/
DCameraStreamStats.java54 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/
DExtensionConfiguration.java52 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/
DTaskSnapshot.java76 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,
DScreenCapture.java188 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/
DHardwareBufferRenderParams.h45 , 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/
DCameraSessionStats.h74 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/
DOutputConfiguration.cpp87 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/
DColorBitmapActivity.java68 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/
DCameraSessionStats.cpp157 mColorSpace = colorSpace; in readFromParcel()
250 if ((err = parcel->writeInt32(mColorSpace)) != OK) { in writeToParcel()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java3263 private final @NonNull ColorSpace mColorSpace;
3272 mColorSpace = colorSpace;
3284 return mColorSpace;
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java1756 private int mColorSpace;
1765 mColorSpace = colorSpace;
1775 mColorSpace = ColorSpaceProfiles.UNSPECIFIED;
1800 return mColorSpace;

12