Searched refs:isZero (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DMathUtils.h30 inline static bool isZero(float value) { function in class:android::uirenderer::MathUtils
66 return isZero(valueA - valueB);
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp49 bool Transform::isZero(float f) { function in class:android::Transform
54 return isZero(fabs(f) - 1.0f);
117 if (isZero(tx) && isZero(ty)) {
149 H.mType |= isZero(w) ? IDENTITY : TRANSLATE;
157 V.mType |= isZero(h) ? IDENTITY : TRANSLATE;
166 R.mType |= isZero(original_w) ? IDENTITY : TRANSLATE;
260 if (isZero(b) && isZero(c)) {
266 } else if (isZero(
[all...]
H A DTransform.h104 static bool isZero(float f);
/frameworks/base/libs/hwui/
H A DMatrix.cpp71 static bool isZero(float f) { function in namespace:android::uirenderer
109 if ((isZero(m00) && isZero(m11) && !isZero(m01) && !isZero(m10)) ||
110 (isZero(m01) && isZero(m10) && !isZero(m00) && !isZero(m11))) {
H A DRenderProperties.cpp192 if (MathUtils::isZero(getRotationX()) && MathUtils::isZero(getRotationY())) {
H A DRenderNode.cpp457 bool applyTranslationZ = true3dTransform && !MathUtils::isZero(properties().getZ());
626 if (!MathUtils::isZero(childZ) && chunk.reorderChildren) {
/frameworks/base/core/java/android/util/
H A DRational.java197 public boolean isZero() { method in class:Rational
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DRationalTest.java258 // isZero
429 assertAction("zero", object, expected, object.isZero());

Completed in 416 milliseconds