Home
last modified time | relevance | path

Searched refs:horizon (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientFilterTest.java51 final int horizon = 5 * 1000; in testBrightnessFilter_ZeroIntercept() local
56 setMockValues(mResourcesSpy, horizon, intercept); in testBrightnessFilter_ZeroIntercept()
76 filter.addValue(time_start + horizon + prediction_time, 50); in testBrightnessFilter_ZeroIntercept()
77 assertEquals(40.38846f, filter.getEstimate(time_start + horizon + prediction_time), 0.001); in testBrightnessFilter_ZeroIntercept()
82 final int horizon = 5 * 1000; in testBrightnessFilter_WithIntercept() local
87 setMockValues(mResourcesSpy, horizon, intercept); in testBrightnessFilter_WithIntercept()
107 filter.addValue(time_start + horizon + prediction_time, 50); in testBrightnessFilter_WithIntercept()
108 assertEquals(40.23513f, filter.getEstimate(time_start + horizon + prediction_time), 0.001); in testBrightnessFilter_WithIntercept()
111 private void setMockValues(Resources resources, int horizon, float intercept) { in setMockValues() argument
123 .config_displayWhiteBalanceBrightnessFilterHorizon)).thenReturn(horizon); in setMockValues()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientFilter.java59 AmbientFilter(String tag, int horizon) { in AmbientFilter() argument
60 validateArguments(horizon); in AmbientFilter()
63 mHorizon = horizon; in AmbientFilter()
142 private void validateArguments(int horizon) { in validateArguments() argument
143 if (horizon <= 0) { in validateArguments()
180 WeightedMovingAverageAmbientFilter(String tag, int horizon, float intercept) { in WeightedMovingAverageAmbientFilter() argument
181 super(tag, horizon); in WeightedMovingAverageAmbientFilter()
DDisplayWhiteBalanceFactory.java105 final int horizon = resources.getInteger( in createBrightnessFilter() local
111 BRIGHTNESS_FILTER_TAG, horizon, intercept); in createBrightnessFilter()
134 final int horizon = resources.getInteger( in createColorTemperatureFilter() local
142 COLOR_TEMPERATURE_FILTER_TAG, horizon, intercept); in createColorTemperatureFilter()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScoringParams.java68 public int horizon = 15; field in ScoringParams.Values
95 horizon = source.horizon; in Values()
104 validateRange(horizon, MIN_HORIZON, MAX_HORIZON); in validate()
143 horizon = updateInt(parser, KEY_HORIZON, horizon); in parseString()
180 sb.append(horizon); in toString()
343 return mVal.horizon; in getHorizonSeconds()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java552 private float calculateAmbientLux(long now, long horizon) { in calculateAmbientLux() argument
554 Slog.d(TAG, "calculateAmbientLux(" + now + ", " + horizon + ")"); in calculateAmbientLux()
564 final long horizonStartTime = now - horizon; in calculateAmbientLux()
1011 public void prune(long horizon) { in prune() argument
1021 if (mRingTime[next] > horizon) { in prune()
1035 if (mRingTime[mStart] < horizon) { in prune()
1036 mRingTime[mStart] = horizon; in prune()
DBrightnessTracker.java842 long horizon = mInjector.elapsedRealtimeNanos() - LUX_EVENT_HORIZON; in recordSensorEvent() local
854 && mLastSensorReadings.getFirst().timestamp < horizon) { in recordSensorEvent()
/frameworks/base/proto/src/
Dwifi.proto1095 // Prediction horizon (in second) of Wifi usability score provided by external
1834 // Prediction horizon (in second) of Wifi usability score provided by external
2015 // Prediction horizon (in second) of Wifi usability score provided by external
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...