/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | render_svg_text.cpp | 32 if (!textComponent) { in Update() 36 x_ = textComponent->GetX(); in Update() 37 y_ = textComponent->GetY(); in Update() 38 dx_ = textComponent->GetDx(); in Update() 39 dy_ = textComponent->GetDy(); in Update() 40 hasX_ = textComponent->GetHasX(); in Update() 41 hasY_ = textComponent->GetHasY(); in Update() 42 textData_ = textComponent->GetTextData(); in Update() 43 rotate_ = textComponent->GetRotate(); in Update() 52 if (!textComponent) { in PrepareAnimations() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | text_tdd_test.cpp | 46 UILabel* uilabelView = reinterpret_cast<UILabel *>(textComponent->GetComponentRootView()); in ComponentTextAttributeSetValueTest001() 64 UpdateCharAttributeOrStyleValue(textComponent, "value", expectTextValue2, true); in ComponentTextAttributeSetValueTest001() 76 UpdateNumAttributeOrStyleValue(textComponent, "value", expectTextIntValue, true); in ComponentTextAttributeSetValueTest001() 102 UILabel* uilabelView = reinterpret_cast<UILabel *>(textComponent->GetComponentRootView()); in ComponentTextStyleSetColorTest002() 121 UpdateNumAttributeOrStyleValue(textComponent, colorStr, expectColorValue2, false); in ComponentTextStyleSetColorTest002() 133 UpdateNumAttributeOrStyleValue(textComponent, colorStr, expectColorValue3, false); in ComponentTextStyleSetColorTest002() 189 UpdateCharAttributeOrStyleValue(textComponent, textOverflow, expectOverflowBreak, false); in ComponentTextStyleSetOverflowTest003() 296 UpdateCharAttributeOrStyleValue(textComponent, textAlign, expectRightAlign, false); in ComponentTextStyleSetAlignTest005() 308 UpdateCharAttributeOrStyleValue(textComponent, textAlign, expectCenterAlign, false); in ComponentTextStyleSetAlignTest005() 359 UpdateNumAttributeOrStyleValue(textComponent, textSize, expectVidaLargerSize, false); in ComponentTextStyleSetSizeFamilyTest006() [all …]
|
H A D | text_tdd_exception_test.cpp | 44 …Component* textComponent = reinterpret_cast<TextComponent *>(GetRenderedComponent(componentNameId_… in ComponentTextStyleSetExceptionTest007() local 54 UpdateCharAttributeOrStyleValue(textComponent, textOverflow, expectOverflowException, false); in ComponentTextStyleSetExceptionTest007() 62 …UpdateCharAttributeOrStyleValue(textComponent, letterSpacingStr, expectletterSpacingStrValue, fals… in ComponentTextStyleSetExceptionTest007() 70 UpdateCharAttributeOrStyleValue(textComponent, textAlign, expectALignException, false); in ComponentTextStyleSetExceptionTest007()
|
H A D | jsbundle_tdd_test.cpp | 95 Component *textComponent = ComponentUtils::GetComponentFromBindingObject(el); in CreateElementAttributeLength002() local 96 if (textComponent != nullptr) { in CreateElementAttributeLength002() 97 textComponent->OnViewAttached(); in CreateElementAttributeLength002() 132 Component *textComponent = ComponentUtils::GetComponentFromBindingObject(textEl); in CreateElementAttributeLength003() local 135 if (textComponent == nullptr || divComponent == nullptr || in CreateElementAttributeLength003() 141 Component::BuildViewTree(textComponent, divComponent, divContentParameter); in CreateElementAttributeLength003() 178 Component *textComponent = ComponentUtils::GetComponentFromBindingObject(textEl); in CreateElementAttributeLength004() local 181 if (textComponent == nullptr || divComponent == nullptr || in CreateElementAttributeLength004() 187 Component::BuildViewTree(textComponent, divComponent, divContentParameter); in CreateElementAttributeLength004()
|
H A D | opacity_tdd_test.cpp | 186 …Component* textComponent = reinterpret_cast<TextComponent *>(GetRenderedComponent(textComponentNam… in SetOpacityTest005() local 187 UILabel* uiLabel = reinterpret_cast<UILabel *>(textComponent->GetComponentRootView()); in SetOpacityTest005()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | button_model_impl.cpp | 28 auto textComponent = GetTextComponent(); in SetFontSize() local 29 if (textComponent) { in SetFontSize() 48 auto textComponent = GetTextComponent(); in SetFontWeight() local 49 if (textComponent) { in SetFontWeight() 58 auto textComponent = GetTextComponent(); in SetFontStyle() local 59 if (textComponent) { in SetFontStyle() 68 auto textComponent = GetTextComponent(); in SetFontFamily() local 69 if (textComponent) { in SetFontFamily() 79 if (textComponent) { in SetFontColor() 118 padding->SetChild(textComponent); in CreateWithLabel() [all …]
|
H A D | text_model_impl.cpp | 31 auto textComponent = AceType::MakeRefPtr<TextComponentV2>(content); in Create() local 32 ViewStackProcessor::GetInstance()->ClaimElementId(textComponent); in Create() 33 ViewStackProcessor::GetInstance()->Push(textComponent); in Create() 42 auto textStyle = textComponent->GetTextStyle(); in Create() 46 textComponent->SetTextStyle(textStyle); in Create() 305 auto textComponent = GetComponent(); in SetRemoteMessage() local 306 CHECK_NULL_VOID(textComponent); in SetRemoteMessage() 307 textComponent->SetRemoteMessageEvent(EventMarker(std::move(event))); in SetRemoteMessage()
|
H A D | select_model_impl.cpp | 41 auto textComponent = AceType::MakeRefPtr<OHOS::Ace::TextComponent>(params[i].text); in Create() local 46 optionComponent->SetText(textComponent); in Create()
|
H A D | view_abstract_model_impl.cpp | 1479 auto textComponent = AceType::MakeRefPtr<OHOS::Ace::TextComponent>(param.value); in CreateMenuEventWithParams() local 1483 optionComponent->SetText(textComponent); in CreateMenuEventWithParams()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/hyperlink/ |
H A D | render_hyperlink.cpp | 107 auto textComponent = AceType::DynamicCast<TextComponent>(node); in SetImageChildColor() local 112 if (textComponent) { in SetImageChildColor() 113 auto textStyle = textComponent->GetTextStyle(); in SetImageChildColor() 115 textComponent->SetTextStyle(std::move(textStyle)); in SetImageChildColor()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | tab_bar_item_component.cpp | 115 auto textComponent = AceType::MakeRefPtr<TextComponent>(textStr); in BuildWithTextIcon() local 116 auto textStyle = textComponent->GetTextStyle(); in BuildWithTextIcon() 120 textComponent->SetTextStyle(textStyle); in BuildWithTextIcon() 123 children.emplace_back(textComponent); in BuildWithTextIcon()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | tab_bar_component.cpp | 58 Component* textComponent = ComponentUtils::GetComponentFromBindingObject(childHandler); in GetTextByIndex() local 59 if (textComponent == nullptr) { in GetTextByIndex() 63 if (textComponent->GetComponentName() == K_TEXT) { in GetTextByIndex() 64 UIView* view = textComponent->GetComponentRootView(); in GetTextByIndex()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/button/ |
H A D | button_component.cpp | 62 auto textComponent = AceType::MakeRefPtr<TextComponent>(text); in Build() local 64 padding->SetChild(textComponent); in Build() 65 Component::MergeRSNode(padding, textComponent); in Build() 75 textComponent->SetFocusColor(textFocusColor); in Build() 77 textComponent->SetFocusColor(buttonTheme->GetTextFocusColor()); in Build() 79 textComponent->SetTextStyle(textStyle); in Build()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/clock/ |
H A D | render_clock.cpp | 66 auto textComponent = AceType::MakeRefPtr<TextComponent>(digitStr); in RenderClock() local 70 digitComponentNodes_.emplace_back(textComponent); in RenderClock() 244 const auto& textComponent = digitComponentNodes_[i]; in UpdateRenderText() local 245 textComponent->SetTextStyle(textStyle); in UpdateRenderText() 246 textComponent->SetFocusColor(digitColor); in UpdateRenderText() 248 digitRenderNodes_[i]->Update(textComponent); in UpdateRenderText()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/counter/ |
H A D | counter_component.cpp | 97 auto textComponent = AceType::MakeRefPtr<TextComponent>(content); in BuildControl() local 98 textComponent->SetTextStyle(counterTheme->GetContentTextStyle()); in BuildControl() 99 buttonChildren.emplace_back(textComponent); in BuildControl()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/container_modal/ |
H A D | container_modal_element.cpp | 534 auto textComponent = containerModalComponent_->GetTitleLabel(); in SetAppTitle() local 535 CHECK_NULL_VOID(textComponent); in SetAppTitle() 536 if (textComponent->GetData() == title) { in SetAppTitle() 540 textComponent->SetData(title); in SetAppTitle() 544 renderTitle->Update(textComponent); in SetAppTitle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | calendar_element.cpp | 125 auto textComponent = AceType::MakeRefPtr<TextComponent>(date); in RegisterChangeEndListener() local 133 textComponent->SetTextStyle(style); in RegisterChangeEndListener() 134 renderText->Update(textComponent); in RegisterChangeEndListener()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stepper/ |
H A D | render_stepper.cpp | 256 buttonData.textComponent = AceType::MakeRefPtr<TextComponent>(""); in InitHotArea() 257 buttonData.textComponent->SetData(buttonData.text); in InitHotArea() 259 …buttonData.textRender = AceType::DynamicCast<RenderText>(buttonData.textComponent->CreateRenderNod… in InitHotArea() 262 buttonData.textRender->Update(buttonData.textComponent); in InitHotArea() 344 buttonData.textComponent->SetData(buttonData.text); in UpdateButton() 346 buttonData.textComponent->SetTextStyle(textStyles_[currentIndex_]); in UpdateButton() 347 buttonData.textRender->Update(buttonData.textComponent); in UpdateButton()
|
H A D | render_stepper.h | 69 RefPtr<TextComponent> textComponent; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/search/ |
H A D | render_search.cpp | 265 const auto& textComponent = AceType::MakeRefPtr<TextComponent>(searchText); in CreateRenderButton() local 271 textComponent->SetTextStyle(textStyle); in CreateRenderButton() 272 auto renderText = AceType::DynamicCast<RenderText>(textComponent->CreateRenderNode()); in CreateRenderButton() 277 renderText->Update(textComponent); in CreateRenderButton()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_tool_bar_item.cpp | 260 RefPtr<TextComponent> textComponent = AceType::MakeRefPtr<TextComponent>(value_); in BuildOptionComponent() local 264 optionComponent->SetText(textComponent); in BuildOptionComponent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/ |
H A D | rosen_render_swiper.cpp | 243 RefPtr<TextComponent> textComponent = AceType::MakeRefPtr<TextComponent>(indicatorText); in LayoutDigitalIndicator() local 244 renderDigitalIndicator_ = AceType::DynamicCast<RenderText>(textComponent->CreateRenderNode()); in LayoutDigitalIndicator() 247 textComponent->SetTextStyle(textStyle); in LayoutDigitalIndicator() 249 renderDigitalIndicator_->Update(textComponent); in LayoutDigitalIndicator()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | text_overlay_component.cpp | 399 auto textComponent = AceType::MakeRefPtr<TextComponent>(text); in BuildMenuOption() local 400 optionComponent->SetText(textComponent); in BuildMenuOption()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | render_web.cpp | 1272 auto textComponent = AceType::MakeRefPtr<TextComponent>(value); in BuildSelectMenu() local 1273 optionComponent->SetText(textComponent); in BuildSelectMenu()
|