Home
last modified time | relevance | path

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

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/
DAmbientFilterTest.java52 final int horizon = 5 * 1000; in testBrightnessFilter_ZeroIntercept() local
57 setMockValues(mResourcesSpy, horizon, intercept); in testBrightnessFilter_ZeroIntercept()
77 filter.addValue(time_start + horizon + prediction_time, 50); in testBrightnessFilter_ZeroIntercept()
78 assertEquals(40.38846f, filter.getEstimate(time_start + horizon + prediction_time), 0.001); in testBrightnessFilter_ZeroIntercept()
83 final int horizon = 5 * 1000; in testBrightnessFilter_WithIntercept() local
88 setMockValues(mResourcesSpy, horizon, intercept); in testBrightnessFilter_WithIntercept()
108 filter.addValue(time_start + horizon + prediction_time, 50); in testBrightnessFilter_WithIntercept()
109 assertEquals(40.23513f, filter.getEstimate(time_start + horizon + prediction_time), 0.001); in testBrightnessFilter_WithIntercept()
112 private void setMockValues(Resources resources, int horizon, float intercept) { in setMockValues() argument
124 .config_displayWhiteBalanceBrightnessFilterHorizon)).thenReturn(horizon); in setMockValues()
/frameworks/base/services/core/java/com/android/server/display/utils/
DAmbientFilterFactory.java42 public static AmbientFilter createAmbientFilter(String tag, int horizon, float intercept) { in createAmbientFilter() argument
44 return new AmbientFilter.WeightedMovingAverageAmbientFilter(tag, horizon, intercept); in createAmbientFilter()
61 final int horizon = resources.getInteger( in createBrightnessFilter() local
66 return createAmbientFilter(tag, horizon, intercept); in createBrightnessFilter()
81 final int horizon = resources.getInteger( in createColorTemperatureFilter() local
88 return createAmbientFilter(tag, horizon, intercept); in createColorTemperatureFilter()
DAmbientFilter.java57 AmbientFilter(String tag, int horizon) { in AmbientFilter() argument
58 validateArguments(horizon); in AmbientFilter()
61 mHorizon = horizon; in AmbientFilter()
140 private void validateArguments(int horizon) { in validateArguments() argument
141 if (horizon <= 0) { in validateArguments()
178 WeightedMovingAverageAmbientFilter(String tag, int horizon, float intercept) { in WeightedMovingAverageAmbientFilter() argument
179 super(tag, horizon); in WeightedMovingAverageAmbientFilter()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java774 private float calculateAmbientLux(long now, long horizon) { in calculateAmbientLux() argument
776 Slog.d(TAG, "calculateAmbientLux(" + now + ", " + horizon + ")"); in calculateAmbientLux()
786 final long horizonStartTime = now - horizon; in calculateAmbientLux()
1522 public void prune(long horizon) { in prune() argument
1532 if (mRingTime[next] > horizon) { in prune()
1546 if (mRingTime[mStart] < horizon) { in prune()
1547 mRingTime[mStart] = horizon; in prune()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...