Home
last modified time | relevance | path

Searched refs:style (Results 1 – 25 of 58) sorted by relevance

123

/base/global/i18n_lite/frameworks/i18n/src/
Dnumber_data.cpp100 CalculateIntLength(len - style.decLen, pattern, len, isDec); in ParsePattern()
102 style.isTwoGroup = true; in ParsePattern()
124 style.decLen = decLen; in CalculateDecLength()
143 style.intLen = intLen; in CalculateIntLength()
221 I18nFree(static_cast<void *>(style.entireFormat)); in ParseOtherPerPattern()
223 style.entireFormat = I18nNewCharString(type.data(), typeLen); in ParseOtherPerPattern()
228 style.minDecimalLength = length; in SetMinDecimalLength()
279 style.maxDecimalLength = length; in SetMaxDecimalLength()
350 I18nFree(static_cast<void *>(style.numFormat)); in UpdateNumberFormat()
351 style.numFormat = format; in UpdateNumberFormat()
[all …]
Dnumber_format_impl.cpp23 …rmatImpl::ConvertSignAndNum(const char *content, int len, NumberData *data, StyleData &style) const in ConvertSignAndNum()
131 bool isPercentDefault = isPercent && (defaultData->style.minDecimalLength < 0); in InnerFormat()
134 static_cast<int>(sprintf_s(buff, NUMBER_MAX, defaultData->style.numFormat, adjustNum)); in InnerFormat()
142 …int lastLen = isShowGroup ? (len + CountGroupNum(len - decLen, defaultData->style.isTwoGroup)) : l… in InnerFormat()
152 int lengths[] = { lastLen, len, defaultData->style.isTwoGroup }; in InnerFormat()
162 lastLen = DelMoreZero(defaultData->style, decLen, lastLen, adjustHasDec, result); in InnerFormat()
164 if (isPercent && !DealWithPercent(buff, result, status, defaultData->style, lastLen)) { in InnerFormat()
169 std::string outStr = ConvertSignAndNum(result, lastLen, defaultData, defaultData->style); in InnerFormat()
177 bool NumberFormatImpl::DealWithPercent(char *buff, char *&result, int &status, StyleData &style, in… in DealWithPercent() argument
179 if (style.entireFormat != nullptr) { in DealWithPercent()
[all …]
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/
Dpublishcontinuoustasknotification_fuzzer.cpp32 int32_t style = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
34 Notification::NotificationRequest::BadgeStyle(style); in DoSomethingInterestingWithMyAPI()
36 request.SetBadgeNumber(style); in DoSomethingInterestingWithMyAPI()
53 request.SetDeliveryTime(style); in DoSomethingInterestingWithMyAPI()
71 request.SetNotificationId(style); in DoSomethingInterestingWithMyAPI()
85 Notification::NotificationHelper::CancelContinuousTaskNotification(stringData, style); in DoSomethingInterestingWithMyAPI()
90 return Notification::NotificationHelper::IsAllowedNotify(style, support); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_slot_test.cpp86 std::vector<int64_t> style; variable
87 style.push_back(0);
88 slot.SetVibrationStyle(style);
132 std::vector<int64_t> style; variable
133 style.push_back(0);
134 slot.SetVibrationStyle(style);
178 std::vector<int64_t> style; variable
179 style.push_back(0);
180 slot.SetVibrationStyle(style);
223 std::vector<int64_t> style; variable
[all …]
/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/
Dpublishnotification_fuzzer.cpp32 int32_t style = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
34 Notification::NotificationRequest::BadgeStyle(style); in DoSomethingInterestingWithMyAPI()
36 request.SetBadgeNumber(style); in DoSomethingInterestingWithMyAPI()
53 request.SetDeliveryTime(style); in DoSomethingInterestingWithMyAPI()
71 request.SetNotificationId(style); in DoSomethingInterestingWithMyAPI()
/base/global/system_resources/systemres/main/resources/base/media/
Dohos_semi_modal_bar_down.svg1 …lns="http://www.w3.org/2000/svg" viewBox="0 0 160 80"><defs><style>.cls-1{fill:none;}</style></def…
Dohos_semi_modal_bar_middle.svg1 …lns="http://www.w3.org/2000/svg" viewBox="0 0 160 80"><defs><style>.cls-1{fill:none;}</style></def…
Dohos_play.svg1 …ns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><defs><style>.cls-1{fill:#1a1a1a;}</style></de…
Dohos_exit_full_screen.svg1 …ns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><defs><style>.cls-1{fill:#1a1a1a;}</style></de…
Dohos_full_screen.svg1 …ns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><defs><style>.cls-1{fill:#1a1a1a;}</style></de…
Dohos_pause.svg1 …ns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><defs><style>.cls-1{fill:#1a1a1a;}</style></de…
/base/global/i18n_lite/frameworks/i18n/include/
Dnumber_format_impl.h44 …int DelMoreZero(const StyleData &style, int decLen, int lastLen, bool hasDec, char *&result) const;
46 …std::string ConvertSignAndNum(const char *content, int len, NumberData *data, StyleData &style) co…
52 …bool DealWithPercent(char *buff, char *&result, int &status, StyleData &style, int &lastLen) const;
/base/msdp/device_status/services/interaction/drag/src/
Ddrag_manager.cpp157 int32_t DragManager::UpdateDragStyle(DragCursorStyle style, int32_t targetPid, int32_t targetTid) in UpdateDragStyle() argument
164 if ((style < DragCursorStyle::DEFAULT) || (style > DragCursorStyle::MOVE)) { in UpdateDragStyle()
165 FI_HILOGE("Invalid style:%{public}d", style); in UpdateDragStyle()
168 DRAG_DATA_MGR.SetDragStyle(style); in UpdateDragStyle()
171 return dragDrawing_.UpdateDragStyle(style); in UpdateDragStyle()
333 DragCursorStyle style = DRAG_DATA_MGR.GetDragStyle(); in Dump() local
341 … GetDragCursorStyle(style).c_str(), DRAG_DATA_MGR.GetDragWindowVisible() ? "true" : "false"); in Dump()
348 … GetDragCursorStyle(style).c_str(), DRAG_DATA_MGR.GetDragWindowVisible() ? "true" : "false"); in Dump()
430 std::string style; in GetDragCursorStyle() local
433 style = "copy"; in GetDragCursorStyle()
[all …]
Ddrag_data_manager.cpp48 void DragDataManager::SetDragStyle(DragCursorStyle style) in SetDragStyle() argument
50 dragStyle_ = style; in SetDragStyle()
/base/msdp/device_status/frameworks/native/interaction/src/
Ddrag_manager_impl.cpp29 int32_t DragManagerImpl::UpdateDragStyle(DragCursorStyle style) in UpdateDragStyle() argument
32 if ((style < DragCursorStyle::DEFAULT) || (style > DragCursorStyle::MOVE)) { in UpdateDragStyle()
33 FI_HILOGE("Invalid style:%{public}d", style); in UpdateDragStyle()
36 return DeviceStatusClient::GetInstance().UpdateDragStyle(style); in UpdateDragStyle()
Dinteraction_manager.cpp71 int32_t InteractionManager::UpdateDragStyle(DragCursorStyle style) in UpdateDragStyle() argument
73 return INTER_MGR_IMPL.UpdateDragStyle(style); in UpdateDragStyle()
/base/notification/distributed_notification_service/test/fuzztest/readfromparcel_fuzzer/
Dreadfromparcel_fuzzer.cpp62 std::vector<int64_t> style; in DoSomethingInterestingWithMyAPI() local
63 style.emplace_back(time); in DoSomethingInterestingWithMyAPI()
64 notification.SetVibrationStyle(style); in DoSomethingInterestingWithMyAPI()
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/pages/
DUsbDialog.ets19 // allow,notAllow button style
29 // content style
47 // title style
/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/
Dnotification_publish_test.cpp72 std::vector<std::string> style; in InitTextRequest() local
73 style.push_back("style"); in InitTextRequest()
74 req_.SetNotificationUserInputHistory(style); in InitTextRequest()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Dstream_session.rs81 fn set_token_type(&mut self, style: i32) { in set_token_type()
82 self.token_type = style in set_token_type()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification.cpp458 void Notification::SetVibrationStyle(const std::vector<int64_t> &style) in SetVibrationStyle() argument
460 vibrationStyle_ = style; in SetVibrationStyle()
492 for (const auto &style : vibrationStyle_) { in Dump() local
493 vibrationStyle += std::to_string(style); in Dump()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_session/
Dffi.rs154 pub unsafe extern "C" fn StreamSessionSetTokenType(object: *mut StreamSession, style: i32) -> i32 { in StreamSessionSetTokenType()
157 obj.set_token_type(style); in StreamSessionSetTokenType()
/base/msdp/device_status/services/interaction/drag/include/
Ddrag_data_manager.h38 void SetDragStyle(DragCursorStyle style);
/base/msdp/device_status/frameworks/native/interaction/include/
Ddrag_manager_impl.h39 int32_t UpdateDragStyle(DragCursorStyle style);
/base/update/update_app/feature/ota/src/main/ets/components/
DProgressContent.ets46 Progress({ value: this.downloadProgress, style: ProgressStyle.Ring })
47 .style({ strokeWidth: $r('app.float.progress_stroke_width') })

123