/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_keyboard_shortcut_test_ng.cpp | 128 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 D | rich_editor_change_callback_test_ng.cpp | 187 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 D | rich_editor_base_test_ng.cpp | 376 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 D | rich_editor_test_ng.cpp | 836 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 D | rich_editor_overlay_test_ng.cpp | 1117 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 D | jsbundle_tdd_test.cpp | 115 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 D | title_bar_test_ng.cpp | 1149 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 D | title_bar_pattern.cpp | 390 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 D | navigation_options.h | 73 NavigationTextOptions textOptions; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_navigation_utils.cpp | 199 ParseTextOptions(info, info[1], options.textOptions); in ParseTitleBarOptions()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | text_test_ng.cpp | 3251 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());
|