Searched refs:regionSampler (Results 1 – 2 of 2) sorted by relevance
44 private lateinit var regionSampler: RegionSampler // lockscreen variable in com.android.systemui.shared.regionsampling.RegionSamplerTest61 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 …]
169 var regionSampler = RegionSampler( in <lambda>() variable176 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>()