/frameworks/base/services/core/java/com/android/server/display/color/ |
D | GlobalSaturationTintController.java | 58 float[] luminance = {0.231f * desaturation, 0.715f * desaturation, in setMatrix() local 60 mMatrixGlobalSaturation[0] = luminance[0] + saturation; in setMatrix() 61 mMatrixGlobalSaturation[1] = luminance[0]; in setMatrix() 62 mMatrixGlobalSaturation[2] = luminance[0]; in setMatrix() 63 mMatrixGlobalSaturation[4] = luminance[1]; in setMatrix() 64 mMatrixGlobalSaturation[5] = luminance[1] + saturation; in setMatrix() 65 mMatrixGlobalSaturation[6] = luminance[1]; in setMatrix() 66 mMatrixGlobalSaturation[8] = luminance[2]; in setMatrix() 67 mMatrixGlobalSaturation[9] = luminance[2]; in setMatrix() 68 mMatrixGlobalSaturation[10] = luminance[2] + saturation; in setMatrix()
|
D | AppSaturationController.java | 136 float[] luminance = {0.231f * desaturation, 0.715f * desaturation, in computeGrayscaleTransformMatrix() local 138 matrix[0] = luminance[0] + saturation; in computeGrayscaleTransformMatrix() 139 matrix[1] = luminance[0]; in computeGrayscaleTransformMatrix() 140 matrix[2] = luminance[0]; in computeGrayscaleTransformMatrix() 141 matrix[3] = luminance[1]; in computeGrayscaleTransformMatrix() 142 matrix[4] = luminance[1] + saturation; in computeGrayscaleTransformMatrix() 143 matrix[5] = luminance[1]; in computeGrayscaleTransformMatrix() 144 matrix[6] = luminance[2]; in computeGrayscaleTransformMatrix() 145 matrix[7] = luminance[2]; in computeGrayscaleTransformMatrix() 146 matrix[8] = luminance[2] + saturation; in computeGrayscaleTransformMatrix()
|
/frameworks/base/packages/SystemUI/res/raw/ |
D | image_wallpaper_fragment_shader.glsl | 6 // The 85th percenile for the luminance histogram of the image (a value between 0 and 1). 18 * Calculates the relative luminance of the pixel. 26 // Getting the luminance for this pixel 30 * while the reveal > per85, it shows the luminance image (B&W image) 42 * - from reveal=1 to reveal=per85 => lower=per85, diffuse=luminance 47 * - from reveal=per85 to reveal=0 => lower=reveal, 'diffuse' changes from luminance to color
|
/frameworks/av/cmds/stagefright/filters/ |
D | nightvision.rscript | 24 // calculates luminance of pixel, then biases color balance toward green
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 391 final float luminance = tmpHsl[2]; in calculateDarkHints() local 403 totalLuminance += luminance; in calculateDarkHints()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 627 public float luminance() { in luminance() method in Color 1216 public static float luminance(@ColorLong long color) { in luminance() method in Color 1353 public static float luminance(@ColorInt int color) { in luminance() method in Color
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLayout.java | 334 double luminance = ContrastColorUtil.calculateLuminance(layoutColor); in findColor() local 338 shift += Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - luminance, 0); in findColor() 339 shift -= Math.max(COLOR_SHIFT_AMOUNT / 2.0f / 100 - (1.0f - luminance), 0); in findColor()
|
/frameworks/rs/ |
D | rsFont.cpp | 796 const float luminance = (r * 2.0f + g * 5.0f + b) / 8.0f; in setFontColor() local 797 if (luminance <= mBlackThreshold) { in setFontColor() 799 } else if (luminance >= mWhiteThreshold) { in setFontColor()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 5149 float3 luminance{0.213f, 0.715f, 0.072f}; in updateColorMatrixLocked() local 5150 luminance *= 1.0f - mGlobalSaturationFactor; in updateColorMatrixLocked() 5152 vec4{luminance.r + mGlobalSaturationFactor, luminance.r, luminance.r, 0.0f}, in updateColorMatrixLocked() 5153 vec4{luminance.g, luminance.g + mGlobalSaturationFactor, luminance.g, 0.0f}, in updateColorMatrixLocked() 5154 vec4{luminance.b, luminance.b, luminance.b + mGlobalSaturationFactor, 0.0f}, in updateColorMatrixLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarView.java | 470 Color.luminance(textColor) < 0.5 ? R.color.dark_mode_icon_color_single_tone : in updateIconsAndTextColors()
|
/frameworks/native/services/surfaceflinger/sysprop/ |
D | SurfaceFlingerProperties.sysprop | 102 # 2. has high luminance capability, typically 540 nits or higher at 10% OPR
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsView.java | 201 boolean usingDarkText = Color.luminance(textColor) < 0.5f; in reevaluateStyles()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 2181 if (Color.luminance(value.data) < 0.5) { in setDecorCaptionShade()
|
/frameworks/wilhelm/doc/ |
D | Doxyfile | 829 # the luminance component of the colors in the HTML output. Values below
|
/frameworks/native/docs/ |
D | Doxyfile | 998 # the luminance component of the colors in the HTML output. Values below
|
/frameworks/av/media/libaaudio/ |
D | Doxyfile | 1112 # luminance component of the colors in the HTML output. Values below 100
|
D | Doxyfile.orig | 1103 # luminance component of the colors in the HTML output. Values below 100
|
/frameworks/av/media/codec2/docs/ |
D | doxygen.config | 1177 # luminance component of the colors in the HTML output. Values below 100
|
/frameworks/base/media/native/midi/include/ |
D | Doxyfile.orig | 1227 # luminance component of the colors in the HTML output. Values below 100
|
D | Doxyfile | 1227 # luminance component of the colors in the HTML output. Values below 100
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 13951 method public float luminance(); 13952 method public static float luminance(@ColorLong long); 13953 method public static float luminance(@ColorInt int);
|
/frameworks/base/api/ |
D | current.txt | 13951 method public float luminance(); 13952 method public static float luminance(@ColorLong long); 13953 method public static float luminance(@ColorInt int);
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 41573 HSPLandroid/graphics/Color;->luminance(I)F
|