/base/global/i18n_lite/frameworks/i18n/src/ |
D | number_data.cpp | 100 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 …]
|
D | number_format_impl.cpp | 23 …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/ |
D | publishcontinuoustasknotification_fuzzer.cpp | 32 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/ |
D | ans_innerkits_module_slot_test.cpp | 86 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/ |
D | publishnotification_fuzzer.cpp | 32 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/ |
D | ohos_semi_modal_bar_down.svg | 1 …lns="http://www.w3.org/2000/svg" viewBox="0 0 160 80"><defs><style>.cls-1{fill:none;}</style></def…
|
D | ohos_semi_modal_bar_middle.svg | 1 …lns="http://www.w3.org/2000/svg" viewBox="0 0 160 80"><defs><style>.cls-1{fill:none;}</style></def…
|
D | ohos_play.svg | 1 …ns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><defs><style>.cls-1{fill:#1a1a1a;}</style></de…
|
D | ohos_exit_full_screen.svg | 1 …ns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><defs><style>.cls-1{fill:#1a1a1a;}</style></de…
|
D | ohos_full_screen.svg | 1 …ns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><defs><style>.cls-1{fill:#1a1a1a;}</style></de…
|
D | ohos_pause.svg | 1 …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/ |
D | number_format_impl.h | 44 …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/ |
D | drag_manager.cpp | 157 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 …]
|
D | drag_data_manager.cpp | 48 void DragDataManager::SetDragStyle(DragCursorStyle style) in SetDragStyle() argument 50 dragStyle_ = style; in SetDragStyle()
|
/base/msdp/device_status/frameworks/native/interaction/src/ |
D | drag_manager_impl.cpp | 29 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()
|
D | interaction_manager.cpp | 71 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/ |
D | readfromparcel_fuzzer.cpp | 62 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/ |
D | UsbDialog.ets | 19 // allow,notAllow button style 29 // content style 47 // title style
|
/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/ |
D | notification_publish_test.cpp | 72 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/ |
D | stream_session.rs | 81 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/ |
D | notification.cpp | 458 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/ |
D | ffi.rs | 154 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/ |
D | drag_data_manager.h | 38 void SetDragStyle(DragCursorStyle style);
|
/base/msdp/device_status/frameworks/native/interaction/include/ |
D | drag_manager_impl.h | 39 int32_t UpdateDragStyle(DragCursorStyle style);
|
/base/update/update_app/feature/ota/src/main/ets/components/ |
D | ProgressContent.ets | 46 Progress({ value: this.downloadProgress, style: ProgressStyle.Ring }) 47 .style({ strokeWidth: $r('app.float.progress_stroke_width') })
|