Home
last modified time | relevance | path

Searched refs:getEstimate (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientFilterTest.java61 assertEquals(30, filter.getEstimate(time_start + prediction_time), 0.001); in testBrightnessFilter_ZeroIntercept()
73 assertEquals(37.5, filter.getEstimate(time_start + prediction_time), 0.001); in testBrightnessFilter_ZeroIntercept()
77 assertEquals(40.38846f, filter.getEstimate(time_start + horizon + prediction_time), 0.001); in testBrightnessFilter_ZeroIntercept()
92 assertEquals(30, filter.getEstimate(time_start + prediction_time), 0.001); in testBrightnessFilter_WithIntercept()
104 assertEquals(35.02475f, filter.getEstimate(time_start + prediction_time), 0.001); in testBrightnessFilter_WithIntercept()
108 assertEquals(40.23513f, filter.getEstimate(time_start + horizon + prediction_time), 0.001); in testBrightnessFilter_WithIntercept()
DAmbientLuxTest.java427 when(colorTemperatureFilter.getEstimate(anyLong())).thenReturn(ambientColorTemperature); in setEstimatedColorTemperature()
432 when(controller.mBrightnessFilter.getEstimate(anyLong())).thenReturn(brightness); in setEstimatedBrightnessAndUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DEnhancedEstimates.java15 Estimate getEstimate(); in getEstimate() method
DEnhancedEstimatesImpl.java21 public Estimate getEstimate() { in getEstimate() method in EnhancedEstimatesImpl
DPowerUI.java339 final Estimate estimate = mEnhancedEstimates.getEstimate(); in refreshEstimateIfNeeded()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceController.java355 float ambientColorTemperature = mColorTemperatureFilter.getEstimate(time); in updateAmbientColorTemperature()
363 float ambientBrightness = mBrightnessFilter.getEstimate(time); in updateAmbientColorTemperature()
DAmbientFilter.java98 public float getEstimate(long time) { in getEstimate() method in AmbientFilter
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java513 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
527 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
537 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java262 mEstimate = mEstimates.getEstimate(); in updateEstimate()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java1120 mAmbientLux = mAmbientFilter.getEstimate(now); in processSensorData()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt111812 Ljava/util/TreeMap$TreeMapSpliterator;->getEstimate()I