Home
last modified time | relevance | path

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

/base/update/updater/services/ui/view/component/
Dbox_progress_adapter.cpp101 constexpr float halfDivisor = 2.0; in GetPosOfEp() local
103 static_cast<int16_t>(GetX() - ep_->GetWidth() / halfDivisor + GetWidth() * rate), in GetPosOfEp()
104 static_cast<int16_t>(GetY() - ep_->GetHeight() / halfDivisor + GetHeight() / halfDivisor) in GetPosOfEp()
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_component_unittest.cpp188 constexpr float halfDivisor = 2.0; variable
192 epView.GetWidth() / halfDivisor + boxProgress.GetWidth() * rate));
194 epView.GetHeight() / halfDivisor + boxProgress.GetHeight() / halfDivisor));