Searched refs:luminance (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/app/
H A DWallpaperColors.java374 final float luminance = tmpHsl[2];
378 if (luminance < DARK_PIXEL_LUMINANCE && alpha != 0) {
381 totalLuminance += luminance;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DarmVCM4P2_SetPredDir_s.s39 ; * alpha blocks spatially corresponding to luminance
H A DomxVCM4P2_PredictReconCoefIntra_s.s60 ; * [in] videoComp video component type (luminance, chrominance or
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DarmVCM4P2_SetPredDir_s.s39 ; * alpha blocks spatially corresponding to luminance
H A DomxVCM4P2_PredictReconCoefIntra_s.s60 ; * [in] videoComp video component type (luminance, chrominance or
/frameworks/base/graphics/java/android/graphics/
H A DColor.java617 * <p>Returns the relative luminance of this color.</p>
619 * <p>Based on the formula for relative luminance defined in WCAG 2.0,
627 public float luminance() { method in class:Color
1206 * <p>Returns the relative luminance of a color.</p>
1208 * <p>Based on the formula for relative luminance defined in WCAG 2.0,
1216 public static float luminance(@ColorLong long color) { method in class:Color
1346 * Returns the relative luminance of a color.
1348 * Assumes sRGB encoding. Based on the formula for relative luminance
1353 public static float luminance(@ColorInt int color) { method in class:Color
/frameworks/rs/
H A DrsFont.cpp796 const float luminance = (r * 2.0f + g * 5.0f + b) / 8.0f; local
797 if (luminance <= mBlackThreshold) {
799 } else if (luminance >= mWhiteThreshold) {
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp1774 float3 luminance{0.213f, 0.715f, 0.072f};
1775 luminance *= 1.0f - mSaturation;
1777 vec4{luminance.r + mSaturation, luminance.r, luminance.r, 0.0f},
1778 vec4{luminance.g, luminance.g + mSaturation, luminance.g, 0.0f},
1779 vec4{luminance.b, luminance
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardStatusBarView.java338 @ColorInt int iconColor = Utils.getDefaultColor(mContext, Color.luminance(textColor) < 0.5 ?
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java190 boolean usingDarkText = Color.luminance(textColor) < 0.5f;
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java2027 if (Color.luminance(value.data) < 0.5) {

Completed in 283 milliseconds