Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DRational.java160 public boolean isNaN() { in isNaN() method in Rational
262 if (isNaN()) { in toString()
388 } else if (isNaN()) { in intValue()
422 } else if (isNaN()) { in longValue()
471 } else if (isNaN()) { // NaN is greater than the other non-NaN value in compareTo()
473 } else if (another.isNaN()) { // the other NaN is greater than this non-NaN value in compareTo()
DSpline.java186 if (Float.isNaN(x)) { in interpolate()
255 if (Float.isNaN(x)) { in interpolate()
DJsonWriter.java338 if (!lenient && (Double.isNaN(value) || Double.isInfinite(value))) { in value()
/frameworks/base/core/java/android/view/inputmethod/
DCursorAnchorInfo.java184 if (Float.isNaN(a) && Float.isNaN(b)) { in areSameFloatImpl()
369 || !Float.isNaN(mInsertionMarkerHorizontal) in build()
370 || !Float.isNaN(mInsertionMarkerTop) in build()
371 || !Float.isNaN(mInsertionMarkerBaseline) in build()
372 || !Float.isNaN(mInsertionMarkerBottom)) { in build()
/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java146 if (Float.isNaN(value)) { in checkArgumentFinite()
172 if (Float.isNaN(value)) { in checkArgumentInRange()
313 if (Float.isNaN(v)) { in checkArrayElementsInRange()
DTypedProperties.java315 if (absValue != 0.0 && !Double.isInfinite(value) && !Double.isNaN(value)) { in parseValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNoisyVelocityTracker.java118 if (Float.isNaN(mVX) || Float.isInfinite(mVX)) { in getXVelocity()
125 if (Float.isNaN(mVY) || Float.isInfinite(mVX)) { in getYVelocity()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java229 final boolean hasLastAccepted = !Float.isNaN(mTouchHistoryLastAccepted); in addTouchHistory()
242 if (Float.isNaN(mTouchUpper) || major > mTouchUpper) { in addTouchHistory()
245 if (Float.isNaN(mTouchLower) || major < mTouchLower) { in addTouchHistory()
/frameworks/base/core/java/android/animation/
DKeyframeSet.java89 if (Float.isNaN(values[0])) { in ofFloat()
97 if (Float.isNaN(values[i])) { in ofFloat()
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java122 if (Float.isNaN(value)) { in createRational()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaCellLocation.java240 if(Double.isNaN(quartSec) || quartSec < -2592000 || quartSec > 2592000){ in convertQuartSecToDecDegrees()
/frameworks/base/tools/preload/
Dsorttable.js261 if (isNaN(aa)) aa = 0;
263 if (isNaN(bb)) bb = 0;
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1390 if (Math.abs(transX) > Math.abs(mTranslateX) || Float.isNaN(transX)) { in run()
1393 if (Math.abs(transY) > Math.abs(mTranslateY) || Float.isNaN(transY)) { in run()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java425 assertAction("NaN", object, expected, object.isNaN()); in assertNaN()
/frameworks/base/location/java/android/location/
DLocation.java181 Double.isNaN(coordinate)) { in convert()
/frameworks/base/media/java/android/media/
DAudioTrack.java944 if (Float.isNaN(gainOrLevel)) { in clampGainOrLevel()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java305 if (Float.isNaN(x)) { in onDraw()
/frameworks/base/api/
Dsystem-current.txt34004 method public boolean isNaN();
43761 method public boolean isNaN();
43762 method public static boolean isNaN(double);
43836 method public boolean isNaN();
43837 method public static boolean isNaN(float);
Dcurrent.txt31771 method public boolean isNaN();
41232 method public boolean isNaN();
41233 method public static boolean isNaN(double);
41307 method public boolean isNaN();
41308 method public static boolean isNaN(float);