Home
last modified time | relevance | path

Searched refs:floatValue (Results 1 – 25 of 54) 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()
DAverageFilter.java58 temp[counter] = ((Float)inFrameValue.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.java441 mBrightnessDefault = configBrightnessDefault.floatValue(); in loadBrightnessDefaultFromDdcXml()
498 nits[i] = point.getNits().floatValue(); in loadBrightnessMap()
499 backlight[i] = point.getValue().floatValue(); in loadBrightnessMap()
648 mHbmData.minimumLux = hbm.getMinimumLux_all().floatValue(); in loadHighBrightnessModeData()
649 float transitionPointBacklightScale = hbm.getTransitionPoint_all().floatValue(); in loadHighBrightnessModeData()
665 final float min = rr.getMinimum().floatValue(); in loadHighBrightnessModeData()
666 final float max = rr.getMaximum().floatValue(); in loadHighBrightnessModeData()
683 mBrightnessRampFastDecrease = fastDownDecimal.floatValue(); in loadBrightnessRamps()
684 mBrightnessRampFastIncrease = fastUpDecimal.floatValue(); in loadBrightnessRamps()
685 mBrightnessRampSlowDecrease = slowDownDecimal.floatValue(); in loadBrightnessRamps()
[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/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/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/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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipTaskOrganizerTest.java122 assertEquals(aspectRatio.floatValue(), mPipBoundsState.getAspectRatio(), 0.01f); in startSwipePipToHome_updatesAspectRatio()
149 assertEquals(aspectRatio.floatValue(), mPipBoundsState.getAspectRatio(), 0.01f); in onTaskAppeared_updatesAspectRatio()
181 assertEquals(startAspectRatio.floatValue(), mPipBoundsState.getAspectRatio(), 0.01f); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio()
185 assertEquals(newAspectRatio.floatValue(), mPipBoundsState.getAspectRatio(), 0.01f); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio()
199 assertEquals(newAspectRatio.floatValue(), mPipBoundsState.getAspectRatio(), 0.01f); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()
/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/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/aidl_api/android.frameworks.stats/1/android/frameworks/stats/
DVendorAtomValue.aidl39 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/android/frameworks/stats/
DVendorAtomValue.aidl25 float floatValue;
/frameworks/base/core/java/android/util/
DRational.java287 return floatValue(); in toFloat()
360 public float floatValue() { in floatValue() method in Rational
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java443 if (value <= min.floatValue()) { in adheresToRange()
450 if (value < minInclusive.floatValue()) { in adheresToRange()
457 if (value >= max.floatValue()) { in adheresToRange()
464 if (value > maxInclusive.floatValue()) { in adheresToRange()
/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