Searched refs:nearlyEqual (Results 1 – 11 of 11) sorted by relevance
/external/skia/docs/examples/ |
D | Matrix_dump.cpp | 10 SkMatrix nearlyEqual; in draw() local 11 nearlyEqual.setAll(0.7071f, -0.7071f, 0, 0.7071f, 0.7071f, 0, 0, 0, 1); in draw() 12 nearlyEqual.dump(); in draw() 13 SkDebugf("matrix %c= nearlyEqual\n", matrix == nearlyEqual ? '=' : '!'); in draw()
|
/external/skia/modules/skparagraph/src/ |
D | TextStyle.cpp | 94 nearlyEqual(fLetterSpacing, that.fLetterSpacing) && in equalsByFonts() 95 nearlyEqual(fWordSpacing, that.fWordSpacing) && in equalsByFonts() 96 nearlyEqual(fHeight, that.fHeight) && in equalsByFonts() 97 nearlyEqual(fFontSize, that.fFontSize) && in equalsByFonts() 168 return nearlyEqual(fWidth, other.fWidth) && in equals() 169 nearlyEqual(fHeight, other.fHeight) && in equals() 173 nearlyEqual(fBaselineOffset, other.fBaselineOffset)); in equals()
|
D | TextLine.cpp | 474 SkAssertResult(nearlyEqual(shift, maxWidth - textLen)); in justify() 1087 nearlyEqual(lastRun->heightMultiplier(), in getRectsForRange() 1092 if (nearlyEqual(lastBox.rect.fTop, clip.fTop) && in getRectsForRange() 1093 nearlyEqual(lastBox.rect.fBottom, clip.fBottom) && in getRectsForRange() 1094 (nearlyEqual(lastBox.rect.fLeft, clip.fRight) || in getRectsForRange() 1095 nearlyEqual(lastBox.rect.fRight, clip.fLeft))) in getRectsForRange()
|
/external/angle/src/tests/gl_tests/gles1/ |
D | MatrixBuiltinsTest.cpp | 51 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P() 72 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P() 93 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P() 116 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P() 138 EXPECT_TRUE(testMatrix.nearlyEqual(0.00001f, outputMatrix)); in TEST_P()
|
/external/skia/modules/skparagraph/include/ |
D | ParagraphStyle.h | 56 nearlyEqual(this->fLeading, rhs.fLeading) && 57 nearlyEqual(this->fHeight, rhs.fHeight) && 58 nearlyEqual(this->fFontSize, rhs.fFontSize) &&
|
D | TextStyle.h | 28 static inline bool nearlyEqual(SkScalar x, SkScalar y, SkScalar tolerance = SK_ScalarNearlyZero) {
|
/external/angle/src/common/ |
D | matrix_utils_unittest.cpp | 2431 EXPECT_TRUE(a.nearlyEqual(0.1f, b)); in TEST() 2438 EXPECT_TRUE(a.nearlyEqual(0.1f, b)); in TEST()
|
D | matrix_utils.h | 112 bool nearlyEqual(T epsilon, const Matrix<T> &m) const in nearlyEqual() function
|
/external/skqp/docs/ |
D | SkMatrix_Reference.bmh | 2776 SkMatrix nearlyEqual; 2777 nearlyEqual.setAll(0.7071f, -0.7071f, 0, 0.7071f, 0.7071f, 0, 0, 0, 1); 2778 nearlyEqual.dump(); 2779 SkDebugf("matrix %c= nearlyEqual\n", matrix == nearlyEqual ? '=' : '!'); 2783 matrix != nearlyEqual
|
/external/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 5580 SkASSERT(nearlyEqual(1, SK_ScalarInfinity) == false); in DEF_TEST() 5581 SkASSERT(nearlyEqual(1, SK_ScalarNegativeInfinity) == false); in DEF_TEST() 5582 SkASSERT(nearlyEqual(1, SK_ScalarNaN) == false); in DEF_TEST() 5584 SkASSERT(nearlyEqual(SK_ScalarInfinity, SK_ScalarInfinity) == true); in DEF_TEST() 5585 SkASSERT(nearlyEqual(SK_ScalarInfinity, SK_ScalarNegativeInfinity) == false); in DEF_TEST() 5586 SkASSERT(nearlyEqual(SK_ScalarInfinity, SK_ScalarNaN) == false); in DEF_TEST() 5588 SkASSERT(nearlyEqual(SK_ScalarNegativeInfinity, SK_ScalarInfinity) == false); in DEF_TEST() 5589 SkASSERT(nearlyEqual(SK_ScalarNegativeInfinity, SK_ScalarNegativeInfinity) == true); in DEF_TEST() 5590 SkASSERT(nearlyEqual(SK_ScalarNegativeInfinity, SK_ScalarNaN) == false); in DEF_TEST() 5592 SkASSERT(nearlyEqual(SK_ScalarNaN, SK_ScalarInfinity) == false); in DEF_TEST() [all …]
|
/external/skqp/site/user/api/ |
D | SkMatrix_Reference.md | 4084 matrix != nearlyEqual
|