Home
last modified time | relevance | path

Searched refs:currentValue (Results 1 - 25 of 27) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_property_animation.cpp121 auto currentValue = GetPropertyValue(); in OnUpdateStagingValue() local
123 targetValue = IsReversed() ? currentValue + byValue : currentValue - byValue; in OnUpdateStagingValue()
125 targetValue = IsReversed() ? currentValue - byValue : currentValue + byValue; in OnUpdateStagingValue()
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_data_utils.cpp421 prop.currentValue->str_ = make_shared<std::string>(get<std::string>(columnValue)); in SetProperty()
424 prop.currentValue->bin_.i32 = get<int32_t>(columnValue); in SetProperty()
428 prop.currentValue->str_ = in SetProperty()
431 prop.currentValue->bin_.i64 = get<int64_t>(columnValue); in SetProperty()
454 prop.currentValue->bin_.ui16 = format; in GetOneRowPropList()
455 MEDIA_INFO_LOG("prop.currentValue->bin_.ui16 %{public}u", format); in GetOneRowPropList()
507 prop.currentValue->bin_.i16 = 0; in SetOneDefaultlPropList()
510 prop.currentValue->bin_.i128[OFFSET_0] = static_cast<int32_t>(handle); in SetOneDefaultlPropList()
511 prop.currentValue->bin_.i128[OFFSET_1] = 0; in SetOneDefaultlPropList()
512 prop.currentValue in SetOneDefaultlPropList()
[all...]
H A Dproperty.cpp120 currentValue = std::make_shared<Value>(); in Property()
130 currentValue = std::make_shared<Value>(); in Property()
240 currentValue->str_ = str; in SetCurrentValue()
245 return currentValue; in GetCurrentValue()
386 if (!ReadValue(buffer, offset, *currentValue)) { in ReadValueData()
458 WriteValue(buffer, *currentValue); in WriteValueData()
691 DumpValue(indent, currentValue, "currentValue"); in Dump()
H A Dmtp_operation_utils.cpp677 property->currentValue->str_ = make_shared<string>(GetPropertyInner("persist.device.name", in GetPropDesc()
688 property->currentValue->bin_.ui8 = (uint8_t)MtpOperationUtils::GetBatteryLevel(); in GetPropDesc()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_setting_helper.cpp255 std::string currentValue; in SplitString() local
260 currentValue = dataStr.substr(beginIdx, currentIdx - beginIdx); in SplitString()
261 if (currentValue.size() > 0) { in SplitString()
262 splitValues.push_back(currentValue); in SplitString()
263 TLOGI(WmsLogTag::DMS, "resolving current value success, currentValue: %{public}s", in SplitString()
264 currentValue.c_str()); in SplitString()
268 currentValue = dataStr.substr(beginIdx, strLength - beginIdx); in SplitString()
269 if (currentValue.size() > 0) { in SplitString()
270 splitValues.push_back(currentValue); in SplitString()
271 TLOGI(WmsLogTag::DMS, "resolving current value success, currentValue in SplitString()
[all...]
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dget_object_prop_list_data.cpp107 if (prop.currentValue == nullptr) { in WriteProperty()
122 auto &value = prop.currentValue; in WritePropertyStrValue()
134 auto &value = prop.currentValue; in WritePropertyIntValue()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_value_estimator.h443 T currentValue = startValue_; in GetAnimationValue() local
446 currentValue = endValue_; in GetAnimationValue()
448 currentValue = springModel_->CalculateDisplacement(time) + endValue_; in GetAnimationValue()
451 auto animationValue = currentValue; in GetAnimationValue()
453 animationValue = property_->Get() + currentValue - lastValue_; in GetAnimationValue()
455 lastValue_ = currentValue; in GetAnimationValue()
/foundation/resourceschedule/soc_perf/services/core/src/
H A Dsocperf_thread_wrap.cpp228 (resStatus->previousValue != resStatus->currentValue || in SendResStatusToPerfSo()
232 value.push_back(resStatus->currentValue); in SendResStatusToPerfSo()
236 valueToRssEx.push_back(resStatus->currentValue); in SendResStatusToPerfSo()
239 resStatus->previousValue = resStatus->currentValue; in SendResStatusToPerfSo()
243 resStatus->currentValue == MAX_INT32_VALUE ? NODE_DEFAULT_VALUE : resStatus->currentValue); in SendResStatusToPerfSo()
597 resStatusInfo_[resId]->currentValue = currValue; in UpdateCurrentValue()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_spring_animation.cpp168 auto currentValue = springValueEstimator_->GetAnimationProperty(); in OnAnimate() local
169 if (currentValue == nullptr) { in OnAnimate()
174 if (!currentValue->IsNearEqual(targetValue, zeroThreshold_)) { in OnAnimate()
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/
H A Dtrack_animation.cpp91 if (auto& currentValue = GetState().GetCurrentValue()) { in ProcessOnGet()
92 if (auto result = value.CopyFrom(*currentValue)) { in ProcessOnGet()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_video.cpp619 int64_t currentValue = progress * duration_ / 100; // 100:percent in OnChange() local
622 if (!GetTimerFromMSecond(currentValue, timer, sizeof(timer))) { in OnChange()
627 videoPlayer_->Rewind(currentValue, PLAYER_SEEK_PREVIOUS_SYNC); in OnChange()
/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_3da_player_fast.h27 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in FIXTURE() argument
29 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in FIXTURE()
30 return fabs(expectValue - currentValue) < 1000; // if open debug log, should use value >= 1000 in FIXTURE()
H A Dtest_single_player_fast.h33 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in FIXTURE() argument
35 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in FIXTURE()
36 return fabs(expectValue - currentValue) < 1000; // if open debug log, should use value >= 1000 in FIXTURE()
H A Dtest_single_video_player_fast_1.h51 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in FIXTURE() argument
53 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in FIXTURE()
54 return fabs(expectValue - currentValue) < 100; // if open debug log, should use value >= 1000 in FIXTURE()
H A Dtest_single_video_player_fast_3.h51 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in FIXTURE() argument
53 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in FIXTURE()
54 return fabs(expectValue - currentValue) < 100; // if open debug log, should use value >= 1000 in FIXTURE()
H A Dtest_single_video_player_fast_2.h51 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in FIXTURE() argument
53 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in FIXTURE()
54 return fabs(expectValue - currentValue) < 100; // if open debug log, should use value >= 1000 in FIXTURE()
/foundation/multimedia/media_foundation/test/scenetest/audio_player/
H A DTestFastPlayer.cpp45 bool CheckTimeEquality(int32_t expectValue, int32_t currentValue) in CheckTimeEquality() argument
47 MEDIA_LOG_I("expectValue : %d, currentValue : %d", expectValue, currentValue); in CheckTimeEquality()
48 return fabs(expectValue - currentValue) < 1000; // if open debug log, should use value >= 1000 in CheckTimeEquality()
/foundation/resourceschedule/soc_perf/services/core/include/
H A Dsocperf_common.h209 int64_t currentValue; member in OHOS::SOCPERF::ResStatus
229 currentValue = NODE_DEFAULT_VALUE; in ResStatus()
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dproperty.h80 std::shared_ptr<Value> currentValue; member in OHOS::Media::Property
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/
H A Dmock_mtp_operation_utils.cpp550 property->currentValue->str_ = make_shared<string>(GetPropertyInner("persist.device.name", in GetPropDesc()
561 property->currentValue->bin_.ui8 = (uint8_t)MtpOperationUtils::GetBatteryLevel(); in GetPropDesc()
H A Dmtp_payload_data_test.cpp863 propOne.currentValue = make_shared<Property::Value>(); in HWTEST_F()
869 propTwo.currentValue = make_shared<Property::Value>(); in HWTEST_F()
872 propTwo.currentValue->str_ = make_shared<string>(); in HWTEST_F()
875 prop.currentValue = make_shared<Property::Value>(); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/property/
H A Daccessibility_property_test_ng.cpp808 const int32_t currentValue = 2; in HWTEST_F() local
811 accessibilityProperty.SetUserCurrentValue(currentValue); in HWTEST_F()
813 EXPECT_EQ(accessibilityProperty.GetUserCurrentValue(), currentValue); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Daccessibility_property.cpp671 void AccessibilityProperty::SetUserCurrentValue(const int32_t& currentValue) in SetUserCurrentValue() argument
673 currentValue_ = currentValue; in SetUserCurrentValue()
H A Daccessibility_property.h550 void SetUserCurrentValue(const int32_t& currentValue);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_pattern.cpp302 auto currentValue = textPickerColumnPattern->GetOption(currentIndex); in FireChangeEvent() local
303 value.emplace_back(currentValue); in FireChangeEvent()

Completed in 30 milliseconds

12