Searched refs:toUnderlying (Results 1 – 10 of 10) sorted by relevance
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/ |
D | ExynosPrimaryDisplay.h | 158 int mVrrThrottleFps[toUnderlying(VrrThrottleRequester::MAX)]; 162 int64_t mVrrThrottleNanos[toUnderlying(VrrThrottleRequester::MAX)]; 169 int64_t mDisplayIdleTimerNanos[toUnderlying(DispIdleTimerRequester::MAX)];
|
D | ExynosPrimaryDisplay.cpp | 902 mDisplayIdleTimerNanos[toUnderlying(requester)] = delayNanos; in setDisplayIdleDelayNanos() 903 for (uint32_t i = 0; i < toUnderlying(DispIdleTimerRequester::MAX); i++) { in setDisplayIdleDelayNanos() 1003 if (fps == mVrrThrottleFps[toUnderlying(requester)]) return NO_ERROR; in setMinIdleRefreshRate() 1005 ALOGD("%s requester %u, fps %d", __func__, toUnderlying(requester), fps); in setMinIdleRefreshRate() 1006 mVrrThrottleFps[toUnderlying(requester)] = fps; in setMinIdleRefreshRate() 1008 for (uint32_t i = 0; i < toUnderlying(VrrThrottleRequester::MAX); i++) { in setMinIdleRefreshRate() 1039 if (delayNanos == mVrrThrottleNanos[toUnderlying(requester)]) return NO_ERROR; in setRefreshRateThrottleNanos() 1041 ALOGI("%s() requester(%u) set delay to %" PRId64 "ns", __func__, toUnderlying(requester), in setRefreshRateThrottleNanos() 1043 mVrrThrottleNanos[toUnderlying(requester)] = delayNanos; in setRefreshRateThrottleNanos() 1045 for (uint32_t i = 0; i < toUnderlying(VrrThrottleRequester::MAX); i++) { 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 | 423 {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 | 596 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_REFRESH_RATE), "sync_refresh_rate"}, in parseMipiSyncEnums() 597 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_LHBM), "sync_lhbm"}, in parseMipiSyncEnums() 598 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_GHBM), "sync_ghbm"}, in parseMipiSyncEnums() 599 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_BL), "sync_bl"}, in parseMipiSyncEnums() 600 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_OP_RATE), "sync_op_rate"}, in parseMipiSyncEnums() 1855 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_REFRESH_RATE)]; in deliverWinConfigData() 1992 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_GHBM)]; in deliverWinConfigData() 1996 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_LHBM)]; in deliverWinConfigData() 2000 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_BL)]; in deliverWinConfigData() 2004 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_OP_RATE)]; in deliverWinConfigData()
|
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/ |
D | ExynosPrimaryDisplayModule.cpp | 289 outClientTargetProperty->pixelFormat = toUnderlying(pixelFormat); in getClientTargetProperty() 290 outClientTargetProperty->dataspace = toUnderlying(dataspace); in getClientTargetProperty()
|
/hardware/google/graphics/common/libhwc2.1/libhwchelper/ |
D | ExynosHWCHelper.h | 647 constexpr typename std::underlying_type<T>::type toUnderlying(T v) { in toUnderlying() function
|