Home
last modified time | relevance | path

Searched refs:isZero (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/libs/ui/include/ui/
DStretchEffect.h47 static bool isZero(float value) { in isZero() function
52 bool isNoOp() const { return isZero(vectorX) && isZero(vectorY); } in isNoOp()
58 if (width == 0.f || height == 0.f || isZero(maxAmountX) || in sanitize()
59 isZero(maxAmountY)) { in sanitize()
DTransform.h128 static bool isZero(float f);
/frameworks/native/libs/ui/
DTransform.cpp46 bool Transform::isZero(float f) { in isZero() function in android::ui::Transform
51 return isZero(fabs(f) - 1.0f); in absIsOne()
159 if (isZero(tx) && isZero(ty)) { in set()
189 H.mType |= isZero(w) ? IDENTITY : TRANSLATE; in set()
197 V.mType |= isZero(h) ? IDENTITY : TRANSLATE; in set()
206 R.mType |= isZero(original_w) ? IDENTITY : TRANSLATE; in set()
331 if (isZero(b) && isZero(c)) { in type()
337 } else if (isZero(a) && isZero(d)) { in type()
363 if (!isZero(x) || !isZero(y)) in type()
/frameworks/base/libs/hwui/effects/
DStretchEffect.h43 bool isEmpty() const { return isZero(mStretchDirection.x()) && isZero(mStretchDirection.y()); } in isEmpty()
122 inline static bool isZero(float value) { in isZero() function
/frameworks/base/libs/hwui/
DLayer.cpp57 return MathUtils::isZero(roundf(x) - x); in isIntegerAligned()
66 if (MathUtils::isZero(matrix.getScaleX()) && MathUtils::isZero(matrix.getScaleY())) { in shouldFilterRect()
DMatrix.cpp69 static bool isZero(float f) { in isZero() function
107 if ((isZero(m00) && isZero(m11) && !isZero(m01) && !isZero(m10)) || in getType()
108 (isZero(m01) && isZero(m10) && !isZero(m00) && !isZero(m11))) { in getType()
DRenderProperties.cpp138 if (mPrimitiveFields.mAlpha < 1 && !MathUtils::isZero(mPrimitiveFields.mAlpha)) { in debugOutputProperties()
199 if (MathUtils::isZero(getRotationX()) && MathUtils::isZero(getRotationY())) { in updateMatrix()
DRenderNode.cpp99 << (MathUtils::isZero(properties().getAlpha()) ? ", zero alpha" : "") in output()
506 bool applyTranslationZ = true3dTransform && !MathUtils::isZero(properties().getZ()); in applyViewPropertyTransforms()
DRenderProperties.h557 (!MathUtils::isZero(mPrimitiveFields.mAlpha) && mPrimitiveFields.mAlpha < 1 && in promotedToLayer()
/frameworks/base/libs/hwui/utils/
DMathUtils.h33 inline static bool isZero(float value) { in isZero() function
85 inline static bool areEqual(float valueA, float valueB) { return isZero(valueA - valueB); } in areEqual()
/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp37 return MathUtils::isZero(roundf(x) - x); in isIntegerAligned()
46 if (MathUtils::isZero(matrix.getScaleX()) && MathUtils::isZero(matrix.getScaleY())) { in shouldFilterRect()
DRenderNodeDrawable.cpp115 if ((!mInReorderingSection) || MathUtils::isZero(mRenderNode->properties().getZ())) { in onDraw()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/
DCommonDisplayFeature.java19 import static androidx.window.util.ExtensionHelper.isZero;
73 if (isZero(featureRect)) { in parseFromString()
/frameworks/native/libs/binder/include/binder/
DRpcAddress.h46 bool isZero() const;
/frameworks/native/libs/binder/
DRpcAddress.cpp31 bool RpcAddress::isZero() const { in isZero() function in android::RpcAddress
DRpcState.cpp321 if (!address.isZero()) { in transact()
529 if (!addr.isZero()) { in processTransactInternal()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/
DExtensionHelper.java114 public static boolean isZero(@NonNull Rect rect) { in isZero() method in ExtensionHelper
/frameworks/native/include/ui/
DTransform.h128 static bool isZero(float f);
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h128 static bool isZero(float f);
/frameworks/base/core/java/android/util/
DRational.java203 public boolean isZero() { in isZero() method in Rational
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java991 assertThat(desiredSpecs.appRequestRefreshRateRange.min).isZero(); in testAppRequestMaxRefreshRate()
1003 assertThat(appRequestRefreshRate.refreshRateRange.min).isZero(); in testAppRequestObserver_modeId()
1012 assertThat(appRequestSize.refreshRateRange.min).isZero(); in testAppRequestObserver_modeId()
1015 assertThat(appRequestSize.baseModeRefreshRate).isZero(); in testAppRequestObserver_modeId()
1028 assertThat(appRequestRefreshRate.refreshRateRange.min).isZero(); in testAppRequestObserver_modeId()
1037 assertThat(appRequestSize.refreshRateRange.min).isZero(); in testAppRequestObserver_modeId()
1099 assertThat(appRequestRefreshRateRange.refreshRateRange.min).isZero(); in testAppRequestObserver_maxRefreshRate()
1116 assertThat(appRequestRefreshRateRange.refreshRateRange.min).isZero(); in testAppRequestObserver_maxRefreshRate()
1147 assertThat(appRequestRefreshRate.refreshRateRange.min).isZero(); in testAppRequestObserver_modeIdAndRefreshRateRange()
1157 assertThat(appRequestSize.refreshRateRange.min).isZero(); in testAppRequestObserver_modeIdAndRefreshRateRange()
/frameworks/base/core/java/android/telephony/
DSubscriptionPlan.java281 if (period.isZero() || period.isNegative()) { in createRecurring()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPFrequency.cpp36 static inline bool isZero(float f) { in isZero() function
46 return isZero(a - b); in compareEquality()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java429 assertAction("zero", object, expected, object.isZero()); in assertZero()
/frameworks/base/core/api/
Dcurrent.txt46477 method public boolean isZero();

12