Searched refs:toUnderlying (Results 1 – 10 of 10) sorted by relevance
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/ |
D | ExynosPrimaryDisplay.h | 186 int mRrThrottleFps[toUnderlying(RrThrottleRequester::MAX)]; 190 int64_t mRrThrottleNanos[toUnderlying(RrThrottleRequester::MAX)]; 199 int64_t mDisplayIdleTimerNanos[toUnderlying(DispIdleTimerRequester::MAX)];
|
D | ExynosPrimaryDisplay.cpp | 1228 mDisplayIdleTimerNanos[toUnderlying(requester)] = delayNanos; in setDisplayIdleDelayNanos() 1229 for (uint32_t i = 0; i < toUnderlying(DispIdleTimerRequester::MAX); i++) { in setDisplayIdleDelayNanos() 1361 if (fps == mRrThrottleFps[toUnderlying(requester)]) return NO_ERROR; in setMinIdleRefreshRate() 1363 ALOGD("%s requester %u, fps %d", __func__, toUnderlying(requester), fps); in setMinIdleRefreshRate() 1364 mRrThrottleFps[toUnderlying(requester)] = fps; in setMinIdleRefreshRate() 1366 for (uint32_t i = 0; i < toUnderlying(RrThrottleRequester::MAX); i++) { in setMinIdleRefreshRate() 1437 if (delayNanos == mRrThrottleNanos[toUnderlying(requester)]) return NO_ERROR; in setRefreshRateThrottleNanos() 1439 ALOGI("%s() requester(%u) set delay to %" PRId64 "ns", __func__, toUnderlying(requester), in setRefreshRateThrottleNanos() 1441 mRrThrottleNanos[toUnderlying(requester)] = delayNanos; in setRefreshRateThrottleNanos() 1442 uint32_t maxDelayRequester = toUnderlying(RrThrottleRequester::MAX); in setRefreshRateThrottleNanos() [all …]
|
/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | ExynosLayer.h | 79 HWC2_COMPOSITION_DISPLAY_DECORATION = toUnderlying(Composition::DISPLAY_DECORATION), 80 HWC2_COMPOSITION_REFRESH_RATE_INDICATOR = toUnderlying(Composition::REFRESH_RATE_INDICATOR),
|
D | ExynosLayer.cpp | 358 toUnderlying(AidlBufferUsage::FRONT_BUFFER)) { in doPreProcess() 415 toUnderlying(AidlBufferUsage::FRONT_BUFFER)) != in setLayerBuffer() 417 toUnderlying(AidlBufferUsage::FRONT_BUFFER))) in setLayerBuffer()
|
D | BrightnessController.cpp | 437 {std::to_string(toUnderlying(mPendingGhbmStatus.load()))}, vsyncNs * 5); in processDisplayBrightness()
|
/hardware/google/pixel/vibrator/drv2624/ |
D | Vibrator.cpp | 63 using utils::toUnderlying; 134 mHwApi->setCtrlLoop(toUnderlying(loopMode)); in on() 142 mHwApi->setLraWaveShape(toUnderlying(config->shape)); in on()
|
/hardware/google/pixel/vibrator/common/ |
D | utils.h | 65 inline auto toUnderlying(const T value) { in toUnderlying() function
|
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/ |
D | ExynosDisplayDrmInterface.cpp | 642 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_REFRESH_RATE), "sync_refresh_rate"}, in parseMipiSyncEnums() 643 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_LHBM), "sync_lhbm"}, in parseMipiSyncEnums() 644 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_GHBM), "sync_ghbm"}, in parseMipiSyncEnums() 645 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_BL), "sync_bl"}, in parseMipiSyncEnums() 646 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_OP_RATE), "sync_op_rate"}, in parseMipiSyncEnums() 2007 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_REFRESH_RATE)]; in deliverWinConfigData() 2144 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_GHBM)]; in deliverWinConfigData() 2148 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_LHBM)]; in deliverWinConfigData() 2152 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_BL)]; in deliverWinConfigData() 2156 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_OP_RATE)]; in deliverWinConfigData()
|
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/ |
D | ExynosPrimaryDisplayModule.cpp | 165 outClientTargetProperty->pixelFormat = toUnderlying(pixelFormat); in getClientTargetProperty() 166 outClientTargetProperty->dataspace = toUnderlying(dataspace); in getClientTargetProperty()
|
/hardware/google/graphics/common/libhwc2.1/libhwchelper/ |
D | ExynosHWCHelper.h | 656 constexpr typename std::underlying_type<T>::type toUnderlying(T v) { in toUnderlying() function
|