Home
last modified time | relevance | path

Searched refs:NaN (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java136 Rational nan = NaN; in testEquals()
204 assertCompareEquals(NaN, new Rational(0, 0)); in testCompareTo()
205 assertGreaterThan(NaN, UNIT); in testCompareTo()
206 assertGreaterThan(NaN, POSITIVE_INFINITY); in testCompareTo()
207 assertGreaterThan(NaN, NEGATIVE_INFINITY); in testCompareTo()
208 assertGreaterThan(NaN, ZERO); in testCompareTo()
239 assertFinite(NaN, false); in testConvenienceMethods()
246 assertInfinite(NaN, false); in testConvenienceMethods()
253 assertNaN(NaN, true); in testConvenienceMethods()
260 assertZero(NaN, false); in testConvenienceMethods()
[all …]
DRangeTest.java128 assertOutOfRange(infinities, Float.NaN); in testInRange()
/frameworks/base/location/java/android/location/
DGpsMeasurement.java536 mPseudorangeInMeters = Double.NaN; in resetPseudorangeInMeters()
570 mPseudorangeUncertaintyInMeters = Double.NaN; in resetPseudorangeUncertaintyInMeters()
605 mCodePhaseInChips = Double.NaN; in resetCodePhaseInChips()
638 mCodePhaseUncertaintyInChips = Double.NaN; in resetCodePhaseUncertaintyInChips()
671 mCarrierFrequencyInHz = Float.NaN; in resetCarrierFrequencyInHz()
741 mCarrierPhase = Double.NaN; in resetCarrierPhase()
774 mCarrierPhaseUncertainty = Double.NaN; in resetCarrierPhaseUncertainty()
906 mDopplerShiftInHz = Double.NaN; in resetDopplerShiftInHz()
939 mDopplerShiftUncertaintyInHz = Double.NaN; in resetDopplerShiftUncertaintyInHz()
1002 mSnrInDb = Double.NaN; in resetSnrInDb()
[all …]
DGpsClock.java223 mTimeUncertaintyInNs = Double.NaN; in resetTimeUncertaintyInNs()
297 mBiasInNs = Double.NaN; in resetBiasInNs()
329 mBiasUncertaintyInNs = Double.NaN; in resetBiasUncertaintyInNs()
363 mDriftInNsPerSec = Double.NaN; in resetDriftInNsPerSec()
395 mDriftUncertaintyInNsPerSec = Double.NaN; in resetDriftUncertaintyInNsPerSec()
DGnssClock.java199 mTimeUncertaintyNanos = Double.NaN; in resetTimeUncertaintyNanos()
289 mBiasNanos = Double.NaN; in resetBiasNanos()
330 mBiasUncertaintyNanos = Double.NaN; in resetBiasUncertaintyNanos()
374 mDriftNanosPerSecond = Double.NaN; in resetDriftNanosPerSecond()
414 mDriftUncertaintyNanosPerSecond = Double.NaN; in resetDriftUncertaintyNanosPerSecond()
498 mElapsedRealtimeUncertaintyNanos = Double.NaN; in resetElapsedRealtimeUncertaintyNanos()
DGnssMeasurement.java1005 mCarrierFrequencyHz = Float.NaN; in resetCarrierFrequencyHz()
1118 mCarrierPhase = Double.NaN; in resetCarrierPhase()
1173 mCarrierPhaseUncertainty = Double.NaN; in resetCarrierPhaseUncertainty()
1244 mSnrInDb = Double.NaN; in resetSnrInDb()
1292 mAutomaticGainControlLevelInDb = Double.NaN; in resetAutomaticGainControlLevel()
/frameworks/base/core/java/android/view/inputmethod/
DCursorAnchorInfo.java263 private float mInsertionMarkerHorizontal = Float.NaN;
264 private float mInsertionMarkerTop = Float.NaN;
265 private float mInsertionMarkerBaseline = Float.NaN;
266 private float mInsertionMarkerBottom = Float.NaN;
405 mInsertionMarkerHorizontal = Float.NaN; in reset()
406 mInsertionMarkerTop = Float.NaN; in reset()
407 mInsertionMarkerBaseline = Float.NaN; in reset()
408 mInsertionMarkerBottom = Float.NaN; in reset()
/frameworks/base/core/tests/coretests/src/android/transition/
DSlideTransitionTest.java145 public float minX = Float.NaN;
146 public float minY = Float.NaN;
147 public float maxX = Float.NaN;
148 public float maxY = Float.NaN;
155 minX = minY = maxX = maxY = Float.NaN; in reset()
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamDoubleTest.java143 assertEquals(Double.NaN, results[7]); in testRead()
158 testReadCompat(Double.NaN); in testReadCompat()
348 assertEquals(Double.NaN, results[7][0]); in testRepeated()
349 assertEquals(Double.NaN, results[7][1]); in testRepeated()
360 Double.MIN_NORMAL, Double.MIN_VALUE, Double.NEGATIVE_INFINITY, Double.NaN, in testRepeatedCompat()
548 assertEquals(Double.NaN, results[7][0]); in testPacked()
549 assertEquals(Double.NaN, results[7][1]); in testPacked()
560 Double.MIN_NORMAL, Double.MIN_VALUE, Double.NEGATIVE_INFINITY, Double.NaN, in testPackedCompat()
DProtoInputStreamFloatTest.java134 assertEquals(Float.NaN, results[7]); in testRead()
149 testReadCompat(Float.NaN); in testReadCompat()
321 assertEquals(Float.NaN, results[7][0]); in testRepeated()
322 assertEquals(Float.NaN, results[7][1]); in testRepeated()
333 Float.MIN_NORMAL, Float.MIN_VALUE, Float.NEGATIVE_INFINITY, Float.NaN, in testRepeatedCompat()
501 assertEquals(Float.NaN, results[7][0]); in testPacked()
502 assertEquals(Float.NaN, results[7][1]); in testPacked()
513 Float.MIN_NORMAL, Float.MIN_VALUE, Float.NEGATIVE_INFINITY, Float.NaN, in testPackedCompat()
/frameworks/base/core/java/android/util/
DHalf.java135 public static final @HalfFloat short NaN = (short) 0x7e00; field in Half
417 return (h & FP16.EXPONENT_SIGNIFICAND_MASK) > FP16.POSITIVE_INFINITY ? NaN : h; in halfToShortBits()
436 return (h & FP16.EXPONENT_SIGNIFICAND_MASK) > FP16.POSITIVE_INFINITY ? NaN : h & 0xffff; in halfToIntBits()
DRational.java42 public static final Rational NaN = new Rational(0, 0); field in Rational
585 return NaN; in parseRational()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/hvac/
DHvacController.java150 view.setTemp(Float.NaN); in initComponent()
155 view.setTemp(Float.NaN); in initComponent()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java96 lux[lux.length - 1] = Float.NaN; in testCurvesMustNotContainNaN()
102 nits[nits.length - 1] = Float.NaN; in testCurvesMustNotContainNaN()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceFactory.java180 return Float.NaN; in getFloat()
193 values[i] = array.getFloat(i, Float.NaN); in getFloatArray()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DAnimatedTemperatureView.java120 Float.NaN); in AnimatedTemperatureView()
122 Float.NaN); in AnimatedTemperatureView()
DTemperatureTextAnimator.java59 private float mLastTemp = Float.NaN;
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dmath_conformance.rscript27 // rootn(x, n) -> NaN for x < 0 and even n
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreduce.rscript28 // a NaN (and only a NaN) compares unequal to everything
43 // If the input domain consists of all non-NaN values (including
55 // domain that is nonetheless representable as a float -- NaN.
Dmath_conformance.rscript43 // rootn(x, n) -> NaN for x < 0 and even n
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreduce.rscript30 // a NaN (and only a NaN) compares unequal to everything
45 // If the input domain consists of all non-NaN values (including
57 // domain that is nonetheless representable as a float -- NaN.
Dmath_conformance.rscript45 // rootn(x, n) -> NaN for x < 0 and even n
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DTrackedCollections.java88 return Float.NaN; in ratePerHour()
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java123 return Rational.NaN; in createRational()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java308 screenAutoBrightnessAdjustmentOverride = Float.NaN; in DisplayPowerRequest()

123