Home
last modified time | relevance | path

Searched refs:kColor (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp48 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()
DResource.cpp61 case ResourceType::kColor: in to_string()
114 {"color", ResourceType::kColor},
DResource_test.cpp50 EXPECT_EQ(*type, ResourceType::kColor); in TEST()
DResource.h46 kColor, enumerator
DResourceParser.cpp498 {"color", {ResourceType::kColor, android::ResTable_map::TYPE_COLOR}}, in ParseResource()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp687 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/
DPaint.cpp828 static_assert(27 == static_cast<int>(SkBlendMode::kColor), "xfermode mismatch"); in setXfermode()