Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libdevice/
DBrightnessController.h280 const BrightnessRangeMap& GetBrightnessRangeMap() const { return mBrightnessRanges; } in GetBrightnessRangeMap()
285 if (mBrightnessRanges.count(bm) == 0) { in GetBrightnessRange()
288 return mBrightnessRanges.at(bm); in GetBrightnessRange()
297 for (const auto& [mode, range] : mBrightnessRanges) { in GetBrightnessMode()
309 for (const auto& [mode, range] : mBrightnessRanges) { in GetBrightnessModeForNits()
319 for (const auto& [mode, range] : mBrightnessRanges) { in getBrightnessModeForDbv()
365 return mBrightnessRanges.count(BrightnessMode::BM_HBM) > 0; in SupportHBM()
368 BrightnessRangeMap mBrightnessRanges; variable
DBrightnessController.cpp29 setBrightnessRangeFromAttribute(cap->normal, mBrightnessRanges[BrightnessMode::BM_NOMINAL]); in Init()
30 setBrightnessRangeFromAttribute(cap->hbm, mBrightnessRanges[BrightnessMode::BM_HBM]); in Init()
31 if (mBrightnessRanges[BrightnessMode::BM_NOMINAL].brightness_max == in Init()
32 mBrightnessRanges[BrightnessMode::BM_HBM].brightness_min) { in Init()
33 mBrightnessRanges[BrightnessMode::BM_HBM].brightness_min_exclusive = true; in Init()
35 if (!mBrightnessRanges.at(BrightnessMode::BM_NOMINAL).IsValid()) { in Init()
40 if (mBrightnessRanges.count(BrightnessMode::BM_HBM) > 0) { in Init()
41 if (!mBrightnessRanges.at(BrightnessMode::BM_HBM).IsValid()) { in Init()
56 const DisplayBrightnessRange& range = mBrightnessRanges.at(mode); in NitsToBrightness()
88 const DisplayBrightnessRange& range = mBrightnessRanges.at(bm); in BrightnessToNits()
[all …]