Home
last modified time | relevance | path

Searched refs:targetValue (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_property_animation.cpp112 auto targetValue = endValue; in OnUpdateStagingValue() local
115 targetValue = startValue; in OnUpdateStagingValue()
117 targetValue = endValue; in OnUpdateStagingValue()
122 targetValue = IsReversed() ? currentValue + byValue : currentValue - byValue; in OnUpdateStagingValue()
124 targetValue = IsReversed() ? currentValue - byValue : currentValue + byValue; in OnUpdateStagingValue()
128 SetPropertyValue(targetValue); in OnUpdateStagingValue()
133 auto targetValue = endValue_; in UpdateStagingValueOnInteractiveFinish() local
135 targetValue = startValue_; in UpdateStagingValueOnInteractiveFinish()
137 targetValue = endValue_; in UpdateStagingValueOnInteractiveFinish()
144 SetPropertyValue(targetValue); in UpdateStagingValueOnInteractiveFinish()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dcondition_arbitrator.cpp97 char *targetValue = nullptr; in JudgeCondition() local
98 char *conditionNameStr = strtok_s(targetCondition, ":", &targetValue); in JudgeCondition()
101 char *trimedTargetValue = StringUtil::Trim(targetValue); in JudgeCondition()
167 …onArbitrator::JudgeConditionByNumberValue(ConditionName conditionId, const char *targetValue) const in JudgeConditionByNumberValue()
170 if (!(targetValue[0] >= ASSICLL_DIGIT_START && targetValue[0] <= ASSICLL_DIGIT_END)) { in JudgeConditionByNumberValue()
180 return CompareIntDimension(conditionId, targetValue); in JudgeConditionByNumberValue()
185 return CompareFloatDimension(conditionId, targetValue); in JudgeConditionByNumberValue()
193 bool ConditionArbitrator::CompareIntDimension(ConditionName conditionId, const char *targetValue) c… in CompareIntDimension()
195 int dimensionValue = atoi(targetValue); in CompareIntDimension()
232 bool ConditionArbitrator::CompareFloatDimension(ConditionName conditionId, const char *targetValue)… in CompareFloatDimension()
[all …]
H A Dcondition_arbitrator.h62 bool JudgeConditionByNumberValue(ConditionName conditionId, const char *targetValue) const;
63 bool CompareIntDimension(ConditionName conditionId, const char *targetValue) const;
64 bool CompareFloatDimension(ConditionName conditionId, const char *targetValue) const;
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/animation/
H A Dmock_animation_proxy.h36 void RecordPropChange(const WeakPtr<AnimatableProperty<T>>& ptr, T targetValue) in RecordPropChange() argument
40 prop = { targetValue, targetValue }; in RecordPropChange()
44 prop.endValue_ = targetValue; in RecordPropChange()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/test/unittest/common/
H A Dstylemgr_media_query_tdd_test.cpp572 int32_t targetValue = 8421504; variable
574 EXPECT_EQ(targetValue, backgroundColorValue);
623 int32_t targetValue = 215026; variable
625 EXPECT_EQ(targetValue, backgroundColorValue);
708 int32_t targetValue = 400; variable
710 EXPECT_EQ(targetValue, widthValue);
741 int32_t targetValue = 121301; variable
743 EXPECT_EQ(targetValue, backgroundColorValue);
748 int32_t targetValue = 5; variable
750 EXPECT_EQ(targetValue, borderWidthValue);
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/common/src/
H A Dbundle_active_binary_search.cpp28 …leActiveBinarySearch::BinarySearch(const std::vector<int64_t> &tableNameArray, int64_t targetValue) in BinarySearch() argument
36 if (midValue < targetValue) { in BinarySearch()
38 } else if (midValue > targetValue) { in BinarySearch()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/page_transition/
H A Dpage_transition_info.h171 void AddOpacityAnimation(float targetValue) in AddOpacityAnimation() argument
175 std::swap(initValue, targetValue); in AddOpacityAnimation()
177 …auto animation = AceType::MakeRefPtr<CurveAnimation<float>>(initValue, targetValue, tweenOption_.G… in AddOpacityAnimation()
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_engine.cpp259 auto targetValue = ARKTS_CreateUtf8(env, target, -1); in ARKTS_Require() local
266 return ARKTS_Call(env, funcValue, ARKTS_CreateUndefined(), 1, &targetValue); in ARKTS_Require()
273 ARKTS_Value args[] = { targetValue, ARKTS_CreateBool(isAppModule), ARKTS_CreateUndefined(), in ARKTS_Require()
277 ARKTS_Value args[] = { targetValue, ARKTS_CreateBool(isAppModule) }; in ARKTS_Require()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dsqlite_connection.cpp503 int targetValue = config.GetPageSize(); in SetPageSize() local
510 if (static_cast<int64_t>(object) == targetValue) { in SetPageSize()
514 errCode = ExecuteSql("PRAGMA page_size=" + std::to_string(targetValue)); in SetPageSize()
756 int targetValue = SqliteGlobalConfig::GetJournalFileSize(); in SetJournalSizeLimit() local
763 if (static_cast<int64_t>(currentValue) == targetValue) { in SetJournalSizeLimit()
780 int targetValue = SqliteGlobalConfig::GetWalAutoCheckpoint(); in SetAutoCheckpoint() local
787 if (static_cast<int64_t>(value) == targetValue) { in SetAutoCheckpoint()
812 std::string targetValue = SqliteGlobalConfig::GetSyncMode(); in SetWalSyncMode() local
814 targetValue = syncMode; in SetWalSyncMode()
824 if (walSyncMode == targetValue) { in SetWalSyncMode()
[all …]
/ohos5.0/foundation/resourceschedule/device_usage_statistics/services/common/include/
H A Dbundle_active_binary_search.h27 int32_t BinarySearch(const std::vector<int64_t> &tableNameArray, int64_t targetValue);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/src/
H A Djson_common.cpp585 bool JsonCommon::isValueEqual(const ValueObject &srcValue, const ValueObject &targetValue) in isValueEqual() argument
587 if (srcValue.GetValueType() == targetValue.GetValueType()) { in isValueEqual()
592 return srcValue.GetBoolValue() == targetValue.GetBoolValue(); in isValueEqual()
594 return srcValue.GetDoubleValue() == targetValue.GetDoubleValue(); in isValueEqual()
596 return srcValue.GetStringValue() == targetValue.GetStringValue(); in isValueEqual()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/include/
H A Djson_common.h37 static bool isValueEqual(const ValueObject &srcValue, const ValueObject &targetValue);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_spring_animation.cpp163 auto targetValue = animationFraction_.GetCurrentIsReverseCycle() ? startValue_ : endValue_; in OnAnimate() local
164 if (!currentValue->IsNearEqual(targetValue, zeroThreshold_)) { in OnAnimate()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_modifier_adapter.cpp270 auto targetValue = std::make_shared<RSAnimatableProperty<float>>(value); in AnimateWithVelocity() local
277 targetValue, initialVelocity, finishCallback, nullptr); in AnimateWithVelocity()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_property.h471 const std::shared_ptr<RSPropertyBase>& targetValue,
475 auto endValue = std::static_pointer_cast<RSAnimatableProperty<T>>(targetValue);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/api/
H A Ddocumentdb_find_test.cpp93 static void CompareValue(const char *value, const char *targetValue) in CompareValue() argument
98 DocumentDB::JsonObject targetValueObj = DocumentDB::JsonObject::Parse(targetValue, errCode); in CompareValue()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_animation_supplement_test.cpp1123 … std::shared_ptr<RSPropertyBase> targetValue = std::make_shared<RSAnimatableProperty<float>>(0.1f); variable
1124 property->AnimateWithInitialVelocity(timingProtocol, timingCurve, targetValue);