Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/color/
DGlobalSaturationTintController.java56 float saturation = saturationLevel * 0.01f; in setMatrix() local
57 float desaturation = 1.0f - saturation; in setMatrix()
60 mMatrixGlobalSaturation[0] = luminance[0] + saturation; in setMatrix()
64 mMatrixGlobalSaturation[5] = luminance[1] + saturation; in setMatrix()
68 mMatrixGlobalSaturation[10] = luminance[2] + saturation; in setMatrix()
DAppSaturationController.java136 static void computeGrayscaleTransformMatrix(float saturation, float[] matrix) { in computeGrayscaleTransformMatrix() argument
137 float desaturation = 1.0f - saturation; in computeGrayscaleTransformMatrix()
140 matrix[0] = luminance[0] + saturation; in computeGrayscaleTransformMatrix()
144 matrix[4] = luminance[1] + saturation; in computeGrayscaleTransformMatrix()
148 matrix[8] = luminance[2] + saturation; in computeGrayscaleTransformMatrix()
DDisplayTransformManager.java318 private void applySaturation(float saturation) { in applySaturation() argument
319 SystemProperties.set(PERSISTENT_PROPERTY_SATURATION, Float.toString(saturation)); in applySaturation()
322 data.writeFloat(saturation); in applySaturation()
DColorDisplayService.java618 int saturation = NOT_SET; in onAccessibilityDaltonizerChanged() local
620 saturation = Secure.getIntForUser( in onAccessibilityDaltonizerChanged()
632 dtm.setDaltonizerMode(AccessibilityManager.DALTONIZER_DISABLED, saturation); in onAccessibilityDaltonizerChanged()
635 dtm.setDaltonizerMode(daltonizerMode, saturation); in onAccessibilityDaltonizerChanged()
/frameworks/wilhelm/src/itf/
DILEDArray.cpp66 if (!(0 <= color.saturation && color.saturation <= 1000)) in ILEDArray_SetColor()
118 color->saturation = 1000; in ILEDArray_init()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DUtils.java199 public static int hsvToRgb(float hue, float saturation, float value) { in hsvToRgb() argument
202 int p = (int) (0.5f + 255 * value * (1 - saturation)); in hsvToRgb()
203 int q = (int) (0.5f + 255 * value * (1 - f * saturation)); in hsvToRgb()
204 int t = (int) (0.5f + 255 * value * (1 - (1 - f) * saturation)); in hsvToRgb()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DColorFiltersMutateActivity.java164 public void setSaturation(float saturation) { in setSaturation() argument
165 mSaturation = saturation; in setSaturation()
169 m.setSaturation(saturation); in setSaturation()
/frameworks/base/libs/hwui/
DVectorDrawable.cpp592 MinMaxAverage hue, saturation, value; in computePalette() local
604 saturation.add(hsv[1]); in computePalette()
615 sampledCount, hue.min(), hue.max(), hue.average(), saturation.min(), saturation.max(), in computePalette()
616 saturation.average(), value.min(), value.max(), value.average()); in computePalette()
618 if (hue.delta() <= 20 && saturation.delta() <= .1f) { in computePalette()
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp458 MinMaxAverage hue, saturation, value; in computePalette() local
475 saturation.add(hsv[1]); in computePalette()
490 sampledCount, hue.min(), hue.max(), hue.average(), saturation.min(), saturation.max(), in computePalette()
491 saturation.average()); in computePalette()
493 if (hue.delta() <= 20 && saturation.delta() <= .1f) { in computePalette()
/frameworks/libs/native_bridge_support/guest_state/include/native_bridge_support/arm/guest_state/
Dguest_state_cpu_state.h40 uint32_t saturation; member
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java443 public ColorRange(Range<Float> hue, Range<Float> saturation, Range<Float> lightness) { in ColorRange() argument
445 mSaturation = saturation; in ColorRange()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rscript72 // set saturation
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dshadows.rscript72 // set saturation
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rscript72 // set saturation
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dshadows.rscript72 // set saturation
/frameworks/base/services/accessibility/
Daccessibility.aconfig220 description: "Feature allows users to change color correction saturation for daltonizer."
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp7009 mat4 SurfaceFlinger::calculateColorMatrix(float saturation) { in calculateColorMatrix() argument
7010 if (saturation == 1) { in calculateColorMatrix()
7015 luminance *= 1.0f - saturation; in calculateColorMatrix()
7016 mat4 saturationMatrix = mat4(vec4{luminance.r + saturation, luminance.r, luminance.r, 0.0f}, in calculateColorMatrix()
7017 vec4{luminance.g, luminance.g + saturation, luminance.g, 0.0f}, in calculateColorMatrix()
7018 vec4{luminance.b, luminance.b, luminance.b + saturation, 0.0f}, in calculateColorMatrix()
DSurfaceFlinger.h1209 static mat4 calculateColorMatrix(float saturation);
/frameworks/wilhelm/include/SLES/
DOpenSLES.h624 SLpermille saturation; member
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h2594 XApermille saturation; member
/frameworks/wilhelm/doc/
DDoxyfile822 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of
/frameworks/native/docs/
DDoxyfile991 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of
/frameworks/av/media/libaaudio/
DDoxyfile1103 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
/frameworks/av/media/codec2/docs/
Ddoxygen.config1168 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
/frameworks/base/media/native/midi/include/
DDoxyfile1218 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors