Home
last modified time | relevance | path

Searched refs:chroma (Results 1 – 22 of 22) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/monet/src/com/android/systemui/monet/
H A DShades.java54 public static @ColorInt int[] of(float hue, float chroma) { in of() argument
58 shades[0] = ColorUtils.CAMToColor(hue, Math.min(40f, chroma), 99); in of()
59 shades[1] = ColorUtils.CAMToColor(hue, Math.min(40f, chroma), 95); in of()
63 chroma = Math.min(40f, chroma); in of()
65 shades[i] = ColorUtils.CAMToColor(hue, chroma, lStar); in of()
H A DColorScheme.kt80 } else if (proposedSeedCam.chroma < 5) {
87 val chroma = camSeed.chroma.coerceAtLeast(ACCENT1_CHROMA) regex
89 accent1 = Shades.of(hue, chroma).toList()
139 Cam.fromInt(it).chroma >= MIN_CHROMA
172 cam.chroma >= MIN_CHROMA &&
238 val chromaScore = if (cam.chroma < ACCENT1_CHROMA) 0.1 * (cam.chroma - ACCENT1_CHROMA)
239 else 0.3 * (cam.chroma - ACCENT1_CHROMA)
253 if (cam.chroma <= MIN_CHROMA) {
/aosp12/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dshadows_f.rscript53 int iMin,iMax,chroma;
68 chroma = iMax - iMin;
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
114 // set chroma and min component value m
115 //chroma = ( cv * cs )/k1;
116 //m = cv - chroma;
119 // chroma == 0 <-> cs == 0 --> m=cv
[all …]
/aosp12/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A Dshadows.rscript53 int iMin,iMax,chroma;
68 chroma = iMax - iMin;
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
114 // set chroma and min component value m
115 //chroma = ( cv * cs )/k1;
116 //m = cv - chroma;
119 // chroma == 0 <-> cs == 0 --> m=cv
[all …]
/aosp12/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A Dshadows.rscript53 int iMin,iMax,chroma;
68 chroma = iMax - iMin;
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
114 // set chroma and min component value m
115 //chroma = ( cv * cs )/k1;
116 //m = cv - chroma;
119 // chroma == 0 <-> cs == 0 --> m=cv
[all …]
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A Dshadows.rscript53 int iMin,iMax,chroma;
68 chroma = iMax - iMin;
76 rs = (short)((k1*chroma)/iMax);
83 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma));
86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma));
88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
114 // set chroma and min component value m
115 //chroma = ( cv * cs )/k1;
116 //m = cv - chroma;
119 // chroma == 0 <-> cs == 0 --> m=cv
[all …]
/aosp12/packages/apps/Gallery2/jni/filters/
H A Dhsv.c35 int iMin,iMax,chroma; in rgb2hsv() local
55 chroma = iMax - iMin; in rgb2hsv()
63 rs = (short)((k1*chroma)/iMax); in rgb2hsv()
70 rh = (short)( (k2*(6*chroma+gi - bi))/(6*chroma)); in rgb2hsv()
73 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); in rgb2hsv()
75 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma)); in rgb2hsv()
/aosp12/frameworks/base/core/java/com/android/internal/graphics/cam/
H A DCam.java115 Cam(float hue, float chroma, float j, float q, float m, float s, float jstar, float astar, in Cam() argument
118 mChroma = chroma; in Cam()
134 public static int getInt(float hue, float chroma, float lstar) { in getInt() argument
135 return getInt(hue, chroma, lstar, Frame.DEFAULT); in getInt()
345 public static int getInt(float hue, float chroma, float lstar, @NonNull Frame frame) { in getInt() argument
389 if (chroma < 1.0 || Math.round(lstar) <= 0.0 || Math.round(lstar) >= 100.0) { in getInt()
396 float high = chroma; in getInt()
400 float mid = chroma; in getInt()
454 private static Cam findCamByJ(float hue, float chroma, float lstar) { in findCamByJ() argument
465 Cam camBeforeClip = Cam.fromJch(mid, chroma, hue); in findCamByJ()
/aosp12/hardware/interfaces/graphics/mapper/2.0/
H A Dtypes.hal41 * Buffer chroma subsampling is defined in the format.
52 * cStride is the stride of the chroma planes.
54 * chromaStep is the distance in bytes from one chroma pixel value to the
55 * next. This is 2 bytes for semiplanar (because chroma values are interleaved
56 * and each chroma value is one byte) and 1 for planar.
/aosp12/hardware/interfaces/graphics/mapper/3.0/
H A Dtypes.hal60 * Buffer chroma subsampling is defined in the format.
71 * cStride is the stride of the chroma planes.
73 * chromaStep is the distance in bytes from one chroma pixel value to the
74 * next. This is 2 bytes for semiplanar (because chroma values are interleaved
75 * and each chroma value is one byte) and 1 for planar.
/aosp12/hardware/qcom/msm8960/kernel-headers/linux/
H A Dmsm_q6vdec.h277 u32 chroma; member
/aosp12/hardware/qcom/msm8960/original-kernel-headers/linux/
H A Dmsm_q6vdec.h247 u32 chroma; member
/aosp12/hardware/qcom/msm8996/kernel-headers/linux/
H A Dmsm_q6vdec.h277 u32 chroma; member
/aosp12/hardware/qcom/msm8996/original-kernel-headers/linux/
H A Dmsm_q6vdec.h247 u32 chroma; member
/aosp12/frameworks/base/core/java/com/android/internal/graphics/
H A DColorUtils.java362 public static int CAMToColor(float hue, float chroma, float lstar) { in CAMToColor() argument
363 return Cam.getInt(hue, chroma, lstar); in CAMToColor()
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
H A Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
H A Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
H A Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
H A Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
H A Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
H A Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...