Searched refs:kColor (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 48 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kColor, "foo"))); in TEST() 52 EXPECT_THAT(actual, Eq(ResourceNameRef({}, ResourceType::kColor, "foo"))); in TEST() 56 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kColor, "foo"))); in TEST() 67 EXPECT_THAT(actual, Eq(ResourceNameRef({}, ResourceType::kColor, "foo"))); in TEST() 77 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kColor, "foo"))); in TEST() 87 EXPECT_THAT(actual, Eq(ResourceNameRef("android", ResourceType::kColor, "foo"))); in TEST()
|
D | Resource.cpp | 61 case ResourceType::kColor: in to_string() 114 {"color", ResourceType::kColor},
|
D | Resource_test.cpp | 50 EXPECT_EQ(*type, ResourceType::kColor); in TEST()
|
D | Resource.h | 46 kColor, enumerator
|
D | ResourceParser.cpp | 498 {"color", {ResourceType::kColor, android::ResTable_map::TYPE_COLOR}}, in ParseResource()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 687 static const half4 kColor; member 717 mLayerFEState.color = kColor; in OutputLayerWriteStateToHWCTest() 773 const hal::Color color = {static_cast<uint8_t>(std::round(kColor.r * 255)), in expectSetColorCall() 774 static_cast<uint8_t>(std::round(kColor.g * 255)), in expectSetColorCall() 775 static_cast<uint8_t>(std::round(kColor.b * 255)), 255}; in expectSetColorCall() 805 const half4 OutputLayerWriteStateToHWCTest::kColor{81.f / 255.f, 82.f / 255.f, 83.f / 255.f,
|
/frameworks/base/libs/hwui/jni/ |
D | Paint.cpp | 828 static_assert(27 == static_cast<int>(SkBlendMode::kColor), "xfermode mismatch"); in setXfermode()
|