Home
last modified time | relevance | path

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

12

/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/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
DLocation.java40 public static final int NaN = -1; field in Location
54 startOffset = endOffset = startLine = endLine = NaN; in Location()
66 startLine = startOffset = NaN; in Location()
73 endLine = endOffset = NaN; in Location()
151 return startLine != NaN && endLine != NaN && startOffset != NaN && endOffset != NaN;
/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.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()
/frameworks/base/docs/html/ndk/guides/
Dx86.jd118 If one of the operands is NaN, or both operands are +/- 0.0:
123 <li>If any input is a NaN, the corresponding result element is the default NaN.</li>
132 <li>If one of the source operands is NaN, then return the second source operand.</li>
144 If one of the operands is NaN or both are +/- 0.0:
149 <li>If any input is a NaN, the corresponding result element is the default NaN.</li>
157 <li>If one of the source operands is NaN, than return the second source operand.</li>
188 <li>On ARM CPUs, these instructions by default return a (positive) NaN. For more information
/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.java289 mTouchUpper = Float.NaN;
290 mTouchLower = Float.NaN;
291 mTouchHistoryLastAccepted = Float.NaN;
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java123 return Rational.NaN; in createRational()
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
DICU_Delegate.java235 result.NaN = "NaN"; in initLocaleDataNative()
/frameworks/rs/api/
Drs_vector_math.spec30 subnormal values may be flushed to zero, rounding towards zero may be used, and NaN and
Drs_math.spec44 subnormal values may be flushed to zero, rounding towards zero may be used, and NaN and
1218 Returns a NaN value (Not a Number).
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java866 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/rs/scriptc/
Drs_vector_math.rsh31 * subnormal values may be flushed to zero, rounding towards zero may be used, and NaN and
Drs_math.rsh46 * subnormal values may be flushed to zero, rounding towards zero may be used, and NaN and
2526 * Returns a NaN value (Not a Number).
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreference.java1404 if (value == getPersistedFloat(Float.NaN)) { in persistFloat()
/frameworks/base/core/java/android/preference/
DPreference.java1586 if (value == getPersistedFloat(Float.NaN)) { in persistFloat()
/frameworks/compile/mclinker/lib/Script/
DScriptParser.yy943 std::string filename = "NaN";
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java410 private float mTemporaryScreenAutoBrightnessAdjustmentSettingOverride = Float.NaN;
707 mTemporaryScreenAutoBrightnessAdjustmentSettingOverride = Float.NaN; in updateSettingsLocked()
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_vector_math.jd18 subnormal values may be flushed to zero, rounding towards zero may be used, and NaN and
Doverview.jd681 subnormal values may be flushed to zero, rounding towards zero may be used, and NaN and
1729 subnormal values may be flushed to zero, rounding towards zero may be used, and NaN and
Drs_math.jd35 subnormal values may be flushed to zero, rounding towards zero may be used, and NaN and
4472 <p> Returns a NaN value (Not a Number).

12