Home
last modified time | relevance | path

Searched refs:isRegionDark (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DDefaultClockController.kt120 private var isRegionDark = false variable
145 override fun onRegionDarknessChanged(isRegionDark: Boolean) { in onTimeTick()
146 this@DefaultClockFaceController.isRegionDark = isRegionDark in onTimeTick()
172 } else if (isRegionDark) { in updateColor()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt245 val isRegionDark = it.currentRegionDarkness().isDark in <lambda>() constant
246 clock.smallClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()
250 val isRegionDark = it.currentRegionDarkness().isDark in <lambda>() constant
251 clock.largeClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()
259 val isRegionDark = isLightTheme.data == 0 in <lambda>() constant
262 Log.i(TAG, "Region isDark: $isRegionDark") in <lambda>()
263 smallClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()
264 largeClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarHandleView.java92 public void updateHandleColor(boolean isRegionDark, boolean animated) { in updateHandleColor() argument
93 int newColor = isRegionDark ? mHandleLightColor : mHandleDarkColor; in updateHandleColor()
DBubbleBarExpandedView.java388 final boolean isRegionDark = Color.luminance(color) <= 0.5; in updateHandleColor()
389 mHandleView.updateHandleColor(isRegionDark, animated); in updateHandleColor()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/
DRegionSampler.kt104 private fun getRegionDarkness(isRegionDark: Boolean): RegionDarkness { in getRegionDarkness()
105 return if (isRegionDark) { in getRegionDarkness()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DClockProviderPlugin.kt237 fun onRegionDarknessChanged(isRegionDark: Boolean) in onTimeTick()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/
DRegionSamplingHelper.java327 void onRegionDarknessChanged(boolean isRegionDark);
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java667 public void onRegionDarknessChanged(boolean isRegionDark) { in NavigationBar()
669 !isRegionDark, true /* animate */); in NavigationBar()