Home
last modified time | relevance | path

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

/frameworks/base/core/tests/inputmethodtests/src/android/os/
DCursorAnchorInfoTest.java190 assertEquals(Float.NaN, uninitializedInfo.getInsertionMarkerHorizontal()); in testBuilder()
191 assertEquals(Float.NaN, uninitializedInfo.getInsertionMarkerTop()); in testBuilder()
192 assertEquals(Float.NaN, uninitializedInfo.getInsertionMarkerBaseline()); in testBuilder()
193 assertEquals(Float.NaN, uninitializedInfo.getInsertionMarkerBottom()); in testBuilder()
210 Float.NaN, Float.NaN, Float.NaN, in testEquality()
211 Float.NaN, Float.NaN, Float.NaN, in testEquality()
212 Float.NaN, Float.NaN, Float.NaN}); in testEquality()
264 Float.NaN, Float.NaN, Float.NaN, Float.NaN, in testEquality()
267 Float.NaN, Float.NaN, Float.NaN, Float.NaN, in testEquality()
297 Float.NaN, INSERTION_MARKER_TOP1, in testEquality()
/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/view/inputmethod/
DCursorAnchorInfo.java251 private float mInsertionMarkerHorizontal = Float.NaN;
252 private float mInsertionMarkerTop = Float.NaN;
253 private float mInsertionMarkerBaseline = Float.NaN;
254 private float mInsertionMarkerBottom = Float.NaN;
390 mInsertionMarkerHorizontal = Float.NaN; in reset()
391 mInsertionMarkerTop = Float.NaN; in reset()
392 mInsertionMarkerBaseline = Float.NaN; in reset()
393 mInsertionMarkerBottom = Float.NaN; in reset()
/frameworks/base/location/java/android/location/
DGpsMeasurement.java495 mPseudorangeInMeters = Double.NaN; in resetPseudorangeInMeters()
529 mPseudorangeUncertaintyInMeters = Double.NaN; in resetPseudorangeUncertaintyInMeters()
564 mCodePhaseInChips = Double.NaN; in resetCodePhaseInChips()
597 mCodePhaseUncertaintyInChips = Double.NaN; in resetCodePhaseUncertaintyInChips()
630 mCarrierFrequencyInHz = Float.NaN; in resetCarrierFrequencyInHz()
700 mCarrierPhase = Double.NaN; in resetCarrierPhase()
733 mCarrierPhaseUncertainty = Double.NaN; in resetCarrierPhaseUncertainty()
875 mDopplerShiftInHz = Double.NaN; in resetDopplerShiftInHz()
908 mDopplerShiftUncertaintyInHz = Double.NaN; in resetDopplerShiftUncertaintyInHz()
981 mSnrInDb = Double.NaN; in resetSnrInDb()
[all …]
DGpsClock.java234 mTimeUncertaintyInNs = Double.NaN; in resetTimeUncertaintyInNs()
308 mBiasInNs = Double.NaN; in resetBiasInNs()
340 mBiasUncertaintyInNs = Double.NaN; in resetBiasUncertaintyInNs()
374 mDriftInNsPerSec = Double.NaN; in resetDriftInNsPerSec()
406 mDriftUncertaintyInNsPerSec = Double.NaN; in resetDriftUncertaintyInNsPerSec()
/frameworks/base/core/java/android/util/
DRational.java40 public static final Rational NaN = new Rational(0, 0); field in Rational
581 return NaN; in parseRational()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java281 mTouchUpper = Float.NaN;
282 mTouchLower = Float.NaN;
283 mTouchHistoryLastAccepted = Float.NaN;
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java123 return Rational.NaN; in createRational()
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
DJavaBridgeArrayCoercionTest.java280 assertEquals(Float.NaN, mTestObject.waitForFloatArray()[0]); in testPassNumberNaN()
283 assertEquals(Double.NaN, mTestObject.waitForDoubleArray()[0]); in testPassNumberNaN()
DJavaBridgeCoercionTest.java299 assertEquals(Float.NaN, mTestObject.waitForFloatValue()); in testPassNumberNaN()
302 assertEquals(Double.NaN, mTestObject.waitForDoubleValue()); in testPassNumberNaN()
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
DICU_Delegate.java232 result.NaN = "NaN"; in initLocaleDataNative()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DWindowOrientationListener.java795 return index >= 0 ? mTiltHistory[index] : Float.NaN; in getLastTiltLocked()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java645 ps.addTrace(Float.NaN, Float.NaN, false); in onPointerEvent()
/frameworks/base/core/java/android/preference/
DPreference.java1574 if (value == getPersistedFloat(Float.NaN)) { in persistFloat()
/frameworks/compile/mclinker/lib/Script/
DScriptParser.yy932 std::string filename = "NaN";
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java396 private float mTemporaryScreenAutoBrightnessAdjustmentSettingOverride = Float.NaN;
662 mTemporaryScreenAutoBrightnessAdjustmentSettingOverride = Float.NaN; in updateSettingsLocked()
/frameworks/base/api/
Dsystem-current.txt34009 field public static final android.util.Rational NaN;
43776 field public static final double NaN = (0.0/0.0);
43850 field public static final float NaN = (0.0f/0.0f);
Dcurrent.txt31776 field public static final android.util.Rational NaN;
41247 field public static final double NaN = (0.0/0.0);
41321 field public static final float NaN = (0.0f/0.0f);