Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/utils/
H A 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()
/aosp12/frameworks/base/services/core/java/com/android/server/display/utils/
H A 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()
H A 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()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DScoringParams.java72 public int horizon = 15; field in ScoringParams.Values
116 horizon = source.horizon; in Values()
126 validateRange(horizon, MIN_HORIZON, MAX_HORIZON); in validate()
167 horizon = updateInt(parser, KEY_HORIZON, horizon); in parseString()
206 sb.append(horizon); in toString()
375 return mVal.horizon; in getHorizonSeconds()
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DAutomaticBrightnessController.java573 private float calculateAmbientLux(long now, long horizon) { in calculateAmbientLux() argument
575 Slog.d(TAG, "calculateAmbientLux(" + now + ", " + horizon + ")"); in calculateAmbientLux()
585 final long horizonStartTime = now - horizon; in calculateAmbientLux()
1044 public void prune(long horizon) { in prune() argument
1054 if (mRingTime[next] > horizon) { in prune()
1068 if (mRingTime[mStart] < horizon) { in prune()
1069 mRingTime[mStart] = horizon; in prune()
H A DBrightnessTracker.java896 long horizon = mInjector.elapsedRealtimeNanos() - LUX_EVENT_HORIZON; in recordSensorEvent() local
908 && mLastSensorReadings.getFirst().timestamp < horizon) { in recordSensorEvent()
/aosp12/packages/services/Car/cpp/evs/apps/default/
H A Dconfig.json.readme11 // Pitch is measured from the horizon, positive upward (postive X rotation).
40 "pitch" : -30, // Optical axis degrees above the horizon
/aosp12/packages/modules/Wifi/service/proto/src/
H A Dmetrics.proto1546 // Prediction horizon (in second) of Wifi usability score provided by external
2421 // Prediction horizon (in second) of Wifi usability score provided by external
2617 // Prediction horizon (in second) of Wifi usability score provided by external
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
H A Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
H A Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
H A Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
H A Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
H A Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
H A Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
H A Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
H A Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...