| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
| H A D | offscreen_canvas_pattern.cpp | 129 void OffscreenCanvasPattern::FillText(const std::string& text, double x, double y, std::optional<double> maxWidth) in FillText() argument 135 void OffscreenCanvasPattern::StrokeText(const std::string& text, double x, double y, std::optional<double> maxWidth) in StrokeText() argument 141 TextMetrics OffscreenCanvasPattern::MeasureTextMetrics(const std::string& text, const PaintState& state) in MeasureTextMetrics() argument
|
| /foundation/arkui/ace_engine/frameworks/core/components/option/ |
| H A D | render_option.cpp | 40 auto text = GetRenderText(child); in GetRenderText() local 699 auto text = data_->GetText(); in UpdateAccessibilityInfo() local 705 void RenderOption::LayoutText(const RefPtr<RenderText>& text) in LayoutText() argument 731 void RenderOption::LayoutTextImage(const RefPtr<RenderText>& text, cons argument 799 auto text = GetRenderText(AceType::Claim(this)); PerformLayout() local [all...] |
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
| H A D | js_tab_content.cpp | 141 std::string text; in SetTabBar() local 623 std::string text; in SetBottomTabBarStyle() local
|
| /foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
| H A D | rosen_render_calendar.cpp | 41 std::unique_ptr<txt::Paragraph> GetTextParagraph(const std::string& text, const txt::TextStyle& textStyle) in GetTextParagraph() argument 45 std::unique_ptr<Rosen::Typography> GetTextParagraph(const std::string& text, const Rosen::TextStyle& textStyle) in GetTextParagraph() argument 68 DrawCalendarText(RSCanvas* canvas, const std::string& text, const txt::TextStyle& textStyle, const Rect& boxRect, Rect& textRect) GetTextParagraph() argument 100 DrawCalendarText(RSCanvas* canvas, const std::string& text, const txt::TextStyle& textStyle, const Rect& boxRect) GetTextParagraph() argument [all...] |
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/ |
| H A D | canvas_rendering_context_2d_model_impl.cpp | 407 double CanvasRenderingContext2DModelImpl::GetMeasureTextWidth(const PaintState& state, const std::string& text) in GetMeasureTextWidth() argument 412 double CanvasRenderingContext2DModelImpl::GetMeasureTextHeight(const PaintState& state, const std::string& text) in GetMeasureTextHeight() argument 500 TextMetrics CanvasRenderingContext2DModelImpl::GetMeasureTextMetrics(const PaintState& state, const std::string& text) in GetMeasureTextMetrics() argument
|
| H A D | offscreen_canvas_rendering_context_2d_model_impl.cpp | 406 double OffscreenCanvasRenderingContext2DModelImpl::GetMeasureTextWidth(const PaintState& state, const std::string& text) in GetMeasureTextWidth() argument 411 GetMeasureTextHeight( const PaintState& state, const std::string& text) GetMeasureTextHeight() argument 501 GetMeasureTextMetrics( const PaintState& state, const std::string& text) GetMeasureTextMetrics() argument
|
| /foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
| H A D | canvas_renderer.cpp | 198 void NativeCanvasRenderer::FillText(const double x, const double y, const std::string& text) in FillText() argument 207 void NativeCanvasRenderer::StrokeText(const double x, const double y, const std::string& text) in StrokeText() argument 216 Metrics NativeCanvasRenderer::MeasureText(const std::string& text) in MeasureText() argument
|
| /foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
| H A D | utils.h | 608 inline int32_t ParseUtf8TextLength(std::string& text) in ParseUtf8TextLength() argument 621 inline int32_t ParseUtf8TextSubstrStartPos(std::string& text, int32_t targetPos) in ParseUtf8TextSubstrStartPos() argument 634 inline int32_t ParseUtf8TextSubstrEndPos(std::string& text, int32_t targetPos) in ParseUtf8TextSubstrEndPos() argument 647 HandleEscapeCharaterInUtf8TextForJson(std::string& text) HandleEscapeCharaterInUtf8TextForJson() argument [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components/chart/ |
| H A D | rosen_render_chart.cpp | 199 const TextInfo& text = point.GetTextInfo(); in PaintText() local
|
| /foundation/arkui/ace_engine/frameworks/component_test/core/ |
| H A D | component_test_component_impl.cpp | 123 void ComponentTestComponentImpl::InputTextImpl(std::string text, ErrInfo& errInfo) const in InputTextImpl() argument 247 bool GetTextByPattern(const RefPtr<NG::FrameNode>& frameNode, std::string& text) in GetTextByPattern() argument 268 bool GetTextByEventHub(const RefPtr<NG::FrameNode>& frameNode, std::string& text) in GetTextByEventHub() argument 287 GetTextByAccessibilityProperty(const RefPtr<NG::FrameNode>& frameNode, std::string& text) GetTextByAccessibilityProperty() argument 300 GetTextByLayoutProperty(const RefPtr<NG::FrameNode>& frameNode, std::string& text) GetTextByLayoutProperty() argument [all...] |
| /foundation/arkui/ace_engine/test/unittest/core/pattern/slider/ |
| H A D | slider_pattern_test_ng.cpp | 1409 std::string text, description; in HWTEST_F() local 1444 auto text = sliderPattern->GetPointAccessibilityTxt(item.first[0], item.first[1], item.first[2], item.first[3]); in HWTEST_F() local [all...] |
| /foundation/arkui/ace_engine/test/unittest/core/pattern/select/ |
| H A D | select_test_ng.cpp | 233 auto text = FrameNode::CreateFrameNode(V2::TEXT_ETS_TAG, 0, AceType::MakeRefPtr<TextPattern>()); in HWTEST_F() local 708 auto text = FrameNode::GetOrCreateFrameNode(V2::TEXT_ETS_TAG, ElementRegister::GetInstance()->MakeUniqueId(), HWTEST_F() local 753 auto text = FrameNode::GetOrCreateFrameNode(V2::TEXT_ETS_TAG, ElementRegister::GetInstance()->MakeUniqueId(), HWTEST_F() local 1852 auto text = FrameNode::CreateFrameNode(V2::TEXT_ETS_TAG, 0, AceType::MakeRefPtr<TextPattern>()); HWTEST_F() local [all...] |
| /foundation/arkui/ace_engine/test/unittest/core/pattern/button/ |
| H A D | button_test_ng.cpp | 584 auto text = AceType::DynamicCast<FrameNode>(frameNode->GetFirstChild()); in HWTEST_F() local 878 auto text = AceType::DynamicCast<FrameNode>(frameNode->GetFirstChild()); in HWTEST_F() local 928 auto text in HWTEST_F() local 984 auto text = AceType::DynamicCast<FrameNode>(frameNode->GetFirstChild()); HWTEST_F() local 1032 auto text = AceType::DynamicCast<FrameNode>(frameNode->GetFirstChild()); HWTEST_F() local [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
| H A D | text_select_controller.cpp | 353 int32_t TextSelectController::GetGraphemeClusterLength(const std::wstring& text, int32_t extend, bool checkPrev) in GetGraphemeClusterLength() argument
|
| H A D | text_field_event_hub.h | 77 void SetText(std::string text) in SetText() argument
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/ |
| H A D | security_component_layout_algorithm.cpp | 776 std::string text = ""; in GetTextDirection() local
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
| H A D | tab_content_model_ng.cpp | 104 auto text = tabTheme->GetDefaultTabBarName(); in CreateFrameNode() local 479 void TabContentModelNG::SetTabBar(const std::optional<std::string>& text, const std::optional<std::string>& icon, in SetTabBar() argument [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
| H A D | toast_pattern.cpp | 168 auto text = layoutWrapper->GetOrCreateChildByIndex(0); in GetOffsetX() local 194 auto text = layoutWrapper->GetOrCreateChildByIndex(0); in GetOffsetY() local 292 void ToastPattern::UpdateTextSizeConstraint(const RefPtr<FrameNode>& text) in UpdateTextSizeConstraint() argument [all...] |
| /foundation/arkui/ace_engine/interfaces/inner_api/ace/ |
| H A D | ui_content.h | 343 SearchElementInfosByText( int64_t elementId, const std::string& text, int64_t baseParent, std::list<Accessibility::AccessibilityElementInfo>& output) SearchElementInfosByText() argument
|
| /foundation/arkui/ace_engine/interfaces/native/node/ |
| H A D | native_node_extented.cpp | 726 void OH_ArkUI_AccessibilityValue_SetText(ArkUI_AccessibilityValue* value, const char* text) in OH_ArkUI_AccessibilityValue_SetText() argument
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
| H A D | accessibility_property.h | 73 virtual void SetText(const std::string& text) in SetText() argument 243 bool ActActionSetText(const std::string& text) in ActActionSetText() argument
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
| H A D | txt_paragraph.cpp | 122 void TxtParagraph::AddText(const std::u16string& text) in AddText() argument
|
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
| H A D | common_func.cpp | 324 bool text = false; in GetGZHeadValue() local
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
| H A D | span_string.cpp | 42 SpanString::SpanString(const std::string& text) in SpanString() argument 365 auto text = GetWideString(); in ChangeStartAndEndToCorrectNum() local 397 auto text in ChangeStartToCorrectNum() local 422 auto text = GetWideString(); ChangeEndToCorrectNum() local 580 GetDefaultSpanItem(const std::string& text) GetDefaultSpanItem() argument 588 SetString(const std::string& text) SetString() argument [all...] |
| /foundation/arkui/ui_lite/frameworks/components/ |
| H A D | ui_canvas.cpp | 1416 void UICanvas::StrokeText(const char* text, const Point& point, const FontStyle& fontStyle, const Paint& paint) in StrokeText() argument 1444 Point UICanvas::MeasureText(const char* text, const FontStyle& fontStyle) in MeasureText() argument 1497 Text* text in DoDrawText() local 646 DrawLabel(const Point& startPoint, const char* text, uint16_t maxWidth, const FontStyle& fontStyle, const Paint& paint) DrawLabel() argument [all...] |