/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/shared/model/ |
D | LinearBrightness.kt | 24 value class LinearBrightness(val floatValue: Float) { in <lambda>() 26 return if (floatValue < min.floatValue) { in <lambda>() 28 } else if (floatValue > max.floatValue) { in <lambda>() 36 get() = floatValue.formatBrightness() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/brightness/data/repository/ |
D | FakeScreenBrightnessRepository.kt | 63 clampedValue.floatValue, in setBrightness() 74 check(min.floatValue <= max.floatValue) in setMinMaxBrightness() 80 clampedBrightness.floatValue, in setMinMaxBrightness() 81 min.floatValue, in setMinMaxBrightness() 82 max.floatValue, in setMinMaxBrightness()
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | InclusiveFloatRangeValidator.java | 41 final float floatValue = Float.parseFloat(value); in validate() local 42 return floatValue >= mMin && floatValue <= mMax; in validate()
|
/frameworks/base/services/core/java/com/android/server/display/config/ |
D | HdrBrightnessData.java | 92 brightnessLimits.put(point.getFirst().floatValue(), point.getSecond().floatValue()); in loadConfig() 97 hdrConfig.getScreenBrightnessRampIncrease().floatValue(), in loadConfig() 99 hdrConfig.getScreenBrightnessRampDecrease().floatValue()); in loadConfig()
|
D | EvenDimmerBrightnessData.java | 138 nits[i] = val.getNits().floatValue(); in loadConfig() 139 backlight[i] = val.getBacklight().floatValue(); in loadConfig() 140 brightness[i] = val.getBrightness().floatValue(); in loadConfig() 143 float transitionPoint = lbm.getTransitionPoint().floatValue(); in loadConfig() 157 minLux[i] = point.getValue().floatValue(); in loadConfig() 158 minNits[i] = point.getNits().floatValue(); in loadConfig()
|
D | SupportedModeData.java | 48 supportedModes.add(new SupportedModeData(supportedMode.getFirst().floatValue(), in load() 49 supportedMode.getSecond().floatValue())); in load()
|
D | HysteresisLevels.java | 335 ? brighteningThresholds.getMinimum().floatValue() : 0f; in createHysteresisLevels() 338 ? darkeningThresholds.getMinimum().floatValue() : 0f; in createHysteresisLevels() 375 thresholdLevels[i] = point.getThreshold().floatValue(); in getBrightnessLevelAndPercentage() 376 thresholdPercentages[i] = point.getPercentage().floatValue(); in getBrightnessLevelAndPercentage()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/ |
D | ScreenBrightnessDisplayManagerRepositoryTest.kt | 100 assertThat(brightness?.floatValue).isEqualTo(currentBrightnessInfo.brightness) in startingBrightnessInfo() 101 assertThat(minBrightness?.floatValue) in startingBrightnessInfo() 103 assertThat(maxBrightness?.floatValue) in startingBrightnessInfo() 129 assertThat(brightness?.floatValue).isEqualTo(currentBrightnessInfo.brightness) in followsChangingBrightnessInfo() 130 assertThat(minBrightness?.floatValue) in followsChangingBrightnessInfo() 132 assertThat(maxBrightness?.floatValue) in followsChangingBrightnessInfo() 143 assertThat(min.floatValue).isEqualTo(currentBrightnessInfo.brightnessMinimum) in minMaxWhenNotCollecting() 144 assertThat(max.floatValue).isEqualTo(currentBrightnessInfo.brightnessMaximum) in minMaxWhenNotCollecting() 171 assertThat(min.floatValue).isEqualTo(currentBrightnessInfo.brightnessMinimum) in minMaxWhenCollecting() 172 assertThat(max.floatValue).isEqualTo(currentBrightnessInfo.brightnessMaximum) in minMaxWhenCollecting()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/domain/interactor/ |
D | ScreenBrightnessInteractor.kt | 88 bounds.first.floatValue, in <lambda>() 89 bounds.second.floatValue in <lambda>() 103 BrightnessUtils.convertLinearToGammaFloat(floatValue, min.floatValue, max.floatValue) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/domain/interactor/ |
D | ScreenBrightnessInteractorTest.kt | 114 min.floatValue, in setTemporaryBrightness() 115 max.floatValue in setTemporaryBrightness() 117 assertThat(temporaryBrightness!!.floatValue) in setTemporaryBrightness() 138 min.floatValue, in setBrightness() 139 max.floatValue in setBrightness() 141 assertThat(brightness!!.floatValue).isWithin(1e-5f).of(expectedBrightness) in setBrightness()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | CSVWriterFilter.java | 75 float sharpness = ((Float)sharpnessValue.getValue()).floatValue(); in onProcess() 79 float overExposure = ((Float)overExposureValue.getValue()).floatValue(); in onProcess() 83 float underExposure = ((Float)underExposureValue.getValue()).floatValue(); in onProcess() 87 float colorfulness = ((Float)colorfulnessValue.getValue()).floatValue(); in onProcess() 91 float contrast = ((Float)contrastValue.getValue()).floatValue(); in onProcess() 95 float brightness = ((Float)brightnessValue.getValue()).floatValue(); in onProcess()
|
D | ImageGoodnessFilter.java | 99 float sharpness = ((Float)sharpnessFrameValue.getValue()).floatValue(); in onProcess() 103 float overExposure = ((Float)overExposureFrameValue.getValue()).floatValue(); in onProcess() 107 float underExposure = ((Float)underExposureFrameValue.getValue()).floatValue(); in onProcess() 111 float colorfulness = ((Float)colorfulnessFrameValue.getValue()).floatValue(); in onProcess() 115 float contrastRating = ((Float)contrastRatingFrameValue.getValue()).floatValue(); in onProcess() 119 float brightness = ((Float)brightnessFrameValue.getValue()).floatValue(); in onProcess()
|
/frameworks/base/core/java/android/animation/ |
D | FloatEvaluator.java | 39 float startFloat = startValue.floatValue(); in evaluate() 40 return startFloat + fraction * (endValue.floatValue() - startFloat); in evaluate()
|
D | FloatKeyframeSet.java | 72 floatValue(); in getFloatValue() 88 floatValue(); in getFloatValue() 106 floatValue(); in getFloatValue() 111 return ((Number)mKeyframes.get(mNumKeyframes - 1).getValue()).floatValue(); in getFloatValue()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
D | AverageFilterTest.java | 39 assertEquals(1f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(), in testAverageFilter() 50 assertEquals(0.8f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(), in testAverageFilter2()
|
D | ExposureFilterTest.java | 59 asFrameValue().getValue()).floatValue(), 0.001f); in testExposureFilter() 62 asFrameValue().getValue()).floatValue(), 0.001f); in testExposureFilter()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceConfig.java | 1860 mBrightnessDefault = configBrightnessDefault.floatValue(); in loadBrightnessDefaultFromDdcXml() 1918 nits[i] = point.getNits().floatValue(); in loadBrightnessMap() 1919 backlight[i] = point.getValue().floatValue(); in loadBrightnessMap() 1959 nits[i] = point.getSdrNits().floatValue(); in loadSdrHdrRatioMap() 1968 ratios[i] = point.getHdrRatio().floatValue(); in loadSdrHdrRatioMap() 2007 convertThermalStatus(status), point.getBrightness().floatValue())); in loadThermalBrightnessThrottlingMaps() 2061 point.getRefreshRateRange().getMinimum().floatValue(), in loadThermalRefreshRateThrottlingMap() 2062 point.getRefreshRateRange().getMaximum().floatValue() in loadThermalRefreshRateThrottlingMap() 2097 point.getPowerQuotaMilliWatts().floatValue())); in loadPowerThrottlingMaps() 2121 float lowestBrightnessCap = powerThrottlingCfg.getBrightnessLowestCapAllowed().floatValue(); in loadPowerThrottlingConfigData() [all …]
|
/frameworks/hardware/interfaces/stats/aidl/vts/functional/ |
D | VtsHalStatsTargetTest.cpp | 51 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P() 98 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P() 119 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P() 140 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | SettingsStatsUtil.java | 164 float floatValue = 0; in createStatsEvent() local 170 .writeFloat(floatValue) in createStatsEvent() 187 floatValue = Float.parseFloat(value); in createStatsEvent() 201 .writeFloat(floatValue) in createStatsEvent()
|
/frameworks/libs/systemui/monet/src/com/android/systemui/monet/ |
D | TonalPalette.java | 35 this.allShades = SHADE_KEYS.stream().map(key -> getAtTone(key.floatValue())).collect( in TonalPalette() 38 Collectors.toMap(key -> key, key -> getAtTone(key.floatValue()))); in TonalPalette()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | NormFilter.java | 52 float xValue = ((Float)xFrameValue.getValue()).floatValue(); in onProcess() 54 float yValue = ((Float)yFrameValue.getValue()).floatValue(); in onProcess()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferencesLogger.java | 141 final float floatValue = (float) value; in logValue() local 142 if (floatValue > Integer.MAX_VALUE) { in logValue() 144 } else if (floatValue < Integer.MIN_VALUE) { in logValue() 147 intVal = (int) floatValue; in logValue()
|
/frameworks/base/media/java/android/media/audiofx/ |
D | DynamicsProcessing.java | 256 setPreferredFrameDuration(values[1].floatValue()); in getConfig() 1956 values[1].floatValue() /* cutoffFrequency */, in queryEngineEqBandByChannelIndex() 1957 values[2].floatValue() /* gain*/); in queryEngineEqBandByChannelIndex() 2017 values[1].floatValue() /* cutoffFrequency */, in queryEngineMbcBandByChannelIndex() 2018 values[2].floatValue()/*2 AttackTime */, in queryEngineMbcBandByChannelIndex() 2019 values[3].floatValue()/*3 ReleaseTime */, in queryEngineMbcBandByChannelIndex() 2020 values[4].floatValue()/*4 Ratio */, in queryEngineMbcBandByChannelIndex() 2021 values[5].floatValue()/*5 Threshold */, in queryEngineMbcBandByChannelIndex() 2022 values[6].floatValue()/*6 KneeWidth */, in queryEngineMbcBandByChannelIndex() 2023 values[7].floatValue()/*7 NoiseGateThreshold */, in queryEngineMbcBandByChannelIndex() [all …]
|
/frameworks/base/core/java/android/os/ |
D | StatsBootstrapAtomValue.aidl | 26 float floatValue;
|
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/1/android/frameworks/stats/ |
D | VendorAtomValue.aidl | 39 float floatValue;
|