Lines Matching refs:nits
73 int setBrightnessNits(float nits, const nsecs_t vsyncNs);
156 auto nits = mBrightnessTable->BrightnessToNits(brightness.value(), brightnessMode); in getBrightnessNitsAndMode() local
157 if (nits == std::nullopt) { in getBrightnessNitsAndMode()
160 return std::make_tuple(nits.value(), brightnessMode); in getBrightnessNitsAndMode()
291 std::optional<float> NitsToBrightness(float nits) const override;
293 std::optional<uint32_t> NitsToDbv(BrightnessMode bm, float nits) const override;
308 BrightnessMode GetBrightnessModeForNits(float nits) const { in GetBrightnessModeForNits() argument
310 if (nits >= range.nits_min && nits <= range.nits_max) { in GetBrightnessModeForNits()
331 range.nits_min = attr.nits.min; in setBrightnessRangeFromAttribute()
332 range.nits_max = attr.nits.max; in setBrightnessRangeFromAttribute()
391 float *nits = nullptr);