/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_property_animation.cpp | 121 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 D | mtp_data_utils.cpp | 421 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 D | property.cpp | 120 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 D | mtp_operation_utils.cpp | 677 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 D | screen_setting_helper.cpp | 255 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 D | get_object_prop_list_data.cpp | 107 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 D | rs_value_estimator.h | 443 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 D | socperf_thread_wrap.cpp | 228 (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 D | rs_render_spring_animation.cpp | 168 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 D | track_animation.cpp | 91 if (auto& currentValue = GetState().GetCurrentValue()) { in ProcessOnGet() 92 if (auto result = value.CopyFrom(*currentValue)) { in ProcessOnGet()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_video.cpp | 619 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 D | test_single_3da_player_fast.h | 27 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 D | test_single_player_fast.h | 33 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 D | test_single_video_player_fast_1.h | 51 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 D | test_single_video_player_fast_3.h | 51 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 D | test_single_video_player_fast_2.h | 51 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 D | TestFastPlayer.cpp | 45 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 D | socperf_common.h | 209 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 D | property.h | 80 std::shared_ptr<Value> currentValue; member in OHOS::Media::Property
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_mtp_test/src/ |
H A D | mock_mtp_operation_utils.cpp | 550 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 D | mtp_payload_data_test.cpp | 863 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 D | accessibility_property_test_ng.cpp | 808 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 D | accessibility_property.cpp | 671 void AccessibilityProperty::SetUserCurrentValue(const int32_t& currentValue) in SetUserCurrentValue() argument 673 currentValue_ = currentValue; in SetUserCurrentValue()
|
H A D | accessibility_property.h | 550 void SetUserCurrentValue(const int32_t& currentValue);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_pattern.cpp | 302 auto currentValue = textPickerColumnPattern->GetOption(currentIndex); in FireChangeEvent() local 303 value.emplace_back(currentValue); in FireChangeEvent()
|