Home
last modified time | relevance | path

Searched refs:luminance (Results 1 – 9 of 9) sorted by relevance

/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/theme/
DAccentColorHelper.kt23 import androidx.compose.ui.graphics.luminance
66 if (isAccentColorBright(accentColor.luminance())) in <lambda>()
88 if (!isColorFeasibleForBothBackgrounds(Color(inputColor).luminance())) { in checkColorValidityAndGetColor()
99 private fun isColorFeasibleForBothBackgrounds(luminance: Float): Boolean { in isColorFeasibleForBothBackgrounds()
100 return luminance >= 0.05 && luminance < 0.9 in isColorFeasibleForBothBackgrounds()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerAccentColorParameters.java44 mAccentColorLuminance = Color.luminance(color); in PickerAccentColorParameters()
98 float luminance = Color.luminance(color); in isColorFeasibleForBothBackgrounds() local
99 return luminance >= 0.05 && luminance < 0.9; in isColorFeasibleForBothBackgrounds()
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/
DClockCarouselViewModel.kt92 val luminance = Color.luminance(seedColor) in <lambda>() constant
94 if (luminance <= CARD_COLOR_CHANGE_LUMINANCE_THRESHOLD_DARK_THEME) { in <lambda>()
100 if (luminance <= CARD_COLOR_CHANGE_LUMINANCE_THRESHOLD_LIGHT_THEME) { in <lambda>()
/packages/apps/Car/Notification/src/com/android/car/notification/
DNotificationUtils.java159 return Color.luminance(backgroundColor) > LIGHT_COLOR_LUMINANCE_THRESHOLD; in isColorLight()
285 Color.luminance(foregroundColor) > Color.luminance(backgroundColor); in getContrastedForegroundColor()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java1262 float lum1 = color1.luminance(); in checkContrastRatio()
1263 float lum2 = color2.luminance(); in checkContrastRatio()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dfr_wordlist.combined.gz