Searched refs:isRegionDark (Results 1 – 8 of 8) sorted by relevance
120 private var isRegionDark = false variable145 override fun onRegionDarknessChanged(isRegionDark: Boolean) { in onTimeTick()146 this@DefaultClockFaceController.isRegionDark = isRegionDark in onTimeTick()172 } else if (isRegionDark) { in updateColor()
245 val isRegionDark = it.currentRegionDarkness().isDark in <lambda>() constant246 clock.smallClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()250 val isRegionDark = it.currentRegionDarkness().isDark in <lambda>() constant251 clock.largeClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()259 val isRegionDark = isLightTheme.data == 0 in <lambda>() constant262 Log.i(TAG, "Region isDark: $isRegionDark") in <lambda>()263 smallClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()264 largeClock.events.onRegionDarknessChanged(isRegionDark) in <lambda>()
92 public void updateHandleColor(boolean isRegionDark, boolean animated) { in updateHandleColor() argument93 int newColor = isRegionDark ? mHandleLightColor : mHandleDarkColor; in updateHandleColor()
388 final boolean isRegionDark = Color.luminance(color) <= 0.5; in updateHandleColor()389 mHandleView.updateHandleColor(isRegionDark, animated); in updateHandleColor()
104 private fun getRegionDarkness(isRegionDark: Boolean): RegionDarkness { in getRegionDarkness()105 return if (isRegionDark) { in getRegionDarkness()
237 fun onRegionDarknessChanged(isRegionDark: Boolean) in onTimeTick()
327 void onRegionDarknessChanged(boolean isRegionDark);
667 public void onRegionDarknessChanged(boolean isRegionDark) { in NavigationBar()669 !isRegionDark, true /* animate */); in NavigationBar()