Home
last modified time | relevance | path

Searched refs:isCountDown (Results 1 - 18 of 18) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/
H A Dtext_timer_model_ng.h26 TextTimerConfiguration(double count, bool isCountDown, bool started, int64_t elapsedTime, bool enabled) in TextTimerConfiguration() argument
29 isCountDown_(isCountDown), in TextTimerConfiguration()
44 void SetIsCountDown(bool isCountDown) override;
55 static void SetIsCountDown(FrameNode* frameNode, bool isCountDown);
H A Dtext_timer_model_ng.cpp50 void TextTimerModelNG::SetIsCountDown(bool isCountDown) in SetIsCountDown() argument
52 ACE_UPDATE_LAYOUT_PROPERTY(TextTimerLayoutProperty, IsCountDown, isCountDown); in SetIsCountDown()
128 void TextTimerModelNG::SetIsCountDown(FrameNode* frameNode, bool isCountDown) in SetIsCountDown() argument
130 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TextTimerLayoutProperty, IsCountDown, isCountDown, frameNode); in SetIsCountDown()
H A Dtext_timer_model.h34 virtual void SetIsCountDown(bool isCountDown) = 0;
H A Dtext_timer_pattern.cpp376 auto isCountDown = textTimerLayoutProperty->GetIsCountDown().value_or(false); in BuildContentModifierNode() local
379 TextTimerConfiguration textTimerConfiguration(count, isCountDown, started, elapsedTime, enabled); in BuildContentModifierNode()
387 auto isCountDown = textTimerLayoutProperty->GetIsCountDown().value_or(false); in DumpInfo() local
388 isCountDown ? DumpLog::GetInstance().AddDesc("isCountDown: true") : in DumpInfo()
389 DumpLog::GetInstance().AddDesc("isCountDown: false"); in DumpInfo()
400 json->Put("isCountDown", textTimerLayoutProperty->GetIsCountDown().value_or(false)); in DumpInfo()
H A Dtext_timer_layout_property.h85 void OnIsCountDownUpdate(bool isCountDown) in OnIsCountDownUpdate() argument
/foundation/arkui/ace_engine/frameworks/core/components/texttimer/
H A Dtexttimer_component.cpp55 void TextTimerComponent::SetIsCountDown(bool isCountDown) in SetIsCountDown() argument
57 declaration_->SetIsCountDown(isCountDown); in SetIsCountDown()
H A Dtexttimer_component.h41 void SetIsCountDown(bool isCountDown);
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_texttimer_ffi.cpp61 void FfiOHOSAceFrameworkTextTimerCreate(bool isCountDown, int64_t count, int64_t controllerId) in FfiOHOSAceFrameworkTextTimerCreate() argument
65 TextTimerModel::GetInstance()->SetIsCountDown(isCountDown); in FfiOHOSAceFrameworkTextTimerCreate()
66 if (isCountDown) { in FfiOHOSAceFrameworkTextTimerCreate()
H A Dcj_texttimer_ffi.h48 CJ_EXPORT void FfiOHOSAceFrameworkTextTimerCreate(bool isCountDown, int64_t count, int64_t controllerId);
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_timer/
H A Dtext_timer_builder_test_ng.cpp49 std::optional<bool> isCountDown = std::nullopt; member
89 if (testProperty.isCountDown.has_value()) { in CreateTextTimerParagraph()
90 textTimerModel.SetIsCountDown(testProperty.isCountDown.value()); in CreateTextTimerParagraph()
125 testProperty.isCountDown = std::make_optional(true); in HWTEST_F()
193 testProperty.isCountDown = std::make_optional(true); in HWTEST_F()
261 testProperty.isCountDown = std::make_optional(true); in HWTEST_F()
329 testProperty.isCountDown = std::make_optional(true); in HWTEST_F()
397 testProperty.isCountDown = std::make_optional(true); in HWTEST_F()
465 testProperty.isCountDown = std::make_optional(true); in HWTEST_F()
533 testProperty.isCountDown in HWTEST_F()
[all...]
H A Dtext_timer_test_ng.cpp68 std::optional<bool> isCountDown = std::nullopt; member
108 if (testProperty.isCountDown.has_value()) { in CreateTextTimerParagraph()
109 textTimerModel.SetIsCountDown(testProperty.isCountDown.value()); in CreateTextTimerParagraph()
145 testProperty.isCountDown = std::make_optional(IS_COUNT_DOWN); in HWTEST_F()
441 testProperty.isCountDown = std::make_optional(IS_COUNT_DOWN); in HWTEST_F()
506 testProperty.isCountDown = std::make_optional(IS_COUNT_DOWN); in HWTEST_F()
601 testProperty.isCountDown = std::make_optional(IS_COUNT_DOWN); in HWTEST_F()
661 testProperty.isCountDown = std::make_optional(true); in HWTEST_F()
710 testProperty.isCountDown = std::make_optional(IS_COUNT_DOWN); in HWTEST_F()
764 testProperty.isCountDown in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtext_timer_model_impl.cpp29 void TextTimerModelImpl::SetIsCountDown(bool isCountDown) in SetIsCountDown() argument
33 component->SetIsCountDown(isCountDown); in SetIsCountDown()
H A Dtext_timer_model_impl.h29 void SetIsCountDown(bool isCountDown) override;
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dtext_timer_modifier.cpp169 void setTextTimerOptions(ArkUINodeHandle node, ArkUI_Bool isCountDown, ArkUI_Float64 count) in setTextTimerOptions() argument
173 TextTimerModelNG::SetIsCountDown(frameNode, isCountDown); in setTextTimerOptions()
174 if (isCountDown) { in setTextTimerOptions()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_text_timer_bridge.cpp283 const char* keysOfTextTimer[] = { "count", "isCountDown", "started", "enabled", "elapsedTime"}; in SetContentModifierBuilder()
324 bool isCountDown = DEFAULT_COUNT_DOWN; in SetTextTimerOptions() local
327 isCountDown = isCountDownVal->BooleaValue(vm); in SetTextTimerOptions()
328 if (isCountDown && countVal->IsNumber()) { in SetTextTimerOptions()
335 GetArkUINodeModifiers()->getTextTimerModifier()->setTextTimerOptions(nativeNode, isCountDown, count); in SetTextTimerOptions()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_texttimer.cpp72 auto tempIsCountDown = paramObject->GetProperty("isCountDown"); in Create()
74 bool isCountDown = tempIsCountDown->ToBoolean(); in Create() local
75 TextTimerModel::GetInstance()->SetIsCountDown(isCountDown); in Create()
76 if (isCountDown) { in Create()
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h4197 void (*setTextTimerOptions)(ArkUINodeHandle node, ArkUI_Bool isCountDown, ArkUI_Float64 count);
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js25145 (_a = this.value) === null || _a === void 0 ? void 0 : _a.isCountDown,
25152 return !isBaseOrResourceEqual((_a = this.stageValue) === null || _a === void 0 ? void 0 : _a.isCountDown,
25153 (_b = this.value) === null || _b === void 0 ? void 0 : _b.isCountDown) ||

Completed in 51 milliseconds