Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libvrr/display/exynos/
DExynosDisplayContextProvider.cpp26 if (!mDisplay || !(mDisplay->mBrightnessController)) { in getBrightnessMode()
29 auto res = mDisplay->mBrightnessController->getBrightnessNitsAndMode(); in getBrightnessMode()
48 if (!mDisplay || !(mDisplay->mBrightnessController)) { in getBrightnessNits()
51 auto res = mDisplay->mBrightnessController->getBrightnessNitsAndMode(); in getBrightnessNits()
/hardware/google/graphics/gs101/libhwc2.1/libcolormanager/
DColorManager.cpp145 if (mExynosDisplay->mBrightnessController) in setColorModeWithRenderIntent()
146 mExynosDisplay->mBrightnessController->updateColorRenderIntent(intent); in setColorModeWithRenderIntent()
210 if (mExynosDisplay->mBrightnessController) in setLayersColorData()
211 dimSdrRatio = mExynosDisplay->mBrightnessController->getSdrDimRatioForInstantHbm(); in setLayersColorData()
283 auto& brightnessController = mExynosDisplay->mBrightnessController; in updateColorConversionInfo()
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplay.cpp285 mBrightnessController = std::make_unique<BrightnessController>(
554 mBrightnessController->resetLhbmState(); in setPowerDoze()
626 mBrightnessController->processOperationRate( in setPowerMode()
792 return mBrightnessController->isLhbmSupported(); in isLhbmSupported()
956 auto lhbmSysfs = mBrightnessController->GetPanelSysfileByIndex( in setLhbmState()
958 ret = mBrightnessController->checkSysfsStatus(lhbmSysfs, in setLhbmState()
981 ret = mBrightnessController->checkSysfsStatus(lhbmSysfs, checkingValue, in setLhbmState()
1000 auto rrSysfs = mBrightnessController->GetPanelRefreshRateSysfile(); in setLhbmState()
1013 if (mBrightnessController->fileExists(rrSysfs)) { in setLhbmState()
1015 ret = mBrightnessController->checkSysfsStatus(rrSysfs, {std::to_string(peakRate)}, in setLhbmState()
[all …]
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp194 mBrightnessController->updateBrightnessTable(table); in updateBrightnessTable()
261 getDisplaySceneInfo().displayScene.lhbm_on = mBrightnessController->isLhbmOn(); in updatePresentColorConversionInfo()
262 getDisplaySceneInfo().displayScene.dbv = mBrightnessController->getBrightnessLevel(); in updatePresentColorConversionInfo()
496 mBrightnessController->processEnhancedHbm(enhanced_hbm); in setLbeState()
497 mBrightnessController->setOutdoorVisibility(state); in setLbeState()
665 return mBrightnessController->getHdrLayerState() == HdrLayerState::kHdrLarge; in isFullScreenHdrLayer()
/hardware/google/graphics/common/libhwc2.1/
Dpixel-display.cpp389 if (mDisplay->mBrightnessController != nullptr) { in queryStats()
390 auto res = mDisplay->mBrightnessController->getBrightnessNitsAndMode(); in queryStats()
404 if (mDisplay->mBrightnessController != nullptr) { in queryStats()
405 int dbv = mDisplay->mBrightnessController->getBrightnessLevel(); in queryStats()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDisplay.cpp1655 if (mBrightnessController) { in requestLhbm()
1656 mBrightnessController->processLocalHbm(on); in requestLhbm()
4250 if (!mBrightnessController || !mBrightnessController->isSupported()) { in getDisplayBrightnessSupport()
4261 if (targetOpRate == mBrightnessController->getOperationRate()) return; in handleTargetOperationRate()
4264 mBrightnessController->processOperationRate(targetOpRate); in handleTargetOperationRate()
4269 if (mBrightnessController) { in setDisplayBrightness()
4272 ret = mBrightnessController->processDisplayBrightness(brightness, mVsyncPeriod, in setDisplayBrightness()
4277 mOperationRateManager->onBrightness(mBrightnessController->getBrightnessLevel()); in setDisplayBrightness()
4288 if (mBrightnessController) in ignoreBrightnessUpdateRequests()
4289 return mBrightnessController->ignoreBrightnessUpdateRequests(ignore); in ignoreBrightnessUpdateRequests()
[all …]
DBrightnessController.h55 DimmingMsgHandler(BrightnessController* bc) : mBrightnessController(bc) {} in DimmingMsgHandler()
59 BrightnessController* mBrightnessController;
DExynosLayer.cpp760 if (mDisplay->mType == HWC_DISPLAY_EXTERNAL && mDisplay->mBrightnessController == nullptr) { in setLayerBrightness()
769 if (mDisplay->mBrightnessController == nullptr || in setLayerBrightness()
770 !mDisplay->mBrightnessController->validateLayerBrightness(brightness)) { in setLayerBrightness()
DBrightnessController.cpp815 mBrightnessController->processDimmingOff(); in handleMessage()
819 mBrightnessController->mDimmingThreadRunning = false; in handleMessage()
DExynosDisplay.h591 std::unique_ptr<BrightnessController> mBrightnessController; variable
/hardware/google/graphics/gs101/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterfaceModule.cpp447 disp_info.brightness_ranges = mExynosDisplay->mBrightnessController->getBrightnessRanges(); in getDisplayInfo()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp823 if (mExynosDisplay->mBrightnessController && in initDrmDevice()
824 mExynosDisplay->mBrightnessController->initDrm(*mDrmDevice, *mDrmConnector)) { in initDrmDevice()
2130 if (mExynosDisplay->mBrightnessController) { in deliverWinConfigData()
2134 ret = mExynosDisplay->mBrightnessController->prepareFrameCommit(*mExynosDisplay, in deliverWinConfigData()