Home
last modified time | relevance | path

Searched defs:textWidth (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_font_test.cpp365 float textWidth = 0.f; variable
396 float textWidth = 0.f; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dbar_item_layout_algorithm.cpp62 auto textWidth = textWrapper->GetGeometryNode()->GetContentSize().Width(); in MeasureToolbarItemText() local
137 auto textWidth = geometryNode->GetFrameSize().Width(); in LayoutText() local
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_dialog.cpp415 uint16_t textWidth = 0; in MeasureMaxWidth() local
451 uint16_t textWidth = 0; in MeasureTextWidth() local
H A Dui_label.cpp49 void UpdateWidth(uint16_t textWidth, uint16_t labelWidth) in UpdateWidth()
363 void UILabel::RemeasureForMarquee(int16_t textWidth) in RemeasureForMarquee()
H A Dui_edit_text.cpp629 uint16_t textWidth = GetTextWidthByCursorIndex(cursorIndex_); in UpdateOffsetBySetCursorIndex() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/
H A Dmarquee_pattern.cpp196 auto textWidth = GetTextNodeWidth(); in PlayMarqueeAnimation() local
480 auto textWidth = textGeoNode->GetFrameSize().Width(); in CalculateStart() local
522 auto textWidth = textGeoNode->GetFrameSize().Width(); in CalculateEnd() local
629 auto textWidth = textGeoNode->GetFrameSize().Width(); in IsRunMarquee() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_text_field.cpp103 auto textWidth = static_cast<int32_t>(contentController_->GetWideText().length()); in ProcessSelection() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_font.cpp234 float* textWidth) in OH_Drawing_FontMeasureSingleCharacter()
250 OH_Drawing_TextEncoding encoding, OH_Drawing_Rect* bounds, float* textWidth) in OH_Drawing_FontMeasureText()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/marquee/
H A Drender_marquee.cpp372 auto textWidth = childText_->GetLayoutSize().Width(); in GetTextPosition() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkfont_fuzzer/
H A Dndkfont_fuzzer.cpp220 float textWidth; in NativeDrawingFontTest006() local
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dboot_compile_progress.cpp222 …auto textWidth = font.MeasureText(info, strlen(info), Rosen::Drawing::TextEncoding::UTF8, nullptr); in DrawCompileProgress() local
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dtext_tdd_test.cpp155 int textWidth = 0; in ComponentTextStyleSetOverflowTest003() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/
H A Dfont.cpp186 scalar textWidth = 0.0f; in MeasureSingleCharacter() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dcontent_controller.cpp194 auto textWidth = static_cast<int32_t>(GetWideText().length()); in FilterValue() local
H A Dtext_field_pattern.cpp338 auto textWidth = std::max(CalcDecoratorWidth(errorTextNode), frameSize.Width()); in CreateNodePaintMethod() local
354 auto textWidth = std::max(CalcDecoratorWidth(errorTextNode), frameSize.Width()); in CreateNodePaintMethod() local
2881 auto textWidth = static_cast<int32_t>(contentController_->GetWideText().length()); in ProcessSelection() local
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/measure/
H A Djs_measure.cpp234 double textWidth = delegate->MeasureText(context); in JSMeasureText() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_paint_method.cpp93 double textWidth = paragraph->GetMaxIntrinsicWidth(); in DrawCalendarText() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/utils/
H A Ddrag_animation_helper.cpp363 …int64_t textWidth = BADGE_DEFAULT_SIZE.ConvertToPx() + (BADGE_RELATIVE_OFFSET.ConvertToPx() * (bad… in UpdateBadgeLayoutAndRenderContext() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/
H A Dtoast_pattern.cpp186 auto textWidth = text->GetGeometryNode()->GetMarginFrameSize().Width(); in GetOffsetX() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_algorithm.cpp170 double textWidth = text_.width_; in ShrinkWidth() local
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dtext.cpp535 int16_t textWidth = TypedText::GetTextWidth(text_, fontId_, fontSize_, GetTextStrLen(), in GetPosXByLetterIndex() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Drosen_render_calendar.cpp100 double textWidth = paragraph->GetMaxIntrinsicWidth(); in GetTextParagraph() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.cpp988 double textWidth = paragraph_->GetMaxIntrinsicWidth(); local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_custom_paint.cpp848 double textWidth = 0.0; in MeasureTextSizeInner() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.cpp4925 auto textWidth = textGeometryNode->GetMarginFrameSize().Width(); in CalculateTooltipOffset() local

12