/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/texttimer/ |
H A D | text_timer_model_ng.h | 26 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 D | text_timer_model_ng.cpp | 50 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 D | text_timer_model.h | 34 virtual void SetIsCountDown(bool isCountDown) = 0;
|
H A D | text_timer_pattern.cpp | 376 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 D | text_timer_layout_property.h | 85 void OnIsCountDownUpdate(bool isCountDown) in OnIsCountDownUpdate() argument
|
/foundation/arkui/ace_engine/frameworks/core/components/texttimer/ |
H A D | texttimer_component.cpp | 55 void TextTimerComponent::SetIsCountDown(bool isCountDown) in SetIsCountDown() argument 57 declaration_->SetIsCountDown(isCountDown); in SetIsCountDown()
|
H A D | texttimer_component.h | 41 void SetIsCountDown(bool isCountDown);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_texttimer_ffi.cpp | 61 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 D | cj_texttimer_ffi.h | 48 CJ_EXPORT void FfiOHOSAceFrameworkTextTimerCreate(bool isCountDown, int64_t count, int64_t controllerId);
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_timer/ |
H A D | text_timer_builder_test_ng.cpp | 49 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 D | text_timer_test_ng.cpp | 68 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 D | text_timer_model_impl.cpp | 29 void TextTimerModelImpl::SetIsCountDown(bool isCountDown) in SetIsCountDown() argument 33 component->SetIsCountDown(isCountDown); in SetIsCountDown()
|
H A D | text_timer_model_impl.h | 29 void SetIsCountDown(bool isCountDown) override;
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | text_timer_modifier.cpp | 169 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 D | arkts_native_text_timer_bridge.cpp | 283 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 D | js_texttimer.cpp | 72 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 D | arkoala_api.h | 4197 void (*setTextTimerOptions)(ArkUINodeHandle node, ArkUI_Bool isCountDown, ArkUI_Float64 count);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 25145 (_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) ||
|