Home
last modified time | relevance | path

Searched refs:value (Results 9451 - 9475 of 37492) sorted by relevance

1...<<371372373374375376377378379380>>...1500

/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dtouch_event.cpp128 eventInfo.SetTiltX(lastPoint.tiltX.value()); in CreateTouchEventInfo()
131 eventInfo.SetTiltY(lastPoint.tiltY.value()); in CreateTouchEventInfo()
156 changedInfo.SetTiltX(lastPoint.tiltX.value()); in CreateChangedTouchInfo()
159 changedInfo.SetTiltY(lastPoint.tiltY.value()); in CreateChangedTouchInfo()
183 info.SetTiltX(pointItem.tiltX.value()); in CreateTouchItemInfo()
186 info.SetTiltY(pointItem.tiltY.value()); in CreateTouchItemInfo()
210 historyInfo.SetTiltX(eventItem.tiltX.value()); in CreateHistoryTouchItemInfo()
213 historyInfo.SetTiltY(eventItem.tiltY.value()); in CreateHistoryTouchItemInfo()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dchain_animation.cpp135 float value = 0.0f; in GetValue() local
138 value += nodes_[i]->GetDelta(); in GetValue()
142 value -= nodes_[-i]->GetDelta(); in GetValue()
145 return value; in GetValue()
154 float value = 0.0f; in GetValuePredict() local
158 value += nodes_[i]->GetDeltaPredict(delta * factor, duration); in GetValuePredict()
163 value -= nodes_[-i]->GetDeltaPredict(-delta * factor, duration); in GetValuePredict()
167 return value; in GetValuePredict()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dcommon_shape_modifier.cpp73 void SetStrokeWidth(ArkUINodeHandle node, ArkUI_Float32 value, int unit) in SetStrokeWidth() argument
78 ShapeModelNG::SetStrokeWidth(frameNode, Dimension(value, unitEnum)); in SetStrokeWidth()
130 void SetStrokeDashOffset(ArkUINodeHandle node, ArkUI_Float32 value, int unit) in SetStrokeDashOffset() argument
135 ShapeModelNG::SetStrokeDashOffset(frameNode, Dimension(value, unitEnum)); in SetStrokeDashOffset()
192 void SetShapeWidth(ArkUINodeHandle node, ArkUI_Float32 value, int32_t unit) in SetShapeWidth() argument
197 Dimension width = Dimension(value, unitEnum); in SetShapeWidth()
208 void SetShapeHeight(ArkUINodeHandle node, ArkUI_Float32 value, int32_t unit) in SetShapeHeight() argument
213 Dimension height = Dimension(value, unitEnum); in SetShapeHeight()
H A Dgauge_modifier.cpp25 void SetGaugeValue(ArkUINodeHandle node, ArkUI_Float32 value) in SetGaugeValue() argument
29 GaugeModelNG::SetValue(frameNode, value); in SetGaugeValue()
39 void SetGaugeStartAngle(ArkUINodeHandle node, ArkUI_Float32 value) in SetGaugeStartAngle() argument
43 GaugeModelNG::SetStartAngle(frameNode, value); in SetGaugeStartAngle()
53 void SetGaugeEndAngle(ArkUINodeHandle node, ArkUI_Float32 value) in SetGaugeEndAngle() argument
57 GaugeModelNG::SetEndAngle(frameNode, value); in SetGaugeEndAngle()
67 void SetGaugeStrokeWidth(ArkUINodeHandle node, ArkUI_Float32 value, int32_t unit) in SetGaugeStrokeWidth() argument
72 GaugeModelNG::SetGaugeStrokeWidth(frameNode, Dimension(value, unitEnum)); in SetGaugeStrokeWidth()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_styles.h240 std::string GetFontFamilyInJson(const std::optional<std::vector<std::string>>& value);
241 std::string GetFontStyleInJson(const std::optional<Ace::FontStyle>& value);
242 std::string GetFontWeightInJson(const std::optional<FontWeight>& value);
243 std::string GetFontSizeInJson(const std::optional<Dimension>& value);
244 std::string GetSymbolRenderingStrategyInJson(const std::optional<uint32_t>& value);
245 std::string GetSymbolEffectStrategyInJson(const std::optional<uint32_t>& value);
246 std::string GetLineBreakStrategyInJson(const std::optional<Ace::LineBreakStrategy>& value);
247 std::string GetSymbolEffectOptionsInJson(const std::optional<SymbolEffectOptions>& value);
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Drender_property.h55 return NearEqual(propBlurStyleOption.value(), option.value()); in CheckBlurStyleOption()
62 return NearEqual(propBlurRadius.value(), radius); in CheckBlurRadius()
72 return NearEqual(propEffectOption.value(), effectOption.value()); in CheckEffectOption()
98 return NearEqual(propBlurStyleOption.value(), option.value()); in CheckBlurStyleOption()
105 return NearEqual(propBlurRadius.value(), radius); in CheckBlurRadius()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_database.h42 AttributeValue(uint8_t **value, size_t length) : value_(nullptr), length_(length) in AttributeValue()
44 value_.reset(*value); in AttributeValue()
45 *value = nullptr; in AttributeValue()
78 bool SetValue(const uint8_t *value, size_t length) in SetValue()
82 if (memcpy_s(value_.get(), length_, value, length_) != EOK) { in SetValue()
101 bool SetValue(const uint8_t *value, size_t length) in SetValue()
103 return value_.SetValue(value, length); in SetValue()
201 int SetValueByHandle(uint16_t handle, AttributeValue &value);
227 // value handle <-> Attribute entity
229 // value handl
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_free_install_test/
H A Dbms_bundle_free_install_base_test.cpp292 std::map<std::string, std::string> value; in HWTEST_F() local
293 value.emplace("1", "2"); in HWTEST_F()
294 targetExtSetting.extValues = value; in HWTEST_F()
313 std::map<std::string, std::string> value; in HWTEST_F() local
314 value.emplace("1", "2"); in HWTEST_F()
315 targetExtSetting.extValues = value; in HWTEST_F()
319 EXPECT_NE(result.extValues, value); in HWTEST_F()
322 EXPECT_EQ(result.extValues, value); in HWTEST_F()
/foundation/graphic/surface_lite/frameworks/
H A Dbuffer_client_producer.cpp261 void BufferClientProducer::SetUserData(const std::string& key, const std::string& value) in SetUserData() argument
267 WriteString(&requestIo, value.c_str()); in SetUserData()
296 const char* value = reinterpret_cast<char *>(ReadString(&reply, &len)); in GetUserData() local
297 if (value == nullptr || len == 0) { in GetUserData()
300 sValue = value; in GetUserData()
307 void BufferClientProducer::SetAttr(uint32_t code, uint32_t value) in SetAttr() argument
312 WriteUint32(&requestIo, value); in SetAttr()
319 GRAPHIC_LOGW("Set Attr(%u:%u) failed", code, value); in SetAttr()
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_interrupt_service_test/src/
H A Daudio_policy_server_unit_test.cpp150 std::string value; in HWTEST() local
152 callback->OnAudioParameterChange(networkId, key, condition, value); in HWTEST()
170 std::string value; in HWTEST() local
172 callback->OnAudioParameterChange(networkId, key, condition, value); in HWTEST()
247 std::string value; in HWTEST() local
250 callback->OnAudioParameterChange(networkId, key, condition, value); in HWTEST()
268 std::string value; in HWTEST() local
271 callback->OnAudioParameterChange(networkId, key, condition, value); in HWTEST()
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec_list.cpp191 vec.push_back(innerMode.value()); in GetSupportedBitrateMode()
204 vec.push_back(static_cast<int32_t>(innerFmt.value())); in GetSupportedFormat()
245 if (innerProfile.has_value() && innerLevel.has_value() && innerLevel.value() >= 0) { in GetCodecProfileLevels()
246 userCap.profiles.emplace_back(innerProfile.value()); in GetCodecProfileLevels()
247 vector<int32_t> allLevel(innerLevel.value() + 1); in GetCodecProfileLevels()
249 userCap.profileLevelsMap[innerProfile.value()] = allLevel; in GetCodecProfileLevels()
251 hdiCap.role, innerProfile.value(), innerLevel.value()); in GetCodecProfileLevels()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/
H A Dcpu_brightness_algo.cpp36 float CpuBrightnessAlgo::ParseBrightness(std::map<std::string, Plugin::Any> &value) in ParseBrightness() argument
39 ErrorCode res = CommonUtils::GetValue("FilterIntensity", value, brightness); in ParseBrightness()
41 EFFECT_LOGW("get value fail! res=%{public}d. use default value: %{public}f", res, brightness); in ParseBrightness()
43 EFFECT_LOGI("get value success! brightness=%{public}f", brightness); in ParseBrightness()
48 std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) in OnApplyRGBA8888()
53 float brightness = ParseBrightness(value); in OnApplyRGBA8888()
96 std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) in OnApplyYUVNV21()
102 float brightness = ParseBrightness(value); in OnApplyYUVNV21()
156 std::map<std::string, Plugin::Any> &value, st in OnApplyYUVNV12()
47 OnApplyRGBA8888(EffectBuffer *src, EffectBuffer *dst, std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) OnApplyRGBA8888() argument
95 OnApplyYUVNV21(EffectBuffer *src, EffectBuffer *dst, std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) OnApplyYUVNV21() argument
155 OnApplyYUVNV12(EffectBuffer *src, EffectBuffer *dst, std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) OnApplyYUVNV12() argument
[all...]
/foundation/multimedia/drm_framework/services/utils/include/
H A Dnapi_param_utils.h218 static napi_status GetValueInt32(const napi_env &env, int32_t &value, napi_value in);
219 static napi_status SetValueInt32(const napi_env &env, const int32_t &value, napi_value &result);
220 static napi_status GetValueInt32(const napi_env &env, const std::string &fieldStr, int32_t &value, napi_value in);
222 const int32_t value, napi_value &result);
224 static std::string GetStringArgument(napi_env env, napi_value value);
231 static napi_status SetValueUint8Array(const napi_env &env, const std::vector<uint8_t> &value,
234 const std::vector<uint8_t> &value, napi_value &result);
235 static napi_status GetValueUint8Array(const napi_env &env, std::vector<uint8_t> &value,
/foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/
H A Dcamera_ability.cpp191 logFunc("Zoom Ratio Range", zoomRatioRange_.value()); in DumpCameraAbilityInfo()
197 MEDIA_DEBUG_LOG("Macro Supported: %{public}d", isMacroSupported_.value()); in DumpCameraAbilityInfo()
203 MEDIA_DEBUG_LOG("Depth Fusion Supported: %{public}d", isDepthFusionSupported_.value()); in DumpCameraAbilityInfo()
209 logFunc("Depth Fusion Threshold", getDepthFusionThreshold_.value()); in DumpCameraAbilityInfo()
256 float min = std::min(tempRange.value()[0], range[0]); in PrepareSpecMaximumValue()
257 float max = std::max(tempRange.value()[1], range[1]); in PrepareSpecMaximumValue()
270 bool oldValue = lastIsMacroSupported_.value(); in FilterByZoomRatio()
283 std::vector<float> oldValue = lastGetZoomRatioRange_.value(); in FilterByMacro()
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/
H A Dcpu_contrast_algo.cpp39 std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) in OnApplyRGBA8888()
44 float contrast = ParseContrast(value); in OnApplyRGBA8888()
87 std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) in OnApplyYUVNV21()
92 float contrast = ParseContrast(value); in OnApplyYUVNV21()
144 std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) in OnApplyYUVNV12()
150 float contrast = ParseContrast(value); in OnApplyYUVNV12()
202 float CpuContrastAlgo::ParseContrast(std::map<std::string, Plugin::Any> &value) in ParseContrast() argument
205 ErrorCode res = CommonUtils::GetValue("FilterIntensity", value, contrast); in ParseContrast()
207 EFFECT_LOGW("get value fail! res=%{public}d. use default value in ParseContrast()
38 OnApplyRGBA8888(EffectBuffer *src, EffectBuffer *dst, std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) OnApplyRGBA8888() argument
86 OnApplyYUVNV21(EffectBuffer *src, EffectBuffer *dst, std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) OnApplyYUVNV21() argument
143 OnApplyYUVNV12(EffectBuffer *src, EffectBuffer *dst, std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) OnApplyYUVNV12() argument
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imagesource_fuzzer/src/
H A Dimage_source_fuzz.cpp36 std::string value = "500"; in ImageSourceFuncTest001() local
39 imageSource->ModifyImageProperty(key, value); in ImageSourceFuncTest001()
40 imageSource->ModifyImageProperty(nullptr, key, value); in ImageSourceFuncTest001()
41 imageSource->ModifyImageProperty(0, key, value, ""); in ImageSourceFuncTest001()
42 imageSource->ModifyImageProperty(0, key, value, 0); in ImageSourceFuncTest001()
43 imageSource->ModifyImageProperty(0, key, value, nullptr, 0); in ImageSourceFuncTest001()
44 imageSource->GetImagePropertyCommon(0, key, value); in ImageSourceFuncTest001()
46 imageSource->GetImagePropertyString(0, key, value); in ImageSourceFuncTest001()
/foundation/multimedia/ringtone_library/test/unittest/ringtone_data_extension_test/src/
H A Dringtone_datashare_extension_test.cpp222 AbilityRuntime::DataShareValuesBucket value; in HWTEST_F() local
223 value.Put(ringtoneUintType, static_cast<uint8_t>(1)); in HWTEST_F()
224 value.Put(RINGTONE_COLUMN_DATE_ADDED, static_cast<int64_t>(addedTime)); in HWTEST_F()
225 value.Put(RINGTONE_COLUMN_MIME_TYPE, static_cast<string>(RINGTONE_CONTAINER_TYPE_OGG)); in HWTEST_F()
226 value.Put(ringtoneBoolType, static_cast<bool>(true)); in HWTEST_F()
227 value.Put(ringtoneDoubleType, static_cast<double>(doubleSize)); in HWTEST_F()
228 value.Put(ringtoneVectorType, static_cast<std::vector<uint8_t>>(ringtoneVec)); in HWTEST_F()
229 mediaDataShare->DumpDataShareValueBucket(tabFields, value); in HWTEST_F()
/foundation/communication/nfc/services/src/tag/
H A Disodep_card_handler.cpp63 cJSON *value = cJSON_GetArrayItem(checkApdus, i); in GetCheckApduFromJson() local
64 if (value == nullptr || !cJSON_IsString(value)) { in GetCheckApduFromJson()
68 cardInfoList[index].checkApdus.push_back(value->valuestring); in GetCheckApduFromJson()
85 cJSON *value = cJSON_GetArrayItem(balanceApdus, i); in GetBalanceApduFromJson() local
86 if (value == nullptr || !cJSON_IsString(value)) { in GetBalanceApduFromJson()
90 cardInfoList[index].balanceApdus.push_back(value->valuestring); in GetBalanceApduFromJson()
/foundation/communication/nfc/services/src/external_deps/
H A Dexternal_deps_proxy.cpp61 KITS::ErrorCode ExternalDepsProxy::NfcDataGetValue(Uri &uri, const std::string &column, int32_t &value) in NfcDataGetValue() argument
63 return NfcDataShareImpl::GetInstance()->GetValue(uri, column, value); in NfcDataGetValue()
66 KITS::ErrorCode ExternalDepsProxy::NfcDataSetValue(Uri &uri, const std::string &column, int &value) in NfcDataSetValue() argument
68 return NfcDataShareImpl::GetInstance()->SetValue(uri, column, value); in NfcDataSetValue()
71 void ExternalDepsProxy::NfcDataSetString(const std::string& key, const std::string& value) in NfcDataSetString() argument
73 NfcPreferences::GetInstance().SetString(key, value); in NfcDataSetString()
81 void ExternalDepsProxy::NfcDataSetInt(const std::string& key, const int value) in NfcDataSetInt() argument
83 NfcPreferences::GetInstance().SetInt(key, value); in NfcDataSetInt()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/
H A Dcloud_db.rs55 /// Insert a batch of value buckets into the cloud database, with specific target table name.
57 /// Values and extends are all value buckets from the users, but for the convenience, split
88 /// Update a batch of value buckets in the cloud database, with specific target table name.
90 /// Values and extends are all value buckets from the users, but for the convenience, split
109 /// Delete a batch of value buckets from the cloud database, with specific target table name.
111 /// Values and extends are all value buckets from the users, but for the convenience, split
159 /// Query value buckets from the cloud database, with specific target table name. Return with
162 /// Values and extends are all value buckets from the users, but for the convenience, split
289 for (key, value) in bucket { in upload()
290 if value in upload()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_kv_concurrency_crud_test.cpp74 Uint8VecToString(paramsPtr->entryPtr_->value, strValue); in ConcurOperThread()
76 EXPECT_TRUE(DistributedTestTools::IsValueEquals(valueResult, paramsPtr->entryPtr_->value)); in ConcurOperThread()
80 paramsPtr->entryPtr_->key, paramsPtr->entryPtr_->value); in ConcurOperThread()
83 Uint8VecToString(paramsPtr->entryPtr_->value, strValue); in ConcurOperThread()
87 EXPECT_TRUE(DistributedTestTools::IsValueEquals(valueResult, paramsPtr->entryPtr_->value)); in ConcurOperThread()
96 Uint8VecToString(paramsPtr->entryPtr_->value, strValue); in ConcurOperThread()
108 kvThreadParam->entryPtr_->value = entryCurrent.value; in KvCalculateTime()
281 MST_LOG("value size %zu", valueResult.size()); in HWTEST_F()
314 MST_LOG("value siz in HWTEST_F()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb_data_share_adapter/src/
H A Drdb_utils.cpp32 ValueObject::Type value; in ToValuesBucket() local
33 RawDataParser::Convert(std::move(dsValue), value); in ToValuesBucket() local
34 valuesMap.insert(std::pair<std::string, ValueObject>(key, std::move(value))); in ToValuesBucket()
59 if (auto *val = std::get_if<int>(&predicatesObject.value)) { in ToValueObject()
62 ValueObject::Type value; in ToValueObject() local
63 RawDataParser::Convert(std::move(predicatesObject.value), value); in ToValueObject() local
64 return value; in ToValueObject()
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpaste_data_entry_test.cpp119 auto value = std::get_if<std::string>(&objectValue[UDMF::CONTENT]); in CheckPlainUds() local
120 ASSERT_NE(value, nullptr); in CheckPlainUds()
121 ASSERT_EQ(*value, text_); in CheckPlainUds()
135 auto value = std::get_if<std::shared_ptr<PixelMap>>(&objectValue[UDMF::PIXEL_MAP]); in CheckPixelMapUds() local
136 ASSERT_NE(value, nullptr); in CheckPixelMapUds()
138 (*value)->GetImageInfo(imageInfo); in CheckPixelMapUds()
207 auto value = decodePasteEntry.GetValue(); in HWTEST_F() local
208 auto str = std::get_if<std::string>(&value); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/output_control_test/
H A Doutput_controller_test.cpp37 std::string value = "dscreen_output_test"; in HWTEST_F() local
38 Status ret = controller->SetParameter(Tag::USER_FRAME_NUMBER, value); in HWTEST_F()
56 std::string value = "dscreen_output_test"; in HWTEST_F() local
57 Status ret = controller->SetParameter(Tag::USER_SHARED_MEMORY_FD, value); in HWTEST_F()
64 std::string value = "dscreen_output_test"; in HWTEST_F() local
65 Status ret = controller->SetParameter(Tag::USER_TIME_SYNC_RESULT, value); in HWTEST_F()
72 std::string value = "dscreen_output_test"; in HWTEST_F() local
73 controller->SetParameter(Tag::USER_FRAME_NUMBER, value); in HWTEST_F()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dpsparse.c130 prev = op->common.parent->common.value.arg; in acpi_ps_complete_this_op()
140 * with a return value op (placeholder op) in acpi_ps_complete_this_op()
231 replacement_op->common.value.arg = NULL; in acpi_ps_complete_this_op()
233 op->common.parent->common.value.arg = in acpi_ps_complete_this_op()
237 op->common.parent->common.value.arg = in acpi_ps_complete_this_op()
254 replacement_op->common.value. in acpi_ps_complete_this_op()
319 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
363 walk_state->control_state->common.value = FALSE; in acpi_ps_next_parse_state()
375 (op->common.value.arg)->common.node; in acpi_ps_next_parse_state()
377 /* Will return value (i in acpi_ps_next_parse_state()
[all...]

Completed in 24 milliseconds

1...<<371372373374375376377378379380>>...1500