Home
last modified time | relevance | path

Searched refs:rawRgbIds (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp134 setRawLightBrightness(rawRgbIds.at(LightColor::RED), red); in setLightColor()
135 setRawLightBrightness(rawRgbIds.at(LightColor::GREEN), green); in setLightColor()
136 setRawLightBrightness(rawRgbIds.at(LightColor::BLUE), blue); in setLightColor()
172 std::optional<int32_t> redOr = getRawLightBrightness(rawRgbIds.at(LightColor::RED)); in getLightColor()
173 std::optional<int32_t> greenOr = getRawLightBrightness(rawRgbIds.at(LightColor::GREEN)); in getLightColor()
174 std::optional<int32_t> blueOr = getRawLightBrightness(rawRgbIds.at(LightColor::BLUE)); in getLightColor()
255 dump += StringPrintf(INDENT4 "Raw RGB LEDs: [%d, %d, %d] ", rawRgbIds.at(LightColor::RED), in dump()
256 rawRgbIds.at(LightColor::GREEN), rawRgbIds.at(LightColor::BLUE)); in dump()
404 std::unordered_map<LightColor, int32_t /* rawLightId */> rawRgbIds; in configureLights() local
448 rawRgbIds.emplace(LightColor::RED, rawId); in configureLights()
[all …]
DPeripheralController.h99 const std::unordered_map<LightColor, int32_t>& rawRgbIds, in RgbLight()
101 : Light(context, "RGB", id, type), rawRgbIds(rawRgbIds), rawGlobalId(rawGlobalId) { in RgbLight()
109 std::unordered_map<LightColor, int32_t /* rawLightId */> rawRgbIds; member