Home
last modified time | relevance | path

Searched refs:textOptions (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_keyboard_shortcut_test_ng.cpp128 TextSpanOptions textOptions; variable
228 TextSpanOptions textOptions; variable
285 TextSpanOptions textOptions; variable
287 textOptions.style = style;
318 TextSpanOptions textOptions; variable
351 TextSpanOptions textOptions; variable
353 textOptions.style = style;
385 TextSpanOptions textOptions; variable
387 textOptions.style = style;
419 TextSpanOptions textOptions; variable
[all …]
H A Drich_editor_change_callback_test_ng.cpp187 TextSpanOptions textOptions; variable
188 textOptions.value = INIT_VALUE_1;
189 richEditorPattern->AddTextSpan(textOptions);
206 textOptions.offset = 1;
207 textOptions.value = INIT_VALUE_2;
208 textOptions.style = style;
209 richEditorPattern->AddTextSpan(textOptions);
257 TextSpanOptions textOptions; variable
258 textOptions.value = INIT_VALUE_1;
563 TextSpanOptions textOptions; variable
[all …]
H A Drich_editor_base_test_ng.cpp376 TextSpanOptions textOptions; variable
377 textOptions.value = INIT_VALUE_2;
378 richEditorController->AddTextSpan(textOptions);
544 TextSpanOptions textOptions; variable
545 textOptions.value = INIT_VALUE_1;
546 richEditorController->AddTextSpan(textOptions);
H A Drich_editor_test_ng.cpp836 TextSpanOptions textOptions; variable
837 textOptions.value = INIT_VALUE_2;
1004 TextSpanOptions textOptions; variable
1005 textOptions.value = INIT_VALUE_1;
5490 TextSpanOptions textOptions; variable
5491 textOptions.value = INIT_VALUE_1;
5509 textOptions.offset = 1;
5510 textOptions.value = INIT_VALUE_2;
5511 textOptions.style = style;
5560 TextSpanOptions textOptions; variable
[all …]
H A Drich_editor_overlay_test_ng.cpp1117 TextSpanOptions textOptions; variable
1118 textOptions.value = INIT_VALUE_2;
1119 richEditorController->AddTextSpan(textOptions);
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Djsbundle_tdd_test.cpp115 JSValue textOptions = JSObject::Create(); in CreateElementAttributeLength003() local
119 JSObject::Set(textOptions, ARG_ATTRS, textAttrs); in CreateElementAttributeLength003()
120 JSValue textArgs[ARG_LENGTH_2] = {textTag, textOptions}; in CreateElementAttributeLength003()
147 …ReleaseJerryValue(divEl, divChildren, divTag, textEl, textOptions, textAttrs, textValue, textTag, … in CreateElementAttributeLength003()
154 JSValue textOptions = JSObject::Create(); in CreateElementAttributeLength004() local
158 JSObject::Set(textOptions, ARG_ATTRS, textAttrs); in CreateElementAttributeLength004()
159 JSValue textArgs[ARG_LENGTH_2] = {textTag, textOptions}; in CreateElementAttributeLength004()
198 …yValue(divEl, divChildren, divOptions, divStyles, divWidth, divHeight, divTag, textEl, textOptions, in CreateElementAttributeLength004()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dtitle_bar_test_ng.cpp1149 ASSERT_EQ(titleBarPattern->options_.textOptions.mainTitleApplyFunc, nullptr);
1150 ASSERT_EQ(titleBarPattern->options_.textOptions.subTitleApplyFunc, nullptr);
1157 options1.textOptions.mainTitleApplyFunc = [](WeakPtr<FrameNode> weakNode) {}; in __anon87bcaf3b0702()
1158 options1.textOptions.subTitleApplyFunc = [](WeakPtr<FrameNode> weakNode) {}; in __anon87bcaf3b0802()
1160 ASSERT_NE(titleBarPattern->options_.textOptions.mainTitleApplyFunc, nullptr);
1161 ASSERT_NE(titleBarPattern->options_.textOptions.subTitleApplyFunc, nullptr);
1173 ASSERT_EQ(titleBarPattern->options_.textOptions.mainTitleApplyFunc, nullptr);
1174 ASSERT_EQ(titleBarPattern->options_.textOptions.subTitleApplyFunc, nullptr);
1275 options.textOptions.subTitleApplyFunc = [&subTextNode](WeakPtr<FrameNode> weakNode) { in __anon87bcaf3b0d02()
1281 ASSERT_NE(titleBarPattern->options_.textOptions.mainTitleApplyFunc, nullptr);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dtitle_bar_pattern.cpp390 if (options_.textOptions.subTitleApplyFunc || shouldResetSubTitleProperty_) { in MountSubTitle()
449 if (options_.textOptions.mainTitleApplyFunc || shouldResetMainTitleProperty_) { in UpdateNavBarTitleProperty()
478 if (options_.textOptions.mainTitleApplyFunc || shouldResetMainTitleProperty_) { in UpdateNavDesTitleProperty()
655 if (options_.textOptions.mainTitleApplyFunc && titleNode) { in ApplyTitleModifierIfNeeded()
656 ApplyTitleModifier(titleNode, options_.textOptions.mainTitleApplyFunc, true); in ApplyTitleModifierIfNeeded()
659 if (options_.textOptions.subTitleApplyFunc && subtitleNode) { in ApplyTitleModifierIfNeeded()
660 ApplyTitleModifier(subtitleNode, options_.textOptions.subTitleApplyFunc, false); in ApplyTitleModifierIfNeeded()
1345 if (options_.textOptions.mainTitleApplyFunc && !opt.textOptions.mainTitleApplyFunc) { in SetTitlebarOptions()
1348 if (options_.textOptions.subTitleApplyFunc && !opt.textOptions.subTitleApplyFunc) { in SetTitlebarOptions()
H A Dnavigation_options.h73 NavigationTextOptions textOptions; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_navigation_utils.cpp199 ParseTextOptions(info, info[1], options.textOptions); in ParseTitleBarOptions()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_test_ng.cpp3251 ImageSpanOptions textOptions; variable
3252 textPattern->CreateImageSourceInfo(textOptions);
3253 textOptions.image = "textImage";
3254 textOptions.bundleName = "textBundleName";
3255 textOptions.moduleName = "textModuleName";
3256 textPattern->CreateImageSourceInfo(textOptions);
3257 EXPECT_TRUE(textOptions.image.has_value());
3258 EXPECT_TRUE(textOptions.bundleName.has_value());
3259 EXPECT_TRUE(textOptions.moduleName.has_value());