/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avsession_service_stub.h | 64 {static_cast<uint32_t>(AvsessionSeviceInterfaceCode::SERVICE_CMD_CREATE_SESSION), 66 {static_cast<uint32_t>(AvsessionSeviceInterfaceCode::SERVICE_CMD_GET_ALL_SESSION_DESCRIPTORS), 68 {static_cast<uint32_t>(AvsessionSeviceInterfaceCode::SERVICE_CMD_GET_SESSION_DESCRIPTORS_BY_ID), 71 {static_cast<uint32_t>(AvsessionSeviceInterfaceCode::SERVICE_CMD_GET_HISTORY_SESSION_DESCRIPTORS), 74 {static_cast<uint32_t>(AvsessionSeviceInterfaceCode::SERVICE_CMD_GET_HISTORY_AVQUEUE_INFOS), 77 {static_cast<uint32_t>(AvsessionSeviceInterfaceCode::SERVICE_CMD_START_AV_PLAYBACK), 79 {static_cast<uint32_t>(AvsessionSeviceInterfaceCode::SERVICE_CMD_CREATE_CONTROLLER), 81 {static_cast<uint32_t>(AvsessionSeviceInterfaceCode::SERVICE_CMD_GET_AV_CAST_CONTROLLER), 83 {static_cast<uint32_t>(AvsessionSeviceInterfaceCode::SERVICE_CMD_REGISTER_SESSION_LISTENER), 85 {static_cast<uint32_ [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_stub.h | 80 static constexpr RequestHandle HANDLERS[static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_MAX)] = { 81 [static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_OBTAIN_TABLE)] = 83 [static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_INIT_NOTIFIER)] = &RdbServiceStub::OnRemoteInitNotifier, 84 [static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_SET_DIST_TABLE)] = 86 [static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_SYNC)] = &RdbServiceStub::OnRemoteDoSync, 87 [static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_ASYNC)] = &RdbServiceStub::OnRemoteDoAsync, 88 [static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_SUBSCRIBE)] = &RdbServiceStub::OnRemoteDoSubscribe, 89 [static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_UNSUBSCRIBE)] = &RdbServiceStub::OnRemoteDoUnSubscribe, 90 [static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_REMOTE_QUERY)] = &RdbServiceStub::OnRemoteDoRemoteQuery, 91 [static_cast<uint32_ [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/config/ |
H A D | album_plugin_config.h | 40 const std::string BRAND_NAME = std::string() + static_cast<char>(CHAR_LOWCASE_H) + static_cast<char>(CHAR_LOWCASE_U) + 41 static_cast<char>(CHAR_LOWCASE_A) + static_cast<char>(CHAR_LOWCASE_W) + 42 static_cast<char>(CHAR_LOWCASE_E) + static_cast<char>(CHAR_LOWCASE_I); 43 const std::string BRAND_NAME_UPPER_FIRST = std::string() + static_cast<char>(CHAR_UPPERCASE_H) + 44 static_cast<char>(CHAR_LOWCASE_U) + static_cast<char>(CHAR_LOWCASE_A) + 45 static_cast<cha [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_skeleton_params.h | 64 titleMarginTop_ = static_cast<float>(TITLE_MARGIN_TOP.ConvertToPx()); in FormSkeletonParams() 65 contentMargins_ = static_cast<float>(CONTENT_MARGINS_COMMON.ConvertToPx()); in FormSkeletonParams() 80 lineWidth_ = static_cast<float>(cardWidth_ - LINE_MARGIN_LEFT_1_N.ConvertToPx() * MARGIN_DOUBLE); in SetLineParamsOfHeight1() 81 lineHeight_ = static_cast<float>(LINE_HEIGHT_1_N.ConvertToPx()); in SetLineParamsOfHeight1() 82 titleContentMargins_ = static_cast<float>(TITLE_CONTENT_MARGINS_1_N.ConvertToPx()); in SetLineParamsOfHeight1() 83 lineMarginLeft_ = static_cast<float>(LINE_MARGIN_LEFT_1_N.ConvertToPx()); in SetLineParamsOfHeight1() 84 if (dimension_ == static_cast<int32_t>(OHOS::AppExecFwk::Constants::Dimension::DIMENSION_1_1)) { in SetLineParamsOfHeight1() 85 titleLineWidth_ = static_cast<float>(cardWidth_ * TITLE_LINE_WIDTH_RATIO_1_1); in SetLineParamsOfHeight1() 87 titleLineWidth_ = static_cast<float>(cardWidth_ * TITLE_LINE_WIDTH_RATIO_COMMON); in SetLineParamsOfHeight1() 94 lineWidth_ = static_cast<floa in SetLineParamsCommon() [all...] |
/foundation/filemanagement/app_file_service/utils/include/b_error/ |
H A D | b_error.h | 270 {static_cast<int>(Codes::OK), static_cast<int>(Codes::OK)}, 271 {static_cast<int>(Codes::UTILS_INVAL_JSON_ENTITY), BackupErrorCode::E_INVAL}, 272 {static_cast<int>(Codes::UTILS_INVAL_FILE_HANDLE), BackupErrorCode::E_INVAL}, 273 {static_cast<int>(Codes::UTILS_INVAL_TARBALL_ARG), BackupErrorCode::E_UKERR}, 274 {static_cast<int>(Codes::UTILS_INVAL_PROCESS_ARG), BackupErrorCode::E_UKERR}, 275 {static_cast<int>(Codes::UTILS_INTERRUPTED_PROCESS), BackupErrorCode::E_UKERR}, 276 {static_cast<int>(Codes::TOOL_INVAL_ARG), BackupErrorCode::E_UKERR}, 277 {static_cast<int>(Codes::SA_INVAL_ARG), BackupErrorCode::E_INVAL}, 278 {static_cast<in [all...] |
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | spirv_cross_helper_structs_gles.h | 55 return static_cast<ShaderStageFlagBits>(~static_cast<std::underlying_type_t<ShaderStageFlagBits>>(bits));
71 return { static_cast<ShaderStageFlagBits>(static_cast<std::underlying_type_t<ShaderStageFlagBits>>(flags) &
72 static_cast<std::underlying_type_t<ShaderStageFlagBits>>(rhs)) };
77 return { static_cast<ShaderStageFlagBits>(~static_cast<std::underlying_type_t<ShaderStageFlagBits>>(flags)) };
82 flags = static_cast<ShaderStageFlagBits>(static_cast<std::underlying_type_t<ShaderStageFlagBits>>(flags) &
83 static_cast<st [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/textfield/ |
H A D | textfield_declaration.h | 168 auto& attribute = static_cast<TextFieldAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetInputFilter() 180 auto& attribute = static_cast<TextFieldAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetValue() 193 auto& attribute = static_cast<TextFieldAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in IsValueUpdated() 217 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetInputStyle() 229 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetPlaceHoldStyle() 235 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetEditingStyle() 241 auto& attribute = static_cast<TextFieldAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetPlaceholder() 253 auto& attribute = static_cast<TextFieldAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetSelection() 271 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetPlaceholderColor() 289 auto& attribute = static_cast<TextFieldAttribut in GetTextMaxLines() [all...] |
/foundation/arkui/ace_engine/frameworks/base/i18n/ |
H A D | time_format.h | 53 if (hourType == static_cast<int32_t>(ZeroPrefixType::AUTO)) { in GetHourFormat() 55 } else if (hourType == static_cast<int32_t>(ZeroPrefixType::HIDE)) { in GetHourFormat() 57 } else if (hourType == static_cast<int32_t>(ZeroPrefixType::SHOW)) { in GetHourFormat() 64 if (minuteType == static_cast<int32_t>(ZeroPrefixType::AUTO)) { in GetMinuteFormat() 66 } else if (minuteType == static_cast<int32_t>(ZeroPrefixType::HIDE)) { in GetMinuteFormat() 68 } else if (minuteType == static_cast<int32_t>(ZeroPrefixType::SHOW)) { in GetMinuteFormat() 75 if (secondType == static_cast<int32_t>(ZeroPrefixType::AUTO)) { in GetSecondFormat() 77 } else if (secondType == static_cast<int32_t>(ZeroPrefixType::HIDE)) { in GetSecondFormat() 79 } else if (secondType == static_cast<int32_t>(ZeroPrefixType::SHOW)) { in GetSecondFormat()
|
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/ |
H A D | cast_engine_common.h | 49 return (type >= static_cast<int32_t>(DeviceType::DEVICE_OTHERS)) && in IsDeviceType() 50 (type <= static_cast<int32_t>(DeviceType::DEVICE_CAR_MULTI_SCREEN_PLAY)); in IsDeviceType() 61 return (type == static_cast<int32_t>(SubDeviceType::SUB_DEVICE_DEFAULT)) || in IsSubDeviceType() 62 (type == static_cast<int32_t>(SubDeviceType::SUB_DEVICE_MATEBOOK_PAD)) || in IsSubDeviceType() 63 (type == static_cast<int32_t>(SubDeviceType::SUB_DEVICE_CAST_PLUS_WHITEBOARD)); in IsSubDeviceType() 75 return (type >= static_cast<int32_t>(TriggerType::UNSPEC_TAG)) && in IsTriggerType() 76 (type <= static_cast<int32_t>(TriggerType::PASSIVE_BIND_TAG)); in IsTriggerType() 130 const EXPORT std::array<std::string, static_cast<size_t>(DeviceState::DEVICE_STATE_MAX)> DEVICE_STATE_STRING = { 137 return (state >= static_cast<int32_t>(DeviceState::CONNECTING)) && in IsDeviceState() 138 (state < static_cast<int32_ in IsDeviceState() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/button/ |
H A D | button_declaration.h | 89 auto& attr = static_cast<ButtonAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetType() 95 auto& attr = static_cast<ButtonAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetIconSrc() 101 auto& attr = static_cast<ButtonAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetPlacement() 107 auto& attr = static_cast<ButtonAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetTextData() 113 auto& attr = static_cast<ButtonAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetAutoFocusState() 119 auto& attr = static_cast<ButtonAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetDisabledState() 125 auto& attr = static_cast<ButtonAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetWaitingState() 131 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetPadding() 137 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetTextStyle() 143 auto& style = static_cast<ButtonStyl in GetWidth() [all...] |
/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | plugin_caps.h | 55 MEDIA_BITRATE = static_cast<uint32_t>(Tag::MEDIA_BITRATE), 56 AUDIO_SAMPLE_RATE = static_cast<uint32_t>(Tag::AUDIO_SAMPLE_RATE), 57 AUDIO_CHANNELS = static_cast<uint32_t>(Tag::AUDIO_CHANNELS), 58 AUDIO_CHANNEL_LAYOUT = static_cast<uint32_t>(Tag::AUDIO_CHANNEL_LAYOUT), 59 AUDIO_SAMPLE_FORMAT = static_cast<uint32_t>(Tag::AUDIO_SAMPLE_FORMAT), 60 AUDIO_MPEG_VERSION = static_cast<uint32_t>(Tag::AUDIO_MPEG_VERSION), 61 AUDIO_MPEG_LAYER = static_cast<uint32_t>(Tag::AUDIO_MPEG_LAYER), 62 AUDIO_AAC_PROFILE = static_cast<uint32_t>(Tag::AUDIO_AAC_PROFILE), 63 AUDIO_AAC_LEVEL = static_cast<uint32_t>(Tag::AUDIO_AAC_LEVEL), 64 AUDIO_AAC_STREAM_FORMAT = static_cast<uint32_ [all...] |
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | execute_unit.h | 40 if (likely(wManager[static_cast<size_t>(DevType::CPU)])) { in NotifyTaskAdded() 41 wManager[static_cast<size_t>(DevType::CPU)]->NotifyTaskAdded(qos); in NotifyTaskAdded() 47 if (likely(wManager[static_cast<size_t>(DevType::CPU)])) { in NotifyWorkers() 48 wManager[static_cast<size_t>(DevType::CPU)]->NotifyWorkers(qos, number); in NotifyWorkers() 55 wManager[static_cast<size_t>(DevType::CPU)]->NotifyLocalTaskAdded(qos); in NotifyLocalTaskAdded() 61 return wManager[static_cast<size_t>(DevType::CPU)]->GetSleepCtl(qos); in GetSleepCtl() 66 return wManager[static_cast<size_t>(DevType::CPU)]->GetGroupCtl(); in GetGroupCtl() 71 return wManager[static_cast<size_t>(DevType::CPU)]->GetCPUMonitor(); in GetCPUMonitor() 82 std::array<std::unique_ptr<WorkerManager>, static_cast<size_t>(DevType::DEVMAX)> wManager;
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/ |
H A D | svg_base_declaration.h | 80 auto& attribute = static_cast<SvgBaseAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetFillState() 86 auto& attribute = static_cast<SvgBaseAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetStrokeState() 92 auto& attribute = static_cast<SvgBaseAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetSvgTextStyle() 98 auto& attribute = static_cast<SvgBaseAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetTransform() 104 auto& attribute = static_cast<SvgBaseAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetMaskId() 110 auto& attribute = static_cast<SvgBaseAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetFilterId() 116 auto& attribute = static_cast<SvgBaseAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetTransformOrigin() 122 auto& attribute = static_cast<SvgBaseAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in HasOpacity() 128 auto& attribute = static_cast<SvgBaseAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetOpacity() 136 auto& attribute = static_cast<SvgBaseAttribut in SetGradient() [all...] |
H A D | svg_animate_declaration.h | 61 auto& attribute = static_cast<SvgAnimateAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetAttributeName() 73 auto& attribute = static_cast<SvgAnimateAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetBegin() 85 auto& attribute = static_cast<SvgAnimateAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetDur() 97 auto& attribute = static_cast<SvgAnimateAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetEnd() 109 auto& attribute = static_cast<SvgAnimateAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetRepeatCount() 121 auto& attribute = static_cast<SvgAnimateAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetFillMode() 133 auto& attribute = static_cast<SvgAnimateAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetCalcMode() 139 auto& attribute = static_cast<SvgAnimateAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetValues() 145 auto& attribute = static_cast<SvgAnimateAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetKeyTimes() 151 auto& attribute = static_cast<SvgAnimateAttribut in GetKeySplines() [all...] |
/foundation/multimedia/av_codec/services/engine/codec/include/audio/ |
H A D | audio_codec.h | 51 return StatusToAVCodecServiceErrCode(static_cast<Media::Status>(mediaCodec_->Init(name))); 56 return StatusToAVCodecServiceErrCode(static_cast<Media::Status>(mediaCodec_->Configure(meta))); 61 static_cast<Media::Status>(mediaCodec_->SetOutputBufferQueue(bufferQueueProducer))); 66 return StatusToAVCodecServiceErrCode(static_cast<Media::Status>(mediaCodec_->SetCodecCallback(codecCallback))); in SetCodecCallback() 74 return StatusToAVCodecServiceErrCode(static_cast<Media::Status>(mediaCodec_->SetCodecCallback(mediaCallback))); 79 return StatusToAVCodecServiceErrCode(static_cast<Media::Status>(mediaCodec_->Prepare())); 89 return StatusToAVCodecServiceErrCode(static_cast<Media::Status>(mediaCodec_->Start())); 94 return StatusToAVCodecServiceErrCode(static_cast<Media::Status>(mediaCodec_->Stop())); 99 return StatusToAVCodecServiceErrCode(static_cast<Media::Status>(mediaCodec_->Flush())); 104 return StatusToAVCodecServiceErrCode(static_cast<Medi [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_editing_value_ng.h | 55 caretPosition = std::min(static_cast<int32_t>(GetWideText().length()), caretPosition + 1); in CursorMoveRight() 60 caretPosition = std::clamp(position, 0, static_cast<int32_t>(GetWideText().length())); in CursorMoveToPosition() 66 if (caretPosition > static_cast<int32_t>(wideText.length()) || caretPosition <= 0) { in GetValueBeforeCursor() 75 if (caretPosition > static_cast<int32_t>(wideText.length()) || caretPosition < 0) { in GetValueAfterCursor() 84 position = std::clamp(position, 0, static_cast<int32_t>(wideText.length())); in GetValueBeforePosition() 92 position = std::clamp(position, 0, static_cast<int32_t>(wideText.length())); in GetValueAfterPosition() 100 auto min = std::clamp(std::max(std::min(start, end), 0), 0, static_cast<int32_t>(wideText.length())); in GetSelectedText() 101 auto max = std::clamp(std::min(std::max(start, end), static_cast<int32_t>(wideText.length())), 0, in GetSelectedText() 102 static_cast<int32_t>(wideText.length())); in GetSelectedText() 108 return static_cast<int32_ in CaretAtLast() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/include/ |
H A D | sbc_math.h | 29 (static_cast<int32_t>(val)) >> (bits) : (static_cast<int32_t>(val)) / (1 << (bits))); in ASR() 44 (static_cast<int32_t>(src)) >> (SCALE4_STAGED1_BITS) : in Scale4Staged1() 45 (static_cast<int32_t>(src)) / (1 << (SCALE4_STAGED1_BITS))); in Scale4Staged1() 50 (static_cast<int32_t>(src)) >> (SCALE8_STAGED1_BITS) : in Scale8Staged1() 51 (static_cast<int32_t>(src)) / (1 << (SCALE8_STAGED1_BITS))); in Scale8Staged1()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | color.h | 199 alpha_ = static_cast<int16_t>((argb & 0xFF000000) >> 24); in LinearColor() 200 red_ = static_cast<int16_t>((argb & 0x00FF0000) >> 16); in LinearColor() 201 green_ = static_cast<int16_t>((argb & 0x0000FF00) >> 8); in LinearColor() 202 blue_ = static_cast<int16_t>(argb & 0xFF); in LinearColor() 234 return LinearColor(static_cast<int16_t>(round(GetAlpha() * value)), in operator *() 235 static_cast<int16_t>(round(GetRed() * value)), static_cast<int16_t>(round(GetGreen() * value)), in operator *() 236 static_cast<int16_t>(round(GetBlue() * value))); in operator *() 267 return (static_cast<uint32_t>(std::clamp<int16_t>(blue_, 0, UINT8_MAX))) | in GetValue() 268 (static_cast<uint32_ in GetValue() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | stat_impl.h | 44 return static_cast<int64_t>(real_.st_ino); in GetIno() 49 return static_cast<int64_t>(real_.st_mode & S_PREMISSION); in GetMode() 54 return static_cast<int64_t>(real_.st_uid); in GetUid() 59 return static_cast<int64_t>(real_.st_gid); in GetGid() 64 return static_cast<int64_t>(real_.st_size); in GetSize() 69 return static_cast<int64_t>(real_.st_atim.tv_sec); in GetAtime() 74 return static_cast<int64_t>(real_.st_mtim.tv_sec); in GetMtime() 79 return static_cast<int64_t>(real_.st_ctim.tv_sec); in GetCtime()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/side_bar/ |
H A D | side_bar_declaration.h | 49 auto& attribute = static_cast<SideBarContainerAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR));
in IsShowSideBar() 61 auto& attribute = static_cast<SideBarContainerAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR));
in GetSideBarContainerType() 73 auto& attribute = static_cast<SideBarContainerAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR));
in IsShowControlButton() 91 auto& attribute = static_cast<SideBarContainerAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR));
in GetImageWidth() 103 auto& attribute = static_cast<SideBarContainerAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR));
in GetImageHeight() 115 auto& attribute = static_cast<SideBarContainerAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR));
in GetShowIcon() 127 auto& attribute = static_cast<SideBarContainerAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR));
in GetHiddenIcon() 139 auto& attribute = static_cast<SideBarContainerAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR));
in GetSwitchIcon() 145 auto& attribute = static_cast<SideBarContainerAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR));
in GetLeft() 151 auto& attribute = static_cast<SideBarContainerAttribut in GetTop() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/badge/ |
H A D | badge_declaration.h | 59 auto& attribute = static_cast<BadgeAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetBadgePosition() 65 auto& attribute = static_cast<BadgeAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetBadgePositionX() 71 auto& attribute = static_cast<BadgeAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetBadgePositionY() 77 auto& attribute = static_cast<BadgeAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in IsPositionXy() 83 auto& attribute = static_cast<BadgeAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetBadgeLabel() 89 auto& attribute = static_cast<BadgeAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetMessageCount() 95 auto& attribute = static_cast<BadgeAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in IsShowMessage() 101 auto& attribute = static_cast<BadgeAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetMaxCount() 107 auto& style = static_cast<BadgeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetBadgeColor() 113 auto& style = static_cast<BadgeStyl in GetBadgeTextColor() [all...] |
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_interrupt_info.h | 180 bool res = parcel.WriteInt32(static_cast<int32_t>(interrupt.streamUsage)); in Marshalling() 181 res = res && parcel.WriteInt32(static_cast<int32_t>(interrupt.contentType)); in Marshalling() 182 res = res && parcel.WriteInt32(static_cast<int32_t>(interrupt.audioFocusType.streamType)); in Marshalling() 183 res = res && parcel.WriteInt32(static_cast<int32_t>(interrupt.audioFocusType.sourceType)); in Marshalling() 188 res = res && parcel.WriteInt32(static_cast<int32_t>(interrupt.mode)); in Marshalling() 191 res = res && parcel.WriteInt32(static_cast<int32_t>(vct)); in Marshalling() 193 res = res && parcel.WriteInt32(static_cast<int32_t>(interrupt.currencySources.sourcesTypes[i])); in Marshalling() 195 res = res && parcel.WriteInt32(static_cast<int32_t>(interrupt.sessionStrategy.concurrencyMode)); in Marshalling() 200 interrupt.streamUsage = static_cast<StreamUsage>(parcel.ReadInt32()); in Unmarshalling() 201 interrupt.contentType = static_cast<ContentTyp in Unmarshalling() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/web/ |
H A D | web_declaration.h | 83 auto& attribute = static_cast<WebAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetWebSrc() 95 auto& attribute = static_cast<WebAttribute&>(GetAttribute(AttributeTag::SPECIALIZED_ATTR)); in GetWebData() 107 auto& event = static_cast<WebEvent&>(GetEvent(EventTag::SPECIALIZED_EVENT)); in GetPageStartedEventId() 119 auto& event = static_cast<WebEvent&>(GetEvent(EventTag::SPECIALIZED_EVENT)); in GetPageFinishedEventId() 131 auto& event = static_cast<WebEvent&>(GetEvent(EventTag::SPECIALIZED_EVENT)); in GetTitleReceiveEventId() 143 auto& event = static_cast<WebEvent&>(GetEvent(EventTag::SPECIALIZED_EVENT)); in GetOnFullScreenExitEventId() 155 auto& event = static_cast<WebEvent&>(GetEvent(EventTag::SPECIALIZED_EVENT)); in GetGeolocationHideEventId() 167 auto& event = static_cast<WebEvent&>(GetEvent(EventTag::SPECIALIZED_EVENT)); in GetGeolocationShowEventId() 179 auto& event = static_cast<WebEvent&>(GetEvent(EventTag::SPECIALIZED_EVENT)); in GetDownloadStartEventId() 191 auto& event = static_cast<WebEven in GetRequestFocusEventId() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/utils/ |
H A D | write_bitrate_caculator.h | 41 startTime_ = static_cast<uint64_t>(steadyClock_.ElapsedMilliseconds()); in StartClock() 51 stopTime_ = static_cast<uint64_t>(steadyClock_.ElapsedMilliseconds()); in StopClock() 59 startTime_ = static_cast<uint64_t>(steadyClock_.ElapsedMilliseconds()); in ResetClock() 68 writeBytes_ += static_cast<uint64_t>(writeBytes); in UpdateWriteBytes() 72 stopTime_ = static_cast<uint64_t>(steadyClock_.ElapsedMilliseconds()); in CaculateWriteBitrate() 78 writeBitrate_ = static_cast<float>(writeBytes_ * BYTES_TO_BIT * SECOND_TO_MILLIONSECOND) / writeTime; in CaculateWriteBitrate()
|
/foundation/multimedia/player_framework/services/engine/histreamer/recorder/ |
H A D | recorder_utils.h | 39 return static_cast<int32_t>(AUDIO_MASK + (INDEX_MASK & index));
in GenerateAudioSourceId() 44 return static_cast<int32_t>(VIDEO_MASK + (INDEX_MASK & index));
in GenerateVideoSourceId() 49 return static_cast<int32_t>(META_MASK + (INDEX_MASK & index));
in GenerateMetaSourceId() 55 ((static_cast<uint32_t>(sourceId) & SOURCE_MASK) == AUDIO_MASK));
in IsAudio() 61 ((static_cast<uint32_t>(sourceId) & SOURCE_MASK) == VIDEO_MASK));
in IsVideo() 67 ((static_cast<uint32_t>(sourceId) & SOURCE_MASK) == META_MASK));
in IsMeta()
|