Home
last modified time | relevance | path

Searched refs:regionSampler (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/regionsampling/
DRegionSamplerTest.kt44 private lateinit var regionSampler: RegionSampler // lockscreen variable in com.android.systemui.shared.regionsampling.RegionSamplerTest
61 regionSampler = in setUp()
71 regionSampler.displaySize.set(1080, 2050) in setUp()
91 regionSampler.calculateScreenLocation(sampledView)?.let { in testCalculatedBounds_inRange()
92 regionSampler.convertBounds(it) in testCalculatedBounds_inRange()
106 regionSampler.startRegionSampler() in testEmptyView_returnsEarly()
118 regionSampler.startRegionSampler() in testLayoutChange_notifiesListener()
149 regionSampler.startRegionSampler() in testColorsChanged_triggersCallback()
162 regionSampler.startRegionSampler() in testRegionDarkness()
172 assertThat(regionSampler.currentRegionDarkness()).isEqualTo(RegionDarkness.DARK) in testRegionDarkness()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt169 var regionSampler = RegionSampler( in <lambda>() variable
176 initializeTextColors(regionSampler) in <lambda>()
177 regionSamplers[v] = regionSampler in <lambda>()
178 regionSampler.startRegionSampler() in <lambda>()
602 private fun initializeTextColors(regionSampler: RegionSampler) { in <lambda>()
609 regionSampler.setForegroundColors(lightColor, darkColor) in <lambda>()