Home
last modified time | relevance | path

Searched refs:rate (Results 1 - 6 of 6) sorted by relevance

/base/powermgr/thermal_manager/services/native/src/thermal_observer/
H A Dthermal_service_subscriber.cpp100 double rate = 0; in SetHistoryTypeTempMap() local
102 rate = (sum / THOUSAND_UNIT / sec) * SEC_MIN_NUM; in SetHistoryTypeTempMap()
105 sensorsRateMap_.insert(std::make_pair(history.first, rate)); in SetHistoryTypeTempMap()
/base/web/webview/ohos_adapter/camera_adapter/include/
H A Dformat_adapter_impl.h39 void SetFrameRate(float rate);
/base/update/updater/services/ui/view/component/
H A Dbox_progress_adapter.cpp100 float rate = static_cast<float>(GetValue()) / (progressWidth_ - 1); in GetPosOfEp() local
103 static_cast<int16_t>(GetX() - ep_->GetWidth() / halfDivisor + GetWidth() * rate), in GetPosOfEp()
/base/sensors/sensor/test/unittest/common/src/
H A Dsystem_info.cpp42 inline double CHK_RATE(double rate) in CHK_RATE() argument
44 return (rate > CPU_USAGE_MAX ? CPU_USAGE_MAX : rate); in CHK_RATE()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_native_media_player.cpp360 double rate = 0.0; in HandlePlaybackRateChanged() local
361 if (!NapiParseUtils::ParseDouble(env, argv[INTEGER_ZERO], rate)) { in HandlePlaybackRateChanged()
362 WVLOG_E("failed to parse rate"); in HandlePlaybackRateChanged()
367 if ((rate < 0.0) || (rate > MAX_PLAYBACK_RATE)) { in HandlePlaybackRateChanged()
368 WVLOG_E("rate is invalid"); in HandlePlaybackRateChanged()
380 handler->HandlePlaybackRateChanged(rate); in HandlePlaybackRateChanged()
/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_component_unittest.cpp190 float rate = static_cast<float>(boxProgress.GetValue()) / boxProgress.GetRangeMax(); in HWTEST_F() local
192 epView.GetWidth() / halfDivisor + boxProgress.GetWidth() * rate)); in HWTEST_F()

Completed in 4 milliseconds