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/utils/
DAmbientFilterTest.java62 assertEquals(30, filter.getEstimate(time_start + prediction_time), 0.001); in testBrightnessFilter_ZeroIntercept()
74 assertEquals(37.5, filter.getEstimate(time_start + prediction_time), 0.001); in testBrightnessFilter_ZeroIntercept()
78 assertEquals(40.38846f, filter.getEstimate(time_start + horizon + prediction_time), 0.001); in testBrightnessFilter_ZeroIntercept()
93 assertEquals(30, filter.getEstimate(time_start + prediction_time), 0.001); in testBrightnessFilter_WithIntercept()
105 assertEquals(35.02475f, filter.getEstimate(time_start + prediction_time), 0.001); in testBrightnessFilter_WithIntercept()
109 assertEquals(40.23513f, filter.getEstimate(time_start + horizon + prediction_time), 0.001); in testBrightnessFilter_WithIntercept()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DEnhancedEstimates.java15 Estimate getEstimate(); in getEstimate() method
DEnhancedEstimatesImpl.java22 public Estimate getEstimate() { in getEstimate() method in EnhancedEstimatesImpl
DPowerUI.java375 final Estimate estimate = mEnhancedEstimates.getEstimate(); in refreshEstimateIfNeeded()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceController.java365 float ambientColorTemperature = mColorTemperatureFilter.getEstimate(time); in updateAmbientColorTemperature()
373 float ambientBrightness = mBrightnessFilter.getEstimate(time); in updateAmbientColorTemperature()
/frameworks/base/services/core/java/com/android/server/display/utils/
DAmbientFilter.java95 public float getEstimate(long time) { in getEstimate() method in AmbientFilter
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java534 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
548 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
558 when(mEnhancedEstimates.getEstimate()).thenReturn(estimate); in testRefreshEstimateIfNeeded_onlyQueriesEstimateOnBatteryLevelChangeOrNull()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientLuxTest.java440 when(colorTemperatureFilter.getEstimate(anyLong())).thenReturn(ambientColorTemperature); in setEstimatedColorTemperature()
445 when(controller.mBrightnessFilter.getEstimate(anyLong())).thenReturn(brightness); in setEstimatedBrightnessAndUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java279 mEstimate = mEstimates.getEstimate(); in updateEstimate()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java1395 mAmbientLux = mAmbientFilter.getEstimate(now); in processSensorData()
/frameworks/base/services/
Dart-profile15930 HSPLcom/android/server/display/utils/AmbientFilter;->getEstimate(J)F