Home
last modified time | relevance | path

Searched refs:value (Results 376 - 400 of 7105) sorted by relevance

1...<<11121314151617181920>>...285

/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dparcel.h81 * @param b Specific flag value.
92 * @param b Specific flag value. See BehaviorFlag.
102 * @param b Specific flag value.
112 mutable uint8_t behavior_; // value of flag of behaviors
256 * @param dataSize Desired value of size in bytes.
266 * @param maxCapacity Desired value of maximum capacity.
272 bool WriteBool(bool value);
273 bool WriteInt8(int8_t value);
274 bool WriteInt16(int16_t value);
275 bool WriteInt32(int32_t value);
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsclientproperty_fuzzer/
H A Drsclientproperty_fuzzer.cpp69 float value = GetData<float>(); in DoSetAndGet() local
70 RSProperty<float> rsProperty(value); in DoSetAndGet()
88 float value = GetData<float>(); in DoSetThresholdType001() local
89 auto prop = std::make_shared<RSAnimatableProperty<float>>(value); in DoSetThresholdType001()
106 float value = GetData<float>(); in DoSetThresholdType002() local
107 auto prop = std::make_shared<RSAnimatableProperty<float>>(value); in DoSetThresholdType002()
124 float value = GetData<float>(); in DoSetThresholdType003() local
125 auto prop = std::make_shared<RSAnimatableProperty<float>>(value); in DoSetThresholdType003()
142 float value = GetData<float>(); in DoSetThresholdType004() local
143 auto prop = std::make_shared<RSAnimatableProperty<float>>(value); in DoSetThresholdType004()
160 float value = GetData<float>(); DoSetThresholdType005() local
178 float value = GetData<float>(); DoSetThresholdType006() local
196 float value = GetData<float>(); DoSetThresholdType007() local
214 float value = GetData<float>(); DoGetRenderProperty() local
232 float value = GetData<float>(); DoSetValueFromRender() local
251 float value = GetData<float>(); DoAttachModifier() local
270 float value = GetData<float>(); DoAdd() local
289 float value = GetData<float>(); DoAddPathAnimation() local
307 float value = GetData<float>(); DoAnimateWithInitialVelocity() local
329 float value = GetData<float>(); DoGetId() local
347 float value = GetData<float>(); DoGetShowingValueAndCancelAnimation() local
365 float value = GetData<float>(); DoGetStagingValue() local
383 float value = GetData<float>(); DoRequestCancelAnimation() local
401 float value = GetData<float>(); DoSetPropertyUnit() local
419 float value = GetData<float>(); DoUpdateCustomAnimation() local
437 float value = GetData<float>(); DoUpdateOnAllAnimationFinish() local
[all...]
/foundation/distributeddatamgr/udmf/framework/common/
H A Dtlv_object.cpp91 size_t TLVObject::Count(const std::string &value) in Count() argument
93 auto size = sizeof(TLVHead) + value.size(); in Count()
98 size_t TLVObject::Count(const std::vector<uint8_t> &value) in Count() argument
100 auto size = sizeof(TLVHead) + value.size(); in Count()
105 size_t TLVObject::Count(const OHOS::AAFwk::Want &value) in Count() argument
108 if (!value.Marshalling(parcel)) { in Count()
117 size_t TLVObject::Count(const std::monostate &value) in Count() argument
124 size_t TLVObject::Count(const void *value) in Count() argument
131 bool TLVObject::Write(TAG tag, const std::string &value) in Write() argument
133 if (!HasExpectBuffer(sizeof(TLVHead) + value in Write()
153 Read(std::string &value, const TLVHead &head) Read() argument
169 Write(TAG tag, const std::vector<uint8_t> &value) Write() argument
190 Read(std::vector<uint8_t> &value, const TLVHead &head) Read() argument
207 Write(TAG tag, const OHOS::AAFwk::Want &value) Write() argument
235 Read(OHOS::AAFwk::Want &value, const TLVHead &head) Read() argument
265 Write(TAG tag, const std::monostate &value) Write() argument
270 Read(std::monostate &value, const TLVHead &head) Read() argument
275 Write(TAG tag, const void *value) Write() argument
281 Read(void *value, const TLVHead &head) Read() argument
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_pixel_unit_convert_ffi.h22 CJ_EXPORT double FfiOHOSAceFrameworkVp2Px(double value);
23 CJ_EXPORT double FfiOHOSAceFrameworkPx2Vp(double value);
24 CJ_EXPORT double FfiOHOSAceFrameworkFp2Px(double value);
25 CJ_EXPORT double FfiOHOSAceFrameworkPx2Fp(double value);
26 CJ_EXPORT double FfiOHOSAceFrameworkLpx2Px(double value);
27 CJ_EXPORT double FfiOHOSAceFrameworkPx2Lpx(double value);
H A Dcj_select_ffi.cpp53 params[i] = { nativeSelectOptionVec[i].value, nativeSelectOptionVec[i].icon }; in FfiOHOSAceFrameworkSelectCreate()
58 void FfiOHOSAceFrameworkSelectSetSelected(int32_t value) in FfiOHOSAceFrameworkSelectSetSelected() argument
60 SelectModel::GetInstance()->SetSelected(value); in FfiOHOSAceFrameworkSelectSetSelected()
63 void FfiOHOSAceFrameworkSelectSetValue(const char* value) in FfiOHOSAceFrameworkSelectSetValue() argument
65 SelectModel::GetInstance()->SetValue(value); in FfiOHOSAceFrameworkSelectSetValue()
126 void FfiOHOSAceFrameworkSelectSetArrowPosition(int32_t value) in FfiOHOSAceFrameworkSelectSetArrowPosition() argument
128 if (static_cast<ArrowPosition>(value) != ArrowPosition::START && in FfiOHOSAceFrameworkSelectSetArrowPosition()
129 static_cast<ArrowPosition>(value) != ArrowPosition::END) { in FfiOHOSAceFrameworkSelectSetArrowPosition()
130 value = 0; in FfiOHOSAceFrameworkSelectSetArrowPosition()
132 SelectModel::GetInstance()->SetArrowPosition(static_cast<ArrowPosition>(value)); in FfiOHOSAceFrameworkSelectSetArrowPosition()
135 FfiOHOSAceFrameworkSelectSetMenuAlign( int32_t value, double dx, int32_t dxUnit, double dy, int32_t dyUnit) FfiOHOSAceFrameworkSelectSetMenuAlign() argument
154 FfiOHOSAceFrameworkSelectSetOptionWidthWithMode(const char* value) FfiOHOSAceFrameworkSelectSetOptionWidthWithMode() argument
181 FfiOHOSAceFrameworkSelectSetMenuBackgroundBlurStyle(int32_t value) FfiOHOSAceFrameworkSelectSetMenuBackgroundBlurStyle() argument
191 FfiOHOSAceFrameworkSelectOnSelect(void (*callback)(int32_t index, const char* value)) FfiOHOSAceFrameworkSelectOnSelect() argument
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_exif_test.cpp90 std::string value; in GetProperty() local
91 imageSource->GetImagePropertyString(0, prop, value); in GetProperty()
92 return value; in GetProperty()
124 std::string value; in HWTEST_F() local
128 uint32_t retGet = imageSourceOut->GetImagePropertyString(index, key, value); in HWTEST_F()
130 ASSERT_EQ(value, "E"); in HWTEST_F()
165 std::string value; in HWTEST_F() local
169 uint32_t retGet = imageSourceOut->GetImagePropertyString(index, key, value); in HWTEST_F()
171 ASSERT_EQ(value, "E"); in HWTEST_F()
205 std::string value; in HWTEST_F() local
237 std::string value; HWTEST_F() local
259 int32_t value = 0; HWTEST_F() local
310 int32_t value = 0; HWTEST_F() local
341 std::string value; HWTEST_F() local
365 std::string value; HWTEST_F() local
389 std::string value; HWTEST_F() local
438 std::string value; HWTEST_F() local
472 std::string value = ""; HWTEST_F() local
501 std::string value = ""; HWTEST_F() local
529 std::string value = ""; HWTEST_F() local
558 std::string value = ""; HWTEST_F() local
587 std::string value = ""; HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/src/
H A Dav_sender_engine.cpp217 void AVSenderEngine::SetParameterInner(AVTransTag tag, const std::string &value) in SetParameterInner() argument
221 SetVideoCodecType(value); in SetParameterInner()
224 SetAudioCodecType(value); in SetParameterInner()
227 SetAudioChannelMask(value); in SetParameterInner()
230 SetAudioSampleRate(value); in SetParameterInner()
233 SetAudioChannelLayout(value); in SetParameterInner()
236 SetAudioSampleFormat(value); in SetParameterInner()
239 SetAudioFrameSize(value); in SetParameterInner()
242 SetSharedMemoryFd(value); in SetParameterInner()
245 SetEngineReady(value); in SetParameterInner()
258 SetParameter(AVTransTag tag, const std::string &value) SetParameter() argument
323 SetVideoWidth(const std::string &value) SetVideoWidth() argument
333 SetVideoHeight(const std::string &value) SetVideoHeight() argument
343 SetVideoPixelFormat(const std::string &value) SetVideoPixelFormat() argument
353 SetVideoFrameRate(const std::string &value) SetVideoFrameRate() argument
364 SetAudioBitRate(const std::string &value) SetAudioBitRate() argument
374 SetVideoBitRate(const std::string &value) SetVideoBitRate() argument
384 SetVideoCodecType(const std::string &value) SetVideoCodecType() argument
417 SetAudioCodecType(const std::string &value) SetAudioCodecType() argument
435 SetAudioChannelMask(const std::string &value) SetAudioChannelMask() argument
446 SetAudioSampleRate(const std::string &value) SetAudioSampleRate() argument
457 SetAudioChannelLayout(const std::string &value) SetAudioChannelLayout() argument
468 SetAudioSampleFormat(const std::string &value) SetAudioSampleFormat() argument
478 SetAudioFrameSize(const std::string &value) SetAudioFrameSize() argument
488 SetSharedMemoryFd(const std::string &value) SetSharedMemoryFd() argument
494 avInput_->SetParameter(static_cast<int32_t>(Plugin::Tag::USER_SHARED_MEMORY_FD), value); SetSharedMemoryFd() local
498 SetEngineReady(const std::string &value) SetEngineReady() argument
504 SetEnginePause(const std::string &value) SetEnginePause() argument
515 SetEngineResume(const std::string &value) SetEngineResume() argument
644 Plugin::Any value; NotifyStreamChange() local
645 avInput_->GetParameter(static_cast<int32_t>(Plugin::Tag::VIDEO_PIXEL_FORMAT), value); NotifyStreamChange() local
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_receiver/src/
H A Dav_receiver_engine.cpp241 void AVReceiverEngine::SetParameterInner(AVTransTag tag, const std::string &value) in SetParameterInner() argument
245 SetVideoCodecType(value); in SetParameterInner()
248 SetAudioCodecType(value); in SetParameterInner()
251 SetAudioChannelMask(value); in SetParameterInner()
254 SetAudioSampleRate(value); in SetParameterInner()
257 SetAudioChannelLayout(value); in SetParameterInner()
260 SetAudioSampleFormat(value); in SetParameterInner()
263 SetAudioFrameSize(value); in SetParameterInner()
266 SetSyncResult(value); in SetParameterInner()
269 SetStartAvSync(value); in SetParameterInner()
285 SetParameter(AVTransTag tag, const std::string &value) SetParameter() argument
348 SetVideoWidth(const std::string &value) SetVideoWidth() argument
358 SetVideoHeight(const std::string &value) SetVideoHeight() argument
368 SetVideoFrameRate(const std::string &value) SetVideoFrameRate() argument
379 SetAudioBitRate(const std::string &value) SetAudioBitRate() argument
389 SetVideoBitRate(const std::string &value) SetVideoBitRate() argument
399 SetVideoCodecType(const std::string &value) SetVideoCodecType() argument
422 SetAudioCodecType(const std::string &value) SetAudioCodecType() argument
435 SetAudioChannelMask(const std::string &value) SetAudioChannelMask() argument
446 SetAudioSampleRate(const std::string &value) SetAudioSampleRate() argument
457 SetAudioChannelLayout(const std::string &value) SetAudioChannelLayout() argument
468 SetAudioSampleFormat(const std::string &value) SetAudioSampleFormat() argument
478 SetAudioFrameSize(const std::string &value) SetAudioFrameSize() argument
488 SetSyncResult(const std::string &value) SetSyncResult() argument
494 avOutput_->SetParameter(static_cast<int32_t>(Plugin::Tag::USER_TIME_SYNC_RESULT), value); SetSyncResult() local
498 SetStartAvSync(const std::string &value) SetStartAvSync() argument
504 avOutput_->SetParameter(static_cast<int32_t>(Plugin::Tag::USER_AV_SYNC_GROUP_INFO), value); SetStartAvSync() local
508 SetStopAvSync(const std::string &value) SetStopAvSync() argument
514 avOutput_->SetParameter(static_cast<int32_t>(Plugin::Tag::USER_AV_SYNC_GROUP_INFO), value); SetStopAvSync() local
518 SetSharedMemoryFd(const std::string &value) SetSharedMemoryFd() argument
524 avOutput_->SetParameter(static_cast<int32_t>(Plugin::Tag::USER_SHARED_MEMORY_FD), value); SetSharedMemoryFd() local
528 SetEngineReady(const std::string &value) SetEngineReady() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_text_component.h34 void SetSelected(uint32_t value) in SetSelected() argument
36 selectedIndex_ = value; in SetSelected()
44 void SetRange(const std::vector<std::string>& value) in SetRange() argument
46 if (value.empty()) { in SetRange()
47 LOGE("input value of range is empty."); in SetRange()
50 range_ = value; in SetRange()
54 void SetPrefix(const std::string& value) in SetPrefix() argument
62 column->SetPrefix(value); in SetPrefix()
65 void SetSuffix(const std::string& value) in SetSuffix() argument
73 column->SetSuffix(value); in SetSuffix()
76 SetDefaultPickerItemHeight(const Dimension& value) SetDefaultPickerItemHeight() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_model_ng.h34 void SetWrapMainAlignment(WrapAlignment value) override;
37 void SetWrapCrossAlignment(WrapAlignment value) override;
39 void SetAlignItems(int32_t value) override;
40 void SetWrapAlignment(WrapAlignment value) override;
49 void SetJustifyContent(int32_t value) override;
51 void SetAlignContent(int32_t value) override;
56 static void SetFlexDirection(FrameNode* frameNode, FlexDirection value);
57 static void SetFlexWrapDirection(FrameNode* frameNode, WrapDirection value);
58 static void SetFlexJustifyContent(FrameNode* frameNode, int32_t value);
59 static void SetFlexAlignItems(FrameNode* frameNode, int32_t value);
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/state_manage/
H A Dcj_environment.cpp28 NativeOptionBool result {.hasValue = false, .value = false }; in FfiOHOSAceFrameworkEnvironmentGetAccessibilityEnabled()
42 result.value = val.c_str(); in FfiOHOSAceFrameworkEnvironmentGetAccessibilityEnabled()
50 .value = static_cast<int32_t>(SystemProperties::GetColorMode()) in FfiOHOSAceFrameworkEnvironmentGetColorMode()
57 NativeOptionFloat32 result {.hasValue = false, .value = 0.0}; in FfiOHOSAceFrameworkEnvironmentGetFontScale()
66 result.value = context->GetFontScale(); in FfiOHOSAceFrameworkEnvironmentGetFontScale()
74 .value = SystemProperties::GetFontWeightScale() in FfiOHOSAceFrameworkEnvironmentGetFontWeightScale()
84 .value = isRTL ? 0 : 1 in FfiOHOSAceFrameworkEnvironmentGetLayoutDirection()
91 NativeOptionCString result {.hasValue = false, .value = Utils::MallocCString("").value}; in FfiOHOSAceFrameworkEnvironmentGetLanguageCode()
100 result.value in FfiOHOSAceFrameworkEnvironmentGetLanguageCode()
[all...]
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Dmodify_time_cursor.cpp39 int ModifyTimeCursor::GetText(int32_t columnIndex, char *value, int length) in GetText() argument
41 if (value == nullptr || length <= 0) { in GetText()
50 errno_t result = strcpy_s(value, length, val->data()); in GetText()
57 return RelationalCursor::GetText(columnIndex, value, length); in GetText()
60 int ModifyTimeCursor::GetInt64(int32_t columnIndex, int64_t *value) in GetInt64() argument
62 if (value == nullptr) { in GetInt64()
71 *value = *val; in GetInt64()
74 return RelationalCursor::GetInt64(columnIndex, value); in GetInt64()
77 int ModifyTimeCursor::GetReal(int32_t columnIndex, double *value) in GetReal() argument
85 *value in GetReal()
[all...]
H A Drelational_values_bucket.cpp30 int RelationalValuesBucket::PutText(OH_VBucket *bucket, const char *field, const char *value) in PutText() argument
32 return PutValueObject(bucket, field, OHOS::NativeRdb::ValueObject(value)); in PutText()
35 int RelationalValuesBucket::PutInt64(OH_VBucket *bucket, const char *field, int64_t value) in PutInt64() argument
37 return PutValueObject(bucket, field, OHOS::NativeRdb::ValueObject(value)); in PutInt64()
40 int RelationalValuesBucket::PutReal(OH_VBucket *bucket, const char *field, double value) in PutReal() argument
42 return PutValueObject(bucket, field, OHOS::NativeRdb::ValueObject(value)); in PutReal()
45 int RelationalValuesBucket::PutBlob(OH_VBucket *bucket, const char *field, const uint8_t *value, uint32_t size) in PutBlob() argument
48 if (value != nullptr) { in PutBlob()
51 blobValue.push_back(value[i]); in PutBlob()
112 int RelationalValuesBucket::PutValueObject(OH_VBucket *bucket, const char *field, OHOS::NativeRdb::ValueObject &&value) in PutValueObject() argument
127 OH_VBucket_PutAsset(OH_VBucket *bucket, const char *field, Data_Asset *value) OH_VBucket_PutAsset() argument
138 OH_VBucket_PutAssets(OH_VBucket *bucket, const char *field, Data_Asset **value, uint32_t count) OH_VBucket_PutAssets() argument
[all...]
/foundation/filemanagement/app_file_service/utils/src/b_ohos/startup/
H A Dbackup_para.cpp51 auto [getCfgParaValSucc, value] = GetConfigParameterValue(BConstants::BACKUP_DEBUG_OVERRIDE_EXTENSION_CONFIG_KEY, in GetBackupDebugOverrideExtensionConfig()
54 HILOGE("Fail to get configuration parameter value of backup.para, return default value"); in GetBackupDebugOverrideExtensionConfig()
57 return value == "true"; in GetBackupDebugOverrideExtensionConfig()
62 auto [getCfgParaValSucc, value] = in GetBackupOverrideBackupSARelease()
65 HILOGE("Fail to get configuration parameter value of backup.para, return default value"); in GetBackupOverrideBackupSARelease()
68 return value == "true"; in GetBackupOverrideBackupSARelease()
73 auto [getCfgParaValSucc, value] = in GetBackupOverrideIncrementalRestore()
76 HILOGE("Fail to get configuration parameter value o in GetBackupOverrideIncrementalRestore()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dexif_metadata_formatter.cpp544 // configuratioin for value range validation. For example GPSLatitudeRef the value must be 'N' or 'S'.
628 * validate the key is in value range array.
629 * For example GPSLatitudeRef value should be 'N' or 'S' in exifGPSLatitudeRef array.
646 bool ExifMetadatFormatter::ValidRegex(const std::string &value, const std::string &regex) in ValidRegex() argument
650 if (!std::regex_match(value, ratPattern)) { in ValidRegex()
658 void ExifMetadatFormatter::ReplaceAsSpace(std::string &value, const std::string &regex) in ReplaceAsSpace() argument
661 value = std::regex_replace(value, pattern, " "); in ReplaceAsSpace()
664 void ExifMetadatFormatter::ReplaceAsContent(std::string &value, cons argument
671 ValidRegexWithComma(std::string &value, const std::string &regex) ValidRegexWithComma() argument
682 RationalFormat(std::string &value) RationalFormat() argument
724 DecimalRationalFormat(std::string &value) DecimalRationalFormat() argument
754 ConvertRationalFormat(std::string &value) ConvertRationalFormat() argument
788 ValidRegexWithRationalFormat(std::string &value, const std::string &regex) ValidRegexWithRationalFormat() argument
801 ValidRegexWithCommaRationalFormat(std::string &value, const std::string &regex) ValidRegexWithCommaRationalFormat() argument
817 ValidRegexWithColonRationalFormat(std::string &value, const std::string &regex) ValidRegexWithColonRationalFormat() argument
833 ValidRegexWithDot(std::string &value, const std::string &regex) ValidRegexWithDot() argument
843 ValidRegxWithCommaDecimalRationalFormat(std::string &value, const std::string &regex) ValidRegxWithCommaDecimalRationalFormat() argument
857 ValidRegxAndConvertRationalFormat(std::string &value, const std::string &regex) ValidRegxAndConvertRationalFormat() argument
875 ValidRegexWithDecimalRationalFormat(std::string &value, const std::string &regex) ValidRegexWithDecimalRationalFormat() argument
886 ValidRegexWithVersionFormat(std::string &value, const std::string &regex) ValidRegexWithVersionFormat() argument
913 ValidRegexWithChannelFormat(std::string &value, const std::string &regex) ValidRegexWithChannelFormat() argument
946 ValidRegexWithGpsOneRationalFormat(std::string &value, const std::string &regex) ValidRegexWithGpsOneRationalFormat() argument
1266 ValidateValueRange(const std::string &keyName, const std::string &value) ValidateValueRange() argument
1310 ConvertRangeValue(const std::string &keyName, std::string &value) ConvertRangeValue() argument
1343 IsForbiddenValue(const std::string &value) IsForbiddenValue() argument
1371 ExtractValue(const std::string &keyName, std::string &value) ExtractValue() argument
1395 ConvertValueFormat(const std::string &keyName, std::string &value) ConvertValueFormat() argument
1454 Format(const std::string &keyName, const std::string &value) Format() argument
1496 ConvertToInt(const std::string& str, int& value) ConvertToInt() argument
1503 StrToDouble(const std::string &value, double &output) StrToDouble() argument
1532 ValidLatLong(const std::string &key, const std::string &value) ValidLatLong() argument
1574 Validate(const std::string &keyName, const std::string &value) Validate() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_modifier_property.cpp22 bool CreateOrSetModifierValue(std::shared_ptr<Rosen::RSAnimatableProperty<T>>& property, const T& value) in CreateOrSetModifierValue() argument
25 property = std::make_shared<Rosen::RSAnimatableProperty<T>>(value); in CreateOrSetModifierValue()
28 property->Set(value); in CreateOrSetModifierValue()
34 std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value) in AddOrChangeScaleModifier()
36 bool isCreate = CreateOrSetModifierValue(property, value); in AddOrChangeScaleModifier()
46 std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value) in AddOrChangeSkewModifier()
48 bool isCreate = CreateOrSetModifierValue(property, value); in AddOrChangeSkewModifier()
58 std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value) in AddOrChangePivotModifier()
60 bool isCreate = CreateOrSetModifierValue(property, value); in AddOrChangePivotModifier()
70 std::shared_ptr<Rosen::RSAnimatableProperty<float>>& property, const float value) in AddOrChangeTranslateZModifier()
32 AddOrChangeScaleModifier(std::shared_ptr<Rosen::RSNode>& rsNode, std::shared_ptr<Rosen::RSScaleModifier>& modifier, std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value) AddOrChangeScaleModifier() argument
44 AddOrChangeSkewModifier(std::shared_ptr<Rosen::RSNode>& rsNode, std::shared_ptr<Rosen::RSSkewModifier>& modifier, std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value) AddOrChangeSkewModifier() argument
56 AddOrChangePivotModifier(std::shared_ptr<Rosen::RSNode>& rsNode, std::shared_ptr<Rosen::RSPivotModifier>& modifier, std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value) AddOrChangePivotModifier() argument
68 AddOrChangeTranslateZModifier(std::shared_ptr<Rosen::RSNode>& rsNode, std::shared_ptr<Rosen::RSTranslateZModifier>& modifier, std::shared_ptr<Rosen::RSAnimatableProperty<float>>& property, const float value) AddOrChangeTranslateZModifier() argument
80 AddOrChangePerspectiveModifier(std::shared_ptr<Rosen::RSNode>& rsNode, std::shared_ptr<Rosen::RSPerspModifier>& modifier, std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value) AddOrChangePerspectiveModifier() argument
92 AddOrChangeTranslateModifier(std::shared_ptr<Rosen::RSNode>& rsNode, std::shared_ptr<Rosen::RSTranslateModifier>& modifier, std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Vector2f>>& property, const Rosen::Vector2f& value) AddOrChangeTranslateModifier() argument
104 AddOrChangeQuaternionModifier(std::shared_ptr<Rosen::RSNode>& rsNode, std::shared_ptr<Rosen::RSQuaternionModifier>& modifier, std::shared_ptr<Rosen::RSAnimatableProperty<Rosen::Quaternion>>& property, const Rosen::Quaternion& value) AddOrChangeQuaternionModifier() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_common/
H A Dkvstore_common.c36 boolean IsValidValue(const char* value, unsigned int len) in IsValidValue() argument
38 if (value == NULL) { in IsValidValue()
41 size_t valueLen = strnlen(value, MAX_VALUE_LEN); in IsValidValue()
71 if (item->value != NULL) { in FreeItem()
72 free(item->value); in FreeItem()
107 void AddKVCache(const char* key, const char* value, boolean isNew) in AddKVCache() argument
109 if (key == NULL || value == NULL) { in AddKVCache()
114 size_t valueLen = strnlen(value, MAX_VALUE_LEN); in AddKVCache()
127 item->value = (char *)malloc(valueLen + 1); in AddKVCache()
128 if ((item->key == NULL) || (item->value in AddKVCache()
158 GetValueByCache(const char* key, char* value, unsigned int maxLen) GetValueByCache() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_property.h132 virtual void SetValue(const std::shared_ptr<RSPropertyBase>& value) {} in SetValue() argument
186 virtual std::shared_ptr<RSPropertyBase> Add(const std::shared_ptr<const RSPropertyBase>& value) in Add() argument
191 virtual std::shared_ptr<RSPropertyBase> Minus(const std::shared_ptr<const RSPropertyBase>& value) in Minus() argument
201 virtual bool IsEqual(const std::shared_ptr<const RSPropertyBase>& value) const in IsEqual()
210 friend std::shared_ptr<RSPropertyBase> operator*=(const std::shared_ptr<RSPropertyBase>& value, const float scale);
216 const std::shared_ptr<const RSPropertyBase>& value, const float scale);
247 static_assert(std::is_base_of_v<RSArithmetic<T>, T> || supports_arithmetic<T>::value);
251 explicit RSProperty(const T& value) : RSPropertyBase() in RSProperty() argument
253 stagingValue_ = value; in RSProperty()
257 virtual void Set(const T& value) in Set() argument
284 UpdateToRender(const T& value, PropertyUpdateType type) const UpdateToRender() argument
300 IsValid(const T& value) IsValid() argument
339 RSAnimatableProperty(const T& value) RSAnimatableProperty() argument
534 UpdateExtendedAnimatableProperty(const T& value, bool isDelta) UpdateExtendedAnimatableProperty() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_layout_property.h41 auto value = MakeRefPtr<TextFieldLayoutProperty>(); variable
42 Clone(value); variable
43 return value;
248 auto value = DynamicCast<TextFieldLayoutProperty>(property); variable
249 value->LayoutProperty::UpdateLayoutProperty(DynamicCast<LayoutProperty>(this));
250 value->propFontStyle_ = CloneFontStyle();
251 value->propTextLineStyle_ = CloneTextLineStyle();
252 value->propValue_ = CloneValue();
253 value->propPlaceholderFontStyle_ = ClonePlaceholderFontStyle();
254 value
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/badge/
H A Dbadge_pattern.cpp50 if (badgeCount.value() > 0) { in OnModifyDone()
54 if (badgeCount.value() > maxCount) { in OnModifyDone()
55 badgeCount.value() = maxCount; in OnModifyDone()
56 textLayoutProperty->UpdateContent(std::to_string(badgeCount.value()) + "+"); in OnModifyDone()
58 textLayoutProperty->UpdateContent(std::to_string(badgeCount.value())); in OnModifyDone()
71 textLayoutProperty->UpdateContent(badgeValue.value()); in OnModifyDone()
72 if (badgeValue.value().empty()) { in OnModifyDone()
88 textLayoutProperty->UpdateTextColor(badgeTextColor.value()); in OnModifyDone()
92 textLayoutProperty->UpdateFontSize(badgeFontSize.value()); in OnModifyDone()
124 DumpLog::GetInstance().AddDesc(std::string("badgeCount: ").append(std::to_string(badgeCount.value()))); in DumpInfo()
[all...]
H A Dbadge_model_ng.cpp40 layoutProperty->UpdateBadgeValue(badgeParameters.badgeValue.value()); in Create()
43 layoutProperty->UpdateBadgeCount(badgeParameters.badgeCount.value()); in Create()
46 layoutProperty->UpdateBadgeMaxCount(badgeParameters.badgeMaxCount.value()); in Create()
52 auto badgePosition = static_cast<BadgePosition>(badgeParameters.badgePosition.value()); in Create()
58 layoutProperty->UpdateBadgePositionX(badgeParameters.badgePositionX.value()); in Create()
63 layoutProperty->UpdateBadgePositionY(badgeParameters.badgePositionY.value()); in Create()
68 layoutProperty->UpdateIsPositionXy(badgeParameters.isPositionXy.value()); in Create()
82 layoutProperty->UpdateBadgeColor(badgeParameters.badgeColor.value()); in UpdateBadgeStyle()
87 layoutProperty->UpdateBadgeTextColor(badgeParameters.badgeTextColor.value()); in UpdateBadgeStyle()
92 layoutProperty->UpdateBadgeFontSize(badgeParameters.badgeFontSize.value()); in UpdateBadgeStyle()
[all...]
/foundation/graphic/graphic_utils_lite/frameworks/
H A Dstyle.cpp123 void Style::SetStyle(uint8_t key, int64_t value) in SetStyle() argument
127 bgColor_.full = value; in SetStyle()
130 bgOpa_ = value; in SetStyle()
133 borderRadius_ = value; in SetStyle()
136 borderColor_.full = value; in SetStyle()
139 borderOpa_ = value; in SetStyle()
142 borderWidth_ = value; in SetStyle()
145 paddingLeft_ = value; in SetStyle()
148 paddingRight_ = value; in SetStyle()
151 paddingTop_ = value; in SetStyle()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Dtesting_objects.h55 constexpr bool operator==(float value) const in operator ==()
57 return i == value; in operator ==()
59 constexpr bool operator!=(float value) const in operator !=()
61 return i != value; in operator !=()
81 constexpr MyComparableTestType& operator*=(float value) in operator *=()
83 i *= value; in operator *=()
86 constexpr MyComparableTestType& operator/=(float value) in operator /=()
88 i /= value; in operator /=()
91 constexpr MyComparableTestType& operator+=(float value) in operator +=()
93 i += value; in operator +=()
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/
H A Dinitial_transform_component_manager.cpp94 InitialTransformComponent::InitialTransformComponent(float value) : type(CORE_NS::PropertyType::FLOAT_T) in InitialTransformComponent() argument
96 initialData.floatValue = value; in InitialTransformComponent()
99 InitialTransformComponent::InitialTransformComponent(BASE_NS::Math::Vec2 value) : type(CORE_NS::PropertyType::VEC2_T) in InitialTransformComponent() argument
101 initialData.vec2Value = value; in InitialTransformComponent()
104 InitialTransformComponent::InitialTransformComponent(BASE_NS::Math::Vec3 value) : type(CORE_NS::PropertyType::VEC3_T) in InitialTransformComponent() argument
106 initialData.vec3Value = value; in InitialTransformComponent()
109 InitialTransformComponent::InitialTransformComponent(BASE_NS::Math::Vec4 value) : type(CORE_NS::PropertyType::VEC4_T) in InitialTransformComponent() argument
111 initialData.vec4Value = value; in InitialTransformComponent()
114 InitialTransformComponent::InitialTransformComponent(BASE_NS::Math::Quat value) : type(CORE_NS::PropertyType::QUAT_T) in InitialTransformComponent() argument
116 initialData.quatValue = value; in InitialTransformComponent()
119 InitialTransformComponent(BASE_NS::array_view<const float> value) InitialTransformComponent() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/theme/tools/
H A Dbuild_theme_code.py27 item['.value'] = row[offset + 1]
29 if item['.value'].find('.') == -1:
30 item['.value'] = item['.value'] + '.0'
52 value = ''
54 value = row[:pos]
57 value = row
59 if len(value) > 6 and value[0:3] == '\"\"\"' and \
60 value[
[all...]

Completed in 14 milliseconds

1...<<11121314151617181920>>...285