Home
last modified time | relevance | path

Searched refs:isDarkMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/
DLottieColorUtils.java85 private static boolean isDarkMode(Context context) { in isDarkMode() method in LottieColorUtils
94 if (isDarkMode(context)) { in applyDynamicColors()
DColorUtils.java99 private static boolean isDarkMode(Context context) { in isDarkMode() method in ColorUtils
110 final int color = isDarkMode(context) ? fixedColorPair.second : fixedColorPair.first; in applyDynamicColors()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/
DAppHeaderViewHolder.kt173 maximizeButtonView.setAnimationTints(isDarkMode()) in bindDataLegacy()
437 if (isDarkMode()) { in getCaptionBackgroundColor()
463 isDarkMode() -> materialColorOnSurface in getAppNameAndButtonColor()
467 isDarkMode() && !taskInfo.isFocused -> DARK_THEME_UNFOCUSED_OPACITY in getAppNameAndButtonColor()
468 !isDarkMode() && !taskInfo.isFocused -> LIGHT_THEME_UNFOCUSED_OPACITY in getAppNameAndButtonColor()
487 private fun isDarkMode(): Boolean { in isDarkMode() method
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/extensions/
DConfigurationExt.kt26 fun Configuration.isDarkMode(): Boolean { in Configuration() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DSideFpsOverlayViewModel.kt202 if (!isDarkMode(applicationContext)) { in <lambda>()
224 private fun isDarkMode(context: Context): Boolean { in isDarkMode() method
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossActivityBackAnimation.kt372 val isDarkTheme: Boolean = isDarkMode(context) in <lambda>()
569 private fun isDarkMode(context: Context): Boolean { in isDarkMode() method