Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java815 BigDecimal floatValue = new BigDecimal(value); in addPerfMetricsResult() local
816 obj.put(keyPrefix + "_" + PERF_METRICS_KEY_DELTA_AVG_LUMA, floatValue); in addPerfMetricsResult()
818 BigDecimal floatValue = new BigDecimal(value); in addPerfMetricsResult() local
819 obj.put(keyPrefix + "_" + PERF_METRICS_KEY_AVG_LUMA, floatValue); in addPerfMetricsResult()
821 BigDecimal floatValue = new BigDecimal(value); in addPerfMetricsResult() local
822 obj.put(keyPrefix + PERF_METRICS_KEY_RAW + PERF_METRICS_KEY_RMS_DIFF, floatValue); in addPerfMetricsResult()
824 BigDecimal floatValue = new BigDecimal(value); in addPerfMetricsResult() local
826 floatValue); in addPerfMetricsResult()
828 BigDecimal floatValue = new BigDecimal(value); in addPerfMetricsResult() local
830 floatValue); in addPerfMetricsResult()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DRawConverter.java136 output[i * 3 + j] = xform.getElement(j, i).floatValue(); in convertColorspaceTransform()
1020 new float[]{dngBayerMetadata.neutralColorPoint[0].floatValue(), in convertToSRGB()
1021 dngBayerMetadata.neutralColorPoint[1].floatValue(), in convertToSRGB()
1022 dngBayerMetadata.neutralColorPoint[2].floatValue()}); in convertToSRGB()
1136 float[] cameraNeutral = new float[] { neutralColorPoint[0].floatValue(), in findDngInterpolationFactor()
1137 neutralColorPoint[1].floatValue(), neutralColorPoint[2].floatValue()}; in findDngInterpolationFactor()
1225 float[] cameraNeutral = new float[] { neutralColorPoint[0].floatValue(), in calculateCameraToXYZD50Transform()
1226 neutralColorPoint[1].floatValue(), neutralColorPoint[2].floatValue()}; in calculateCameraToXYZD50Transform()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerGetPropertyTest.java429 final Float floatValue = (Float) propertyValue; in assertProperty() local
430 assertEquals(floatValue.floatValue(), testProperty.getFloat(), 0.0f); in assertProperty()
DPackageManagerQueryPropertyTest.java428 final Float floatValue = (Float) propertyValue; in assertProperty() local
429 assertEquals(floatValue.floatValue(), testProperty.getFloat(), 0.0f); in assertProperty()
/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamSwitchedWriteTest.java61 po.writeFloat(fieldId, val.floatValue());
158 po.write(fieldId, val.floatValue()); in SWITCHED.add()
/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java537 assertEquals(12.57f, Half.valueOf(12.57f).floatValue(), 1e-3f); in numberInterface()
544 assertEquals(-12.57f, Half.valueOf(-12.57f).floatValue(), 1e-3f); in numberInterface()
551 assertTrue(+0.0f == Half.valueOf(POSITIVE_ZERO).floatValue()); in numberInterface()
558 assertTrue(-0.0f == Half.valueOf(NEGATIVE_ZERO).floatValue()); in numberInterface()
565 assertTrue(Float.POSITIVE_INFINITY == Half.valueOf(POSITIVE_INFINITY).floatValue()); in numberInterface()
572 assertTrue(Float.NEGATIVE_INFINITY == Half.valueOf(NEGATIVE_INFINITY).floatValue()); in numberInterface()
580 Float.floatToRawIntBits(Half.valueOf(NaN).floatValue())); in numberInterface()
DRationalTest.java415 expected, object.floatValue(), 0.0f); in verifyValueEquals()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java730 assertEquals(1.0f, alpha.floatValue(), 0.0f); in verify()
735 Half.valueOf(buffer.getShort(0)).floatValue(), in verify()
736 Half.valueOf(buffer.getShort(2)).floatValue(), in verify()
737 Half.valueOf(buffer.getShort(4)).floatValue() }; in verify()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioMetadataTest.java110 assertEquals(2.125f, nvalue.floatValue(), 0.f); in testMap()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaFormatTest.java196 assertEquals(3.14f, format.getNumber("float").floatValue()); in testFloatValue()
197 assertEquals(3.14f, format.getNumber("float", 2.81f).floatValue()); in testFloatValue()
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/
DVehiclePropertyVerifier.java1032 possibleValuesBuilder.add(possibleEvChargePercentLimit.floatValue()); in getPossibleFloatValues()
1043 possibleValuesBuilder.add(vehicleMaxCurrentDrawLimit.floatValue()); in getPossibleFloatValues()
1198 float minTempInCelsius = hvacTemperatureSetConfigArray.get(0).floatValue() / 10f; in verifyHvacTemperatureValueSuggestionSetter()
1199 float minTempInFahrenheit = hvacTemperatureSetConfigArray.get(3).floatValue() / 10f; in verifyHvacTemperatureValueSuggestionSetter()
2069 / incrementInCelsiusTimesTen.floatValue()); in verifyHvacTemperatureValueSuggestionResponse()
2072 / incrementInFahrenheitTimesTen.floatValue()); in verifyHvacTemperatureValueSuggestionResponse()
/cts/tests/tests/database/src/android/database/cts/
DAbstractCursorTest.java670 return num.floatValue(); in getFloat()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1881 float compensationStepF = compensationStep.floatValue(); in getAeCompensationRangeChecked()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt3058 name: "floatValue"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt49913 method public float floatValue();
50231 method public float floatValue();