/frameworks/base/core/java/com/android/internal/graphics/cam/ |
D | CamUtils.java | 122 double epsilon = 216.0 / 24389.0; in argbFromLstar() local 125 boolean cubeExceedEpsilon = fy * fy * fy > epsilon; in argbFromLstar() 209 float epsilon = 216f / 24389f; in intFromLstar() local 212 boolean cubeExceedEpsilon = (fy * fy * fy) > epsilon; in intFromLstar()
|
/frameworks/native/services/inputflinger/tests/ |
D | TestEventMatchers.h | 634 MATCHER_P3(WithGestureOffset, dx, dy, epsilon, 640 *result_listener << "expected gesture offset (" << dx << ", " << dy << ") within " << epsilon 642 return xDiff <= epsilon && yDiff <= epsilon; 645 MATCHER_P3(WithGestureScrollDistance, x, y, epsilon, 653 *result_listener << "expected gesture offset (" << x << ", " << y << ") within " << epsilon 655 return xDiff <= epsilon && yDiff <= epsilon; 658 MATCHER_P2(WithGesturePinchScaleFactor, factor, epsilon, 662 *result_listener << "expected gesture scale factor " << factor << " within " << epsilon 664 return fabs(argScaleFactor - factor) <= epsilon;
|
/frameworks/native/libs/math/tests/ |
D | mat_test.cpp | 420 TEST_MATRIX_INVERSE(m4, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST() 421 TEST_MATRIX_INVERSE(m5, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST() 453 TEST_MATRIX_INVERSE(m4, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST() 454 TEST_MATRIX_INVERSE(m5, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST() 477 TEST_MATRIX_INVERSE(m3, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST() 478 TEST_MATRIX_INVERSE(m4, 20.0 * std::numeric_limits<TypeParam>::epsilon()); in TYPED_TEST() 543 static constexpr T value_eps = T(100) * std::numeric_limits<T>::epsilon(); in verifyOrthonormal() 635 TypeParam(1000) * std::numeric_limits<TypeParam>::epsilon(); in TYPED_TEST() 663 TypeParam(1000) * std::numeric_limits<TypeParam>::epsilon(); in TYPED_TEST()
|
D | quat_test.cpp | 275 static constexpr double value_eps = double(1000) * std::numeric_limits<double>::epsilon(); in TEST_F()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/ |
D | AdbDebuggingManagerTest.java | 457 final long epsilon = 5000; in testKeystoreExpirationTimes() local 472 > epsilon) { in testKeystoreExpirationTimes() 483 if (Math.abs(delay - expectedValue) > epsilon) { in testKeystoreExpirationTimes() 498 if (Math.abs(expirationTime - newExpirationTime) > epsilon) { in testKeystoreExpirationTimes() 503 if (Math.abs(delay - newExpirationTime) > epsilon) { in testKeystoreExpirationTimes() 628 final long epsilon = 5000; in testUntrackedUserKeysAddedToKeystore() local 651 if (Math.abs(time - connectionTime) > epsilon) { in testUntrackedUserKeysAddedToKeystore()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | numeric.h | 90 const T& tol = std::numeric_limits<T>::epsilon()) { 96 const T& tol = std::numeric_limits<T>::epsilon()) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowAnimationSpec.java | 256 Interpolator interpolator, float target, float epsilon) { in findInterpolationAdjustedTargetFraction() argument 260 while (adj >= epsilon) { in findInterpolationAdjustedTargetFraction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/ |
D | SliderStateTracker.kt | 210 epsilon: Float = 0.00001f, in deltaProgressIsAboveThreshold() 213 return delta > config.jumpThreshold - epsilon in deltaProgressIsAboveThreshold()
|
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/common/ |
D | intrinsics_float.h | 175 static constexpr berberis::intrinsics::WrappedFloatType<BaseType> epsilon() { in epsilon() function 177 std::numeric_limits<BaseType>::epsilon()); in epsilon()
|
/frameworks/native/libs/input/tests/ |
D | MotionPredictorMetricsManager_test.cpp | 55 MATCHER_P2(Vector2fNear, target, epsilon, "") { 56 return Matches(FloatNear(target[0], epsilon))(arg[0]) && 57 Matches(FloatNear(target[1], epsilon))(arg[1]); 64 MATCHER_P2(PredictionPointNear, target, epsilon, "") { 65 if (!Matches(Vector2fNear(target.position, epsilon))(arg.position)) { 71 if (!Matches(FloatNear(target.pressure, epsilon))(arg.pressure)) {
|
/frameworks/native/libs/binder/tests/ |
D | binderTextOutputTest.cpp | 167 TypeParam eps = std::numeric_limits<TypeParam>::epsilon(); in TYPED_TEST()
|
/frameworks/av/media/libheadtracking/ |
D | Pose-test.cpp | 67 constexpr float eps = std::numeric_limits<float>::epsilon(); in TEST()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | shared.rsh | 96 /* Absolute epsilon used for floats. Value is similar to float.h. */
|
/frameworks/av/media/libeffects/tests/common/ |
D | EffectTestHelper.h | 60 delta = std::numeric_limits<T>::epsilon(); in areNearlySame()
|
/frameworks/native/libs/gui/tests/ |
D | BLASTBufferQueue_test.cpp | 284 const auto epsilon = 3; in checkScreenCapture() local 306 ASSERT_GE(epsilon, abs(r - *(pixel))); in checkScreenCapture() 307 ASSERT_GE(epsilon, abs(g - *(pixel + 1))); in checkScreenCapture() 308 ASSERT_GE(epsilon, abs(b - *(pixel + 2))); in checkScreenCapture() 310 ASSERT_GE(epsilon, abs(r - *(pixel))); in checkScreenCapture() 311 ASSERT_GE(epsilon, abs(g - *(pixel + 1))); in checkScreenCapture() 312 ASSERT_GE(epsilon, abs(b - *(pixel + 2))); in checkScreenCapture()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | shared.rsh | 98 /* Absolute epsilon used for floats. Value is similar to float.h. */
|
/frameworks/native/libs/math/include/math/ |
D | half.h | 199 …inline static constexpr type epsilon() noexcept { return android::half(android::half::binary, 0x14…
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerRenderTypeTransaction_test.cpp | 85 const float epsilon = 1.0f / 16.0f; in TEST_P() local 86 Transaction().setPosition(layer, 0.5f - epsilon, 0.5f - epsilon).apply(); in TEST_P() 92 Transaction().setPosition(layer, 0.5f + epsilon, 0.5f + epsilon).apply(); in TEST_P()
|
/frameworks/av/media/libeffects/downmix/tests/ |
D | downmix_tests.cpp | 129 abs((e) * std::numeric_limits<std::decay_t<decltype(e)>>::epsilon() * 8))
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 631 final float epsilon = 1.0f; in testGetCursorPath() local 636 assertTrue(bounds.top >= layout.getLineTop(i) - epsilon); in testGetCursorPath() 637 assertTrue(bounds.bottom <= layout.getLineBottom(i) + epsilon); in testGetCursorPath()
|