Home
last modified time | relevance | path

Searched refs:floatValue (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DInclusiveFloatRangeValidator.java41 final float floatValue = Float.parseFloat(value); in validate() local
42 return floatValue >= mMin && floatValue <= mMax; in validate()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCSVWriterFilter.java75 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()
DImageGoodnessFilter.java99 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/
DFloatEvaluator.java39 float startFloat = startValue.floatValue(); in evaluate()
40 return startFloat + fraction * (endValue.floatValue() - startFloat); in evaluate()
DFloatKeyframeSet.java72 floatValue(); in getFloatValue()
88 floatValue(); in getFloatValue()
106 floatValue(); in getFloatValue()
111 return ((Number)mKeyframes.get(mNumKeyframes - 1).getValue()).floatValue(); in getFloatValue()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceConfig.java1659 mBrightnessDefault = configBrightnessDefault.floatValue(); in loadBrightnessDefaultFromDdcXml()
1717 nits[i] = point.getNits().floatValue(); in loadBrightnessMap()
1718 backlight[i] = point.getValue().floatValue(); in loadBrightnessMap()
1758 nits[i] = point.getSdrNits().floatValue(); in loadSdrHdrRatioMap()
1767 ratios[i] = point.getHdrRatio().floatValue(); in loadSdrHdrRatioMap()
1801 convertThermalStatus(status), point.getBrightness().floatValue())); in loadBrightnessThrottlingMap()
1943 .get(i).getNits().floatValue(); in loadLowerBrightnessThresholds()
1982 .get(i).getNits().floatValue(); in loadHigherBrightnessThresholds()
2049 .getDisplayBrightnessPoint().get(i).getNits().floatValue(); in loadAutoBrightnessDisplayBrightnessMapping()
2051 .getDisplayBrightnessPoint().get(i).getLux().floatValue(); in loadAutoBrightnessDisplayBrightnessMapping()
[all …]
/frameworks/hardware/interfaces/stats/aidl/vts/functional/
DVtsHalStatsTargetTest.cpp51 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P()
72 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P()
93 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P()
114 tmp.set<VendorAtomValue::floatValue>(8.5); in TEST_P()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DAverageFilterTest.java39 assertEquals(1f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(), in testAverageFilter()
50 assertEquals(0.8f, ((Float) getOutputFrame("avg").asFrameValue().getValue()).floatValue(), in testAverageFilter2()
DExposureFilterTest.java59 asFrameValue().getValue()).floatValue(), 0.001f); in testExposureFilter()
62 asFrameValue().getValue()).floatValue(), 0.001f); in testExposureFilter()
DAvgBrightnessFilterTest.java55 asFrameValue().getValue()).floatValue(), 0.01f); in testBrightnessFilter()
DContrastRatioFilterTest.java63 asFrameValue().getValue()).floatValue(), 0.001f); in testContrastFilter()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DSettingsStatsUtil.java164 float floatValue = 0; in createStatsEvent() local
170 .writeFloat(floatValue) in createStatsEvent()
187 floatValue = Float.parseFloat(value); in createStatsEvent()
201 .writeFloat(floatValue) in createStatsEvent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DSharedPreferencesLogger.java134 final float floatValue = (float) value; in logValue() local
135 if (floatValue > Integer.MAX_VALUE) { in logValue()
137 } else if (floatValue < Integer.MIN_VALUE) { in logValue()
140 intVal = (int) floatValue; in logValue()
/frameworks/native/services/stats/
DStatsAidl.cpp57 case VendorAtomValue::floatValue: in reportVendorAtom()
59 atomValue.get<VendorAtomValue::floatValue>()); in reportVendorAtom()
DStatsHal.cpp135 case VendorAtom::Value::hidl_discriminator::floatValue: in reportVendorAtom()
136 AStatsEvent_writeFloat(event, vendorAtom.values[i].floatValue()); in reportVendorAtom()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DNormFilter.java52 float xValue = ((Float)xFrameValue.getValue()).floatValue(); in onProcess()
54 float yValue = ((Float)yFrameValue.getValue()).floatValue(); in onProcess()
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java509 Slog.d(TAG, "value: " + value + ", constraint min: " + min.floatValue()); in adheresToRange()
511 if (value <= min.floatValue()) { in adheresToRange()
520 + minInclusive.floatValue()); in adheresToRange()
522 if (value < minInclusive.floatValue()) { in adheresToRange()
530 Slog.d(TAG, "value: " + value + ", constraint max: " + max.floatValue()); in adheresToRange()
532 if (value >= max.floatValue()) { in adheresToRange()
541 + maxInclusive.floatValue()); in adheresToRange()
543 if (value > maxInclusive.floatValue()) { in adheresToRange()
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java256 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/hardware/interfaces/stats/aidl/android/frameworks/stats/
DVendorAtomValue.aidl25 float floatValue;
/frameworks/base/core/java/android/os/
DStatsBootstrapAtomValue.aidl26 float floatValue;
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/current/android/frameworks/stats/
DVendorAtomValue.aidl39 float floatValue;
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/1/android/frameworks/stats/
DVendorAtomValue.aidl39 float floatValue;
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipTaskOrganizerTest.java134 assertEquals(aspectRatio.floatValue(), mPipBoundsState.getAspectRatio(), 0.01f); in startSwipePipToHome_updatesAspectRatio()
161 assertEquals(aspectRatio.floatValue(), mPipBoundsState.getAspectRatio(), 0.01f); in onTaskAppeared_updatesAspectRatio()
198 .notifyAspectRatioChanged(newAspectRatio.floatValue()); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio()
213 .notifyAspectRatioChanged(newAspectRatio.floatValue()); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()
/frameworks/base/core/java/android/util/
DRational.java287 return floatValue(); in toFloat()
360 public float floatValue() { in floatValue() method in Rational
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp231 *value = item->u.floatValue; in findAsFloat()
297 BASIC_TYPE(Float,floatValue,float) in BASIC_TYPE()
594 "float %s = %f", item.mName, item.u.floatValue); in debugString()
710 item->u.floatValue = parcel.readFloat(); in FromParcel()
798 parcel->writeFloat(item.u.floatValue); in writeToParcel()
865 if (oitem == NULL || item.u.floatValue != oitem->u.floatValue) { in changesFrom()
972 case kTypeFloat: it.set(mItems[index].u.floatValue); break; in getEntryAt()
1041 } else if (item.find(&dst->u.floatValue)) { in setEntryAt()

123