Home
last modified time | relevance | path

Searched refs:isnan (Results 1 – 22 of 22) sorted by relevance

/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dmath_conformance.rscript28 _RS_ASSERT(isnan(rootn(-10000.f, -4)));
29 _RS_ASSERT(isnan(rootn(-10000.f, 4)));
32 _RS_ASSERT(!isnan(rootn(-10000.f, -3)));
33 _RS_ASSERT(!isnan(rootn(-10000.f, 3)));
Dshared.rsh58 static inline bool isnan(float f) {
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_conformance.rscript44 _RS_ASSERT(isnan(rootn(-10000.f, -4)));
45 _RS_ASSERT(isnan(rootn(-10000.f, 4)));
48 _RS_ASSERT(!isnan(rootn(-10000.f, -3)));
49 _RS_ASSERT(!isnan(rootn(-10000.f, 3)));
Dshared.rsh77 static inline bool isnan(float f) {
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dmath_conformance.rscript46 _RS_ASSERT(isnan(rootn(-10000.f, -4)));
47 _RS_ASSERT(isnan(rootn(-10000.f, 4)));
50 _RS_ASSERT(!isnan(rootn(-10000.f, -3)));
51 _RS_ASSERT(!isnan(rootn(-10000.f, 3)));
Dshared.rsh79 static inline bool isnan(float f) {
/frameworks/native/libs/tonemap/tests/
Dtonemap_test.cpp51 EXPECT_FALSE(std::isnan(displayLumFloat)); in TEST_F()
60 EXPECT_FALSE(std::isnan(contentLumFloat)); in TEST_F()
/frameworks/native/libs/vibrator/
DExternalVibrationUtils.cpp77 if (isnan(limit) || limit == 0) { in clipHapticData()
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
DTimeStatsHelper.cpp165 std::isnan(averageFrameDuration) ? 0.0f : averageFrameDuration); in toString()
170 std::isnan(averageRenderEngineTiming) ? 0.0f : averageRenderEngineTiming); in toString()
/frameworks/av/media/libmediahelper/
DAudioValidator.cpp128 return std::isnan(leveldB) || leveldB > MAX_AUDIO_DESCRIPTION_MIX_LEVEL ? BAD_VALUE : OK; in validateAudioDescriptionMixLevel()
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp436 if (!isnan(pressure)) { in nativeWriteTouchEvent()
441 if (!isnan(majorAxisSize)) { in nativeWriteTouchEvent()
Dcom_android_server_HardwarePropertiesManagerService.cpp83 return isnan(temperature) ? gUndefinedTemperature : temperature; in finalizeTemperature()
/frameworks/native/services/inputflinger/
DInputListener.cpp160 return (isnan(lhs) && isnan(rhs)) || lhs == rhs; in isCursorPositionEqual()
/frameworks/native/libs/binder/rust/tests/
Dserialization.cpp278 ASSERT_TRUE(isnan(read_floats[0])); in TEST_F()
305 ASSERT_TRUE(isnan(read_doubles[0])); in TEST_F()
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp312 isnan(resonantFrequency) ? DEFAULT_RESONANT_FREQUENCY : resonantFrequency; in HapticGenerator_SetParameter()
313 context->param.bsfZeroQ = isnan(qFactor) ? DEFAULT_BSF_POLE_Q : qFactor; in HapticGenerator_SetParameter()
/frameworks/native/include/input/
DInput.h592 static inline bool isValidCursorPosition(float x, float y) { return !isnan(x) && !isnan(y); } in isValidCursorPosition()
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp83 return !(isnan(x) && isnan(y)); in isValid()
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.cmake207 /* Set to 1 if the isnan function is found in <cmath> */
210 /* Set to 1 if the isnan function is found in <math.h> */
392 /* Set to 1 if the std::isnan function is found in <cmath> */
/frameworks/av/include/media/
DVolumeShaper.h998 if (!std::isnan(xOffset)) { in applyVolumeShaper()
/frameworks/rs/driver/runtime/
Drs_cl.c323 static bool isnan(float f) { in isnan() function
697 if (!isinf(v) && !isnan(v) && (v < 0.f)) { in FN_FUNC_FN()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1871 return transformDet != 0 && !isinf(transformDet) && !isnan(transformDet); in isTransformValid()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1367 if (isnan(balance) || fabs(balance) > 1.f) { in setMasterBalance()