Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/util/
DRational.java164 public boolean isNaN() { in isNaN() method in Rational
266 if (isNaN()) { in toString()
392 } else if (isNaN()) { in intValue()
426 } else if (isNaN()) { in longValue()
475 } else if (isNaN()) { // NaN is greater than the other non-NaN value in compareTo()
477 } else if (another.isNaN()) { // the other NaN is greater than this non-NaN value in compareTo()
DHalf.java298 public boolean isNaN() { in isNaN() method in Half
299 return isNaN(mValue); in isNaN()
745 public static boolean isNaN(@HalfFloat short h) { in isNaN() method in Half
746 return FP16.isNaN(h); in isNaN()
DSpline.java186 if (Float.isNaN(x)) { in interpolate()
255 if (Float.isNaN(x)) { in interpolate()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DDisplayWhiteBalanceThrottler.java149 if (Float.isNaN(increaseDebounce) || increaseDebounce < 0.0f) { in validateArguments()
152 if (Float.isNaN(decreaseDebounce) || decreaseDebounce < 0.0f) { in validateArguments()
171 if (Float.isNaN(x[i]) || Float.isNaN(y[i]) || x[i] < 0 || prevX >= x[i]) { in isValidMapping()
DDisplayWhiteBalanceFactory.java123 if (!Float.isNaN(intercept)) { in createBrightnessFilter()
153 if (!Float.isNaN(intercept)) { in createColorTemperatureFilter()
194 if (Float.isNaN(values[i])) { in getFloatArray()
DAmbientFilter.java225 if (Float.isNaN(intercept) || intercept < 0.0f) { in validateArguments()
/frameworks/base/core/java/android/view/inputmethod/
DCursorAnchorInfo.java179 if (Float.isNaN(a) && Float.isNaN(b)) { in areSameFloatImpl()
384 || !Float.isNaN(mInsertionMarkerHorizontal) in build()
385 || !Float.isNaN(mInsertionMarkerTop) in build()
386 || !Float.isNaN(mInsertionMarkerBaseline) in build()
387 || !Float.isNaN(mInsertionMarkerBottom)) { in build()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRateEstimatorTest.java54 assertFalse(Float.isNaN(rate)); in testRunningTimeBackwardDoesntExplodeGet()
69 assertFalse(Float.isNaN(rate)); in testInstantaneousEventsDontExplodeGet()
161 assertFalse(Float.isNaN(rate)); in assertUpdateTime()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DPreconditions.java289 if (Float.isNaN(value)) { in checkArgumentFinite()
315 if (Float.isNaN(value)) { in checkArgumentInRange()
483 if (Float.isNaN(v)) { in checkArrayElementsInRange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java19 import static java.lang.Float.isNaN;
266 if (isNaN(mCurrentBehindAlpha) || isNaN(mCurrentInFrontAlpha)) { in transitionTo()
399 if (isNaN(fraction)) { in setPanelExpansion()
476 if (isNaN(mCurrentBehindAlpha) || isNaN(mCurrentInFrontAlpha)) { in applyExpansionToAlpha()
539 if (isNaN(mCurrentBehindAlpha)) { in setWakeLockScreenSensorActive()
972 if (isNaN(newBehindAlpha)) { in setHasBackdrop()
DPanelBar.java19 import static java.lang.Float.isNaN;
165 if (isNaN(frac)) { in panelExpansionChanged()
DPhoneStatusBarView.java24 import static java.lang.Float.isNaN;
270 if (isNaN(minFraction)) { in panelScrimMinFractionChanged()
/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java327 if (Float.isNaN(value)) { in checkArgumentFinite()
353 if (Float.isNaN(value)) { in checkArgumentInRange()
522 if (Float.isNaN(v)) { in checkArrayElementsInRange()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DAnimatedTemperatureView.java201 if (Float.isNaN(temp)) { in setTemp()
232 return !Float.isNaN(mMinValue) && isApproxEqual(temp, mMinValue); in isMinValue()
236 return !Float.isNaN(mMaxValue) && isApproxEqual(temp, mMaxValue); in isMaxValue()
DTemperatureTextAnimator.java77 if (Float.isNaN(temp)) { in setTemp()
86 if (Float.isNaN(mLastTemp)) { in setTemp()
DTemperatureColorStore.java90 if (Float.isNaN(temperature)) { in getColorForTemperature()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java19 import static java.lang.Float.isNaN;
184 if (isNaN(alpha)) { in setViewAlpha()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java365 return f1 == f2 || Float.isNaN(f1) && Float.isNaN(f2); in floatEquals()
DBrightnessCorrection.java223 if (Float.isNaN(scale) || Float.isNaN(translate)) { in ScaleAndTranslateLog()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java124 if (prevX < 0 || prevY < 0 || Float.isNaN(prevX) || Float.isNaN(prevY)) { in isValidMapping()
131 if (Float.isNaN(x[i]) || Float.isNaN(y[i])) { in isValidMapping()
150 if (prevX < 0 || prevY < 0 || Float.isNaN(prevX)) { in isValidMapping()
157 if (Float.isNaN(x[i])) { in isValidMapping()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/hvac/
DTemperatureTextView.java57 if (Float.isNaN(temp)) { in setTemp()
/frameworks/base/core/java/android/animation/
DKeyframeSet.java81 if (Float.isNaN(values[0])) { in ofFloat()
89 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.java249 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;

123