Home
last modified time | relevance | path

Searched refs:NaN (Results 1 – 25 of 57) 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/core/java/android/util/
DHalf.java133 public static final @HalfFloat short NaN = (short) 0x7e00; field in Half
423 short xBits = (x & FP16_COMBINED) > FP16_EXPONENT_MAX ? NaN : x; in compare()
424 short yBits = (y & FP16_COMBINED) > FP16_EXPONENT_MAX ? NaN : y; in compare()
443 return (h & FP16_COMBINED) > FP16_EXPONENT_MAX ? NaN : h; in halfToShortBits()
462 return (h & FP16_COMBINED) > FP16_EXPONENT_MAX ? NaN : h & 0xffff; in halfToIntBits()
675 if ((x & FP16_COMBINED) > FP16_EXPONENT_MAX) return NaN; in min()
676 if ((y & FP16_COMBINED) > FP16_EXPONENT_MAX) return NaN; in min()
700 if ((x & FP16_COMBINED) > FP16_EXPONENT_MAX) return NaN; in max()
701 if ((y & FP16_COMBINED) > FP16_EXPONENT_MAX) return NaN; in max()
DRational.java41 public static final Rational NaN = new Rational(0, 0); field in Rational
584 return NaN; in parseRational()
/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/location/java/android/location/
DGpsMeasurement.java535 mPseudorangeInMeters = Double.NaN; in resetPseudorangeInMeters()
569 mPseudorangeUncertaintyInMeters = Double.NaN; in resetPseudorangeUncertaintyInMeters()
604 mCodePhaseInChips = Double.NaN; in resetCodePhaseInChips()
637 mCodePhaseUncertaintyInChips = Double.NaN; in resetCodePhaseUncertaintyInChips()
670 mCarrierFrequencyInHz = Float.NaN; in resetCarrierFrequencyInHz()
740 mCarrierPhase = Double.NaN; in resetCarrierPhase()
773 mCarrierPhaseUncertainty = Double.NaN; in resetCarrierPhaseUncertainty()
905 mDopplerShiftInHz = Double.NaN; in resetDopplerShiftInHz()
938 mDopplerShiftUncertaintyInHz = Double.NaN; in resetDopplerShiftUncertaintyInHz()
1001 mSnrInDb = Double.NaN; in resetSnrInDb()
[all …]
DGpsClock.java222 mTimeUncertaintyInNs = Double.NaN; in resetTimeUncertaintyInNs()
296 mBiasInNs = Double.NaN; in resetBiasInNs()
328 mBiasUncertaintyInNs = Double.NaN; in resetBiasUncertaintyInNs()
362 mDriftInNsPerSec = Double.NaN; in resetDriftInNsPerSec()
394 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/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/
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()
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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dgenerated_message_util.cc47 double NaN() { in NaN() function
Dgenerated_message_util.h71 LIBPROTOBUF_EXPORT double NaN();
/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/packages/CarSystemUI/src/com/android/systemui/statusbar/car/hvac/
DHvacController.java186 view.setTemp(Float.NaN); in initComponent()
191 view.setTemp(Float.NaN); in initComponent()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceFactory.java167 return Float.NaN; in getFloat()
180 values[i] = array.getFloat(i, Float.NaN); in getFloatArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DTrackedCollections.java88 return Float.NaN; in ratePerHour()
/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/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()
DBrightnessCorrection.java190 return Float.NaN; in loadFloatFromXml()
/frameworks/layoutlib/bridge/src/libcore/icu/
DICU_Delegate.java235 result.NaN = "NaN"; in initLocaleDataNative()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dutils_test.js346 jspb.utils.splitFloat32(NaN);
412 jspb.utils.splitFloat64(NaN);

123