HomeSort by relevance Sort by last modified time
    Searched refs:approxEqual (Results 1 - 2 of 2) sorted by null

  /frameworks/base/libs/hwui/tests/unit/
CanvasStateTests.cpp 39 static bool approxEqual(const Matrix4& a, const Matrix4& b) {
62 EXPECT_TRUE(approxEqual(*state.currentTransform(), simpleTranslate));
135 EXPECT_TRUE(approxEqual(*state.currentTransform(), simpleTranslate));
138 EXPECT_FALSE(approxEqual(*state.currentTransform(), simpleTranslate));
159 EXPECT_TRUE(approxEqual(*state.currentTransform(), simpleTranslate));
162 EXPECT_TRUE(approxEqual(*state.currentTransform(), simpleTranslate)); // verify not restored
  /art/test/003-omnibus-opcodes/src/
FloatMath.java 321 static boolean approxEqual(float a, float b, float maxDelta) {
327 static boolean approxEqual(double a, double b, double maxDelta) {
342 Main.assertTrue(approxEqual(Math.abs(ff), ff, 0.001f));
343 Main.assertTrue(approxEqual(Math.abs(-ff), ff, 0.001f));
344 Main.assertTrue(approxEqual(Math.min(ff, -5.0f), -5.0f, 0.001f));
345 Main.assertTrue(approxEqual(Math.max(ff, -5.0f), ff, 0.001f));
347 Main.assertTrue(approxEqual(Math.abs(dd), dd, 0.001));
348 Main.assertTrue(approxEqual(Math.abs(-dd), dd, 0.001));
349 Main.assertTrue(approxEqual(Math.min(dd, -5.0), -5.0, 0.001));
350 Main.assertTrue(approxEqual(Math.max(dd, -5.0), dd, 0.001))
    [all...]

Completed in 49 milliseconds