Home
last modified time | relevance | path

Searched defs:colorSpace (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/
DShader.java52 public Shader(ColorSpace colorSpace) { in Shader()
68 protected ColorSpace colorSpace() { in colorSpace() method in Shader
213 final ColorSpace colorSpace = Color.colorSpace(colors[0]); in detectColorSpace() local
DColor.java354 private Color(float r, float g, float b, float a, @NonNull ColorSpace colorSpace) { in Color()
365 private Color(@Size(min = 4, max = 5) float[] components, @NonNull ColorSpace colorSpace) { in Color()
451 public Color convert(@NonNull ColorSpace colorSpace) { in convert()
703 public static ColorSpace colorSpace(@ColorLong long color) { in colorSpace() method in Color
826 public static boolean isInColorSpace(@ColorLong long color, @NonNull ColorSpace colorSpace) { in isInColorSpace()
935 … public static Color valueOf(float r, float g, float b, float a, @NonNull ColorSpace colorSpace) { in valueOf()
963 @NonNull ColorSpace colorSpace) { in valueOf()
1041 @NonNull ColorSpace colorSpace) { in pack()
1086 public static long convert(@ColorInt int color, @NonNull ColorSpace colorSpace) { in convert()
1110 public static long convert(@ColorLong long color, @NonNull ColorSpace colorSpace) { in convert()
[all …]
DSweepGradient.java93 @Nullable float[] positions, ColorSpace colorSpace) { in SweepGradient()
DRadialGradient.java100 @NonNull TileMode tileMode, ColorSpace colorSpace) { in RadialGradient()
DLinearGradient.java102 @NonNull ColorSpace colorSpace) { in LinearGradient()
DBitmap.java754 @Nullable ColorSpace colorSpace) { in wrapHardwareBuffer()
771 @Nullable ColorSpace colorSpace) { in wrapHardwareBuffer()
1056 boolean hasAlpha, @NonNull ColorSpace colorSpace) { in createBitmap()
1111 @NonNull Config config, boolean hasAlpha, @NonNull ColorSpace colorSpace) { in createBitmap()
1766 public void setColorSpace(@NonNull ColorSpace colorSpace) { in setColorSpace()
DColorSpace.java1301 public static ColorSpace adapt(@NonNull ColorSpace colorSpace, in adapt()
1330 public static ColorSpace adapt(@NonNull ColorSpace colorSpace, in adapt()
2829 private Rgb(Rgb colorSpace, in Rgb() method in ColorSpace.Rgb
/frameworks/base/libs/hwui/utils/
DColor.cpp186 auto colorSpace = ColorSpace::sRGB(); in sRGBToLab() local
198 auto colorSpace = ColorSpace::sRGB(); in LabToSRGB() local
/frameworks/base/libs/hwui/
DDeviceInfo.cpp89 static void queryWideColorGamutPreference(sk_sp<SkColorSpace>* colorSpace, SkColorType* colorType) { in queryWideColorGamutPreference()
DReadback.cpp67 sk_sp<SkColorSpace> colorSpace = in copySurfaceInto() local
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsPerUserService.java110 ColorSpace colorSpace = snapshot.getColorSpace(); in provideContextImageLocked() local
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp95 void setColorSpace(sk_sp<SkColorSpace> colorSpace) { in setColorSpace()
352 sk_sp<SkColorSpace> colorSpace; in Bitmap_creator() local
570 const sk_sp<SkColorSpace>& colorSpace) { in bitmapErase()
681 sk_sp<SkColorSpace> colorSpace; in Bitmap_createFromParcel() local
806 SkColorSpace* colorSpace = bitmap.colorSpace(); in Bitmap_writeToParcel() local
907 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGB() local
915 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_isSRGBLinear() local
924 SkColorSpace* colorSpace = bitmapHolder->info().colorSpace(); in Bitmap_computeColorSpace() local
DImageDecoder.cpp275 sk_sp<SkColorSpace> colorSpace = GraphicsJNI::getNativeColorSpace(colorSpaceHandle); in ImageDecoder_nDecodeBitmap() local
514 sk_sp<SkColorSpace> colorSpace = codec->computeOutputColorSpace(colorType); in ImageDecoder_nGetColorSpace() local
DBitmapRegionDecoder.cpp137 sk_sp<SkColorSpace> colorSpace = GraphicsJNI::getNativeColorSpace(colorSpaceHandle); in nativeDecodeRegion() local
DGraphics.cpp477 jobject colorSpace = env->CallStaticObjectMethod(gColorSpace_class, in getColorSpace() local
/frameworks/native/opengl/libs/EGL/
Degl_object.cpp59 EGLSurface surface, EGLint colorSpace, egl_connection_t const* cnx) in egl_surface_t()
Degl_object.h161 EGLint colorSpace; variable
Degl_platform_entries.cpp528 const AttrType* attrib_list, EGLint* colorSpace, in processAttributes()
739 EGLint colorSpace = EGL_UNKNOWN; in eglCreateWindowSurfaceTmpl() local
878 EGLint colorSpace = EGL_UNKNOWN; in eglCreatePbufferSurfaceImpl() local
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp137 sk_sp<SkColorSpace> colorSpace, SkAlphaType alphaType, in createFrom()
168 void Bitmap::setColorSpace(sk_sp<SkColorSpace> colorSpace) { in setColorSpace()
/frameworks/base/core/java/android/app/
DSharedElementCallback.java244 ColorSpace colorSpace = null; in onCreateSnapshotView() local
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h277 String8 EGLUtils::decodeColorSpace(EGLint colorSpace) { in decodeColorSpace()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp164 SkColorType colorType, sk_sp<SkColorSpace> colorSpace, in Create()
DEglManager.cpp297 sk_sp<SkColorSpace> colorSpace) { in createSurface()
/frameworks/base/core/java/android/view/
DSurface.java709 public void attachAndQueueBufferWithColorSpace(GraphicBuffer buffer, ColorSpace colorSpace) { in attachAndQueueBufferWithColorSpace()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp87 constexpr ui::Dataspace fromNamedColorSpaceValueToDataspace(const jint colorSpace) { in fromNamedColorSpaceValueToDataspace()

12