Home
last modified time | relevance | path

Searched refs:areEqual (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java153 assertTrue(UserRestrictionsUtils.areEqual( in testAreEqual()
157 assertTrue(UserRestrictionsUtils.areEqual( in testAreEqual()
161 assertTrue(UserRestrictionsUtils.areEqual( in testAreEqual()
165 assertTrue(UserRestrictionsUtils.areEqual( in testAreEqual()
169 assertTrue(UserRestrictionsUtils.areEqual( in testAreEqual()
173 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual()
177 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual()
181 assertTrue(UserRestrictionsUtils.areEqual( in testAreEqual()
185 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual()
189 assertFalse(UserRestrictionsUtils.areEqual( in testAreEqual()
[all …]
/frameworks/base/libs/hwui/
DFloatColor.h43 return MathUtils::areEqual(r, other.r)
44 && MathUtils::areEqual(g, other.g)
45 && MathUtils::areEqual(b, other.b)
46 && MathUtils::areEqual(a, other.a);
DBakedOpState.cpp163 && MathUtils::areEqual(alpha, 1.0f) in setupOpacity()
DDisplayListCanvas.cpp285 if (!MathUtils::areEqual(scaleX, 1.0f) || !MathUtils::areEqual(scaleY, 1.0f)) { in drawBitmap()
DLayerBuilder.cpp138 if (!MathUtils::areEqual(lhs->alpha, rhs->alpha)) return false; in canMergeWith()
DDeferredDisplayList.cpp194 if (!MathUtils::areEqual(lhs->mAlpha, rhs->mAlpha)) return false; in canMergeWith()
DBakedOpDispatcher.cpp530 const bool tryToSnap = MathUtils::areEqual(op.src.getWidth(), op.unmappedBounds.getWidth()) in onBitmapRectOp()
531 && MathUtils::areEqual(op.src.getHeight(), op.unmappedBounds.getHeight()); in onBitmapRectOp()
DOpenGLRenderer.cpp1617 const bool tryToSnap = MathUtils::areEqual(src.getWidth(), dst.getWidth())
1618 && MathUtils::areEqual(src.getHeight(), dst.getHeight());
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h51 EXPECT_TRUE(MathUtils::areEqual(a.left, b.left) \
52 && MathUtils::areEqual(a.top, b.top) \
53 && MathUtils::areEqual(a.right, b.right) \
54 && MathUtils::areEqual(a.bottom, b.bottom));
121 if (!MathUtils::areEqual(a[i], b[i])) { in matricesAreApproxEqual()
/frameworks/base/libs/hwui/utils/
DMathUtils.h81 inline static bool areEqual(float valueA, float valueB) { in areEqual() function
DBlur.cpp42 if (MathUtils::areEqual(radiusCeil, radius)) { in convertRadiusToInt()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockUtils.java91 return UserRestrictionsUtils.areEqual((Bundle) item, expected); in checkUserRestrictions()
/frameworks/base/libs/hwui/tests/unit/
DCanvasStateTests.cpp41 if (!MathUtils::areEqual(a[i], b[i])) { in approxEqual()
DVectorDrawableTests.cpp344 EXPECT_TRUE(MathUtils::areEqual(expectedResult, outData.points[i])); in TEST()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java275 public static boolean areEqual(@Nullable Bundle a, @Nullable Bundle b) { in areEqual() method in UserRestrictionsUtils
DUserManagerService.java1101 globalChanged = !UserRestrictionsUtils.areEqual( in setDevicePolicyUserRestrictionsInner()
1121 localChanged = !UserRestrictionsUtils.areEqual(prev, local); in setDevicePolicyUserRestrictionsInner()
1309 if (!UserRestrictionsUtils.areEqual(prevBaseRestrictions, newRestrictions)) { in updateUserRestrictionsInternalLR()
1349 if (UserRestrictionsUtils.areEqual(newRestrictions, prevRestrictions)) { in propagateUserRestrictionsLR()