Searched refs:Matches (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceValues_test.cpp | 233 EXPECT_FALSE(attr1.Matches(*ResourceUtils::TryParseColor("#7fff00"))); in TEST() 234 EXPECT_TRUE(attr1.Matches(*ResourceUtils::TryParseFloat("23dp"))); in TEST() 235 EXPECT_TRUE(attr1.Matches(*ResourceUtils::TryParseReference("@android:string/foo"))); in TEST() 241 EXPECT_FALSE(attr2.Matches(*ResourceUtils::TryParseColor("#7fff00"))); in TEST() 242 EXPECT_TRUE(attr2.Matches(BinaryPrimitive(TYPE_INT_DEC, static_cast<uint32_t>(-1)))); in TEST() 243 EXPECT_TRUE(attr2.Matches(BinaryPrimitive(TYPE_INT_DEC, 1u))); in TEST() 244 EXPECT_FALSE(attr2.Matches(BinaryPrimitive(TYPE_INT_DEC, static_cast<uint32_t>(-2)))); in TEST() 256 EXPECT_FALSE(attr3.Matches(*ResourceUtils::TryParseColor("#7fff00"))); in TEST() 257 EXPECT_TRUE(attr3.Matches(BinaryPrimitive(TYPE_INT_DEC, 0x01u | 0x02u))); in TEST() 258 EXPECT_TRUE(attr3.Matches(BinaryPrimitive(TYPE_INT_DEC, 0x01u | 0x02u | 0x80u))); in TEST() [all …]
|
D | ResourceValues.h | 318 bool Matches(const Item& item, android::DiagMessage* out_msg = nullptr) const;
|
D | ResourceValues.cpp | 744 bool Attribute::Matches(const Item& item, android::DiagMessage* out_msg) const { in Matches() function in aapt::Attribute
|
/frameworks/native/libs/input/tests/ |
D | MotionPredictorMetricsManager_test.cpp | 37 using ::testing::Matches; 56 return Matches(FloatNear(target[0], epsilon))(arg[0]) && 57 Matches(FloatNear(target[1], epsilon))(arg[1]); 65 if (!Matches(Vector2fNear(target.position, epsilon))(arg.position)) { 71 if (!Matches(FloatNear(target.pressure, epsilon))(arg.pressure)) {
|
/frameworks/base/core/java/android/window/flags/ |
D | lse_desktop_experience.aconfig | 92 description: "Matches the App Header density to that of the app window, instead of SysUI's"
|
/frameworks/base/core/proto/android/server/ |
D | notificationhistory.proto | 65 // Matches the constants of android.graphics.drawable.Icon
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker.cpp | 130 if (!symbol->attribute->Matches(*entry.value, nullptr)) { in TransformDerived() 136 symbol->attribute->Matches(*entry.value, &msg); in TransformDerived()
|