Searched refs:PERCENT (Results 1 - 6 of 6) sorted by relevance
/base/msdp/device_status/intention/cooperate/plugin/src/ |
H A D | cooperate_context.cpp | 35 constexpr double PERCENT { 100.0 }; 209 .x = static_cast<int32_t>((cursorPos_.x + 1) * PERCENT / displayRect.width), in NormalizedCursorPosition() 210 .y = static_cast<int32_t>((cursorPos_.y + 1) * PERCENT / displayRect.height), in NormalizedCursorPosition() 363 double xPercent = (PERCENT - std::clamp<double>(cursorPos.x, 0.0, PERCENT)) / PERCENT; in SetCursorPosition() 364 double yPercent = std::clamp<double>(cursorPos.y, 0.0, PERCENT) / PERCENT; in SetCursorPosition()
|
/base/request/request/services/src/cxx/ |
H A D | notification_bar.cpp | 43 static constexpr uint32_t PERCENT = 100; member 244 title += std::to_string(processed * PERCENT / size); in TitleWithProgressPercentage() 256 int remainder = (processed % BINARY_SCALE) * PERCENT / BINARY_SCALE; in TitleWithProgressSized() 263 remainder = (processed % BINARY_SCALE) * PERCENT / BINARY_SCALE; in TitleWithProgressSized() 269 remainder = (processed % BINARY_SCALE) * PERCENT / BINARY_SCALE; in TitleWithProgressSized()
|
/base/global/i18n_lite/interfaces/kits/i18n/include/ |
H A D | types.h | 70 PERCENT
enumerator
|
/base/hiviewdfx/hilog/services/hilogtool/ |
H A D | log_display.cpp | 289 static const int PERCENT = 100; in HilogShowLogStatsInfo() local 293 cout << "(" << setprecision(FLOAT_PRECSION) << (static_cast<float>(rsp.totalLines[i] * PERCENT) / lines) << in HilogShowLogStatsInfo() 296 cout << "(" << setprecision(FLOAT_PRECSION) << (static_cast<float>(rsp.totalLens[i] * PERCENT) / lens) << in HilogShowLogStatsInfo()
|
/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | number_format_impl.cpp | 351 if (type == PERCENT) { // percent,the decimal needs to be multiplied by 100.
in Format() 373 if (type == PERCENT) { // percent,the decimal needs to be multiplied by 100.
in FormatNoGroup()
|
/base/global/i18n_lite/frameworks/i18n/test/unittest/lite/common/ |
H A D | i18n_test.cpp | 507 std::string out = formatter.Format(percentNum1, NumberFormatType::PERCENT, status);
in HWTEST_F() 508 std::string out2 = formatter.Format(percentNum2, NumberFormatType::PERCENT, status);
in HWTEST_F() 993 std::string out = format.Format(0.12, NumberFormatType::PERCENT, status);
in HWTEST_F()
|
Completed in 7 milliseconds