Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp173 std::optional<int32_t> greenOr = getRawLightBrightness(rawRgbIds.at(LightColor::GREEN)); in getLightColor() local
176 if (!redOr.has_value() || !greenOr.has_value() || !blueOr.has_value()) { in getLightColor()
184 int32_t green = round(greenOr.value() * ratio); in getLightColor()
191 green = greenOr.value(); in getLightColor()